Commit ed1587d0 authored by Guo Yi's avatar Guo Yi Committed by Manish Pandey
Browse files

plat: marvell: armada: a8k: Fix LD selector mask



Fixed a bug that the actually bit number was used as a mask to
select LD0 or LD1 fuse
Signed-off-by: default avatarGuo Yi <yguo@cavium.com>
Change-Id: I4bec268c3dc2566350b4a73f655bce222707e25b
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/boot/atf/+/46146

Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarKostya Porotchkin <kostap@marvell.com>
parent 718dbcac
......@@ -383,7 +383,7 @@ static void ble_plat_svc_config(void)
/* Set access to LD0 */
reg_val = mmio_read_32(MVEBU_AP_EFUSE_SRV_CTRL_REG);
reg_val &= ~EFUSE_SRV_CTRL_LD_SELECT_OFFS;
reg_val &= ~EFUSE_SRV_CTRL_LD_SEL_USER_MASK;
mmio_write_32(MVEBU_AP_EFUSE_SRV_CTRL_REG, reg_val);
/* Obtain the value of LD0[125:63] */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment