summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/devtree.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-04-04 10:22:28 +0200
committerRussell King <rmk+kernel@armlinux.org.uk>2016-06-22 20:55:12 +0200
commitcb6f8344f8780d75929c6a20f1f094d2585003f4 (patch)
tree9cf11864c09828f8686caf5d39de2ee8173b4091 /arch/arm/kernel/devtree.c
parentARM: uaccess: remove put_user() code duplication (diff)
downloadlinux-cb6f8344f8780d75929c6a20f1f094d2585003f4.tar.xz
linux-cb6f8344f8780d75929c6a20f1f094d2585003f4.zip
ARM: 8556/1: on a generic DT system: do not touch l2x0
Set no bits, mask all bits in the AUX l2x0 register for the default DT ARM system: if anything needs to be modified, it should be done using DT bindings. Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/devtree.c')
-rw-r--r--arch/arm/kernel/devtree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c
index 2e26016a91a5..f8966bb25f9d 100644
--- a/arch/arm/kernel/devtree.c
+++ b/arch/arm/kernel/devtree.c
@@ -213,6 +213,8 @@ const struct machine_desc * __init setup_machine_fdt(unsigned int dt_phys)
#if defined(CONFIG_ARCH_MULTIPLATFORM) || defined(CONFIG_ARM_SINGLE_ARMV7M)
DT_MACHINE_START(GENERIC_DT, "Generic DT based system")
+ .l2c_aux_val = 0x0,
+ .l2c_aux_mask = ~0x0,
MACHINE_END
mdesc_best = &__mach_desc_GENERIC_DT;