ARM: 8556/1: on a generic DT system: do not touch l2x0
authorLinus Walleij <[email protected]>
Mon, 4 Apr 2016 08:22:28 +0000 (09:22 +0100)
committerRussell King <[email protected]>
Wed, 22 Jun 2016 18:55:12 +0000 (19:55 +0100)
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 <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Russell King <[email protected]>
arch/arm/kernel/devtree.c

index 2e26016a91a57116b9956973a19bb4aba723fc04..f8966bb25f9d9c05bdf0d30bd7f15ac8fb7e8d5b 100644 (file)
@@ -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;