mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
ARM: imx: Use IMX6_SRC_GPR10_BMODE instead of magic number
Signed-off-by: Claudius Heine <ch@denx.de>
This commit is contained in:
parent
e01c8cfe57
commit
dde31a14ec
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue