diff options
author | Claudius Heine <ch@denx.de> | 2019-10-29 13:08:44 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-11-03 17:04:16 +0100 |
commit | dde31a14ec72b4b6f8cdec1e8bbe4ac6077d8253 (patch) | |
tree | f71e6e5986b0899b52946d041ebc47c985e78bb0 /arch/arm/mach-imx | |
parent | e01c8cfe5769353f520fe99db80dd588fa357f44 (diff) |
ARM: imx: Use IMX6_SRC_GPR10_BMODE instead of magic number
Signed-off-by: Claudius Heine <ch@denx.de>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/init.c b/arch/arm/mach-imx/init.c index d18e3c740a2..693b7244299 100644 --- 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 |