projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e01c8cf
)
ARM: imx: Use IMX6_SRC_GPR10_BMODE instead of magic number
author
Claudius Heine
<ch@denx.de>
Tue, 29 Oct 2019 12:08:44 +0000
(13:08 +0100)
committer
Stefano Babic
<sbabic@denx.de>
Sun, 3 Nov 2019 16:04:16 +0000
(17:04 +0100)
Signed-off-by: Claudius Heine <ch@denx.de>
arch/arm/mach-imx/init.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/init.c
b/arch/arm/mach-imx/init.c
index d18e3c740a2e59863b664439df970663da73c4c0..693b724429944e80ef29bc050cfb05cd8e508af5 100644
(file)
--- a/
arch/arm/mach-imx/init.c
+++ b/
arch/arm/mach-imx/init.c
@@
-108,9
+108,9
@@
void boot_mode_apply(unsigned cfg_val)
writel(cfg_val, &psrc->gpr9);
reg = readl(&psrc->gpr10);
if (cfg_val)
- reg |=
1 << 28
;
+ reg |=
IMX6_SRC_GPR10_BMODE
;
else
- reg &= ~
(1 << 28)
;
+ reg &= ~
IMX6_SRC_GPR10_BMODE
;
writel(reg, &psrc->gpr10);
}
#endif