Commit dde31a14 authored by Claudius Heine's avatar Claudius Heine Committed by Stefano Babic
Browse files

ARM: imx: Use IMX6_SRC_GPR10_BMODE instead of magic number


Signed-off-by: Claudius Heine's avatarClaudius Heine <ch@denx.de>
parent e01c8cfe
......@@ -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
......
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