diff options
author | Pali Rohár | 2022-09-08 16:06:52 +0200 |
---|---|---|
committer | Stefan Roese | 2022-09-13 09:04:22 +0200 |
commit | a7199f4493fed97baee5a50b273369b055f5abca (patch) | |
tree | c64145ff51f0864ba8df9a79c68ef831240cf52f /arch/arm/mach-mvebu | |
parent | 2a0d9ae414b4b2b38f6ada2d7a7134d7f31cff41 (diff) |
arm: mvebu: lowlevel.S: Use CR_M from asm/system.h
Replace magic constant 1 when disabling MMU by macro CR_M from include
header file asm/system.h.
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/mach-mvebu')
-rw-r--r-- | arch/arm/mach-mvebu/lowlevel.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/lowlevel.S b/arch/arm/mach-mvebu/lowlevel.S index 2491310eb0c..b460382c6ba 100644 --- a/arch/arm/mach-mvebu/lowlevel.S +++ b/arch/arm/mach-mvebu/lowlevel.S @@ -2,6 +2,7 @@ #include <config.h> #include <linux/linkage.h> +#include <asm/system.h> ENTRY(arch_very_early_init) #ifdef CONFIG_ARMADA_38X @@ -12,7 +13,7 @@ ENTRY(arch_very_early_init) * still locked to cache. */ mrc p15, 0, r0, c1, c0, 0 - bic r0, #1 + bic r0, #CR_M mcr p15, 0, r0, c1, c0, 0 #endif |