projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
imx8ulp: Use DGO_GP5 to get boot config
[platform/kernel/u-boot.git]
/
arch
/
arm
/
mach-imx
/
imx8ulp
/
soc.c
diff --git
a/arch/arm/mach-imx/imx8ulp/soc.c
b/arch/arm/mach-imx/imx8ulp/soc.c
index
9bdbe3c
..
96d6569
100644
(file)
--- a/
arch/arm/mach-imx/imx8ulp/soc.c
+++ b/
arch/arm/mach-imx/imx8ulp/soc.c
@@
-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
);
bt0_cfg &= (BT0CFG_LPBOOT_MASK | BT0CFG_DUALBOOT_MASK);
if (!(bt0_cfg & BT0CFG_LPBOOT_MASK)) {