Commit 981f040a authored by Ye Li's avatar Ye Li Committed by Stefano Babic
Browse files

arm: imx8ulp: soc: Change to use CMC1 to get bootcfg



CMC1 also has a MR register for bootcfg
Signed-off-by: default avatarYe Li <ye.li@nxp.com>
parent 744c5fde
......@@ -23,7 +23,7 @@ enum bt_mode get_boot_mode(void)
{
u32 bt0_cfg = 0;
bt0_cfg = readl(CMC0_RBASE + 0x80);
bt0_cfg = readl(CMC1_BASE_ADDR + 0xa0);
bt0_cfg &= (BT0CFG_LPBOOT_MASK | BT0CFG_DUALBOOT_MASK);
if (!(bt0_cfg & BT0CFG_LPBOOT_MASK)) {
......
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