projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
744c5fd
)
arm: imx8ulp: soc: Change to use CMC1 to get bootcfg
author
Ye Li
<ye.li@nxp.com>
Sat, 7 Aug 2021 08:00:47 +0000
(16:00 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Mon, 9 Aug 2021 12:46:51 +0000
(14:46 +0200)
CMC1 also has a MR register for bootcfg
Signed-off-by: Ye Li <ye.li@nxp.com>
arch/arm/mach-imx/imx8ulp/soc.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/imx8ulp/soc.c
b/arch/arm/mach-imx/imx8ulp/soc.c
index 6f4b50638695c9c6dcb5a1ee31a9fbd63d75ff45..cddcdc2d20dfcf09969ea2f276e29eae8ce51959 100644
(file)
--- a/
arch/arm/mach-imx/imx8ulp/soc.c
+++ b/
arch/arm/mach-imx/imx8ulp/soc.c
@@
-23,7
+23,7
@@
enum bt_mode get_boot_mode(void)
{
u32 bt0_cfg = 0;
- bt0_cfg = readl(CMC
0_RBASE + 0x8
0);
+ bt0_cfg = readl(CMC
1_BASE_ADDR + 0xa
0);
bt0_cfg &= (BT0CFG_LPBOOT_MASK | BT0CFG_DUALBOOT_MASK);
if (!(bt0_cfg & BT0CFG_LPBOOT_MASK)) {