Commit 27b6a450 authored by Ye Li's avatar Ye Li Committed by Stefano Babic
Browse files

imx8ulp: Use DGO_GP5 to get boot config

Since CMC1 MR0 only reflects high 16 bits boot cfg used for AP domian,
it does not connect to low 16 bits for RTD. So we can't get the correct
boot mode.
Change to use DGO_GP5 of SEC_SIM which is set by ROM.
Signed-off-by: default avatarYe Li <>
parent 8a58897e
......@@ -120,7 +120,7 @@ enum bt_mode get_boot_mode(void)
u32 bt0_cfg = 0;
bt0_cfg = readl(CMC1_BASE_ADDR + 0xa0);
bt0_cfg = readl(SIM_SEC_BASE_ADDR + 0x24);
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