DORMANTno replies

[PATCH] ARM: on a generic DT system: do not touch l2x0

From: Linus Walleij <hidden>
Date: 2014-09-08 11:27:41
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

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>
Cc: Russell King <redacted>
Signed-off-by: Linus Walleij <redacted>
---
 arch/arm/kernel/devtree.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c
index 11c54de9f8cf..d989c0c2b221 100644
--- a/arch/arm/kernel/devtree.c
+++ b/arch/arm/kernel/devtree.c
@@ -207,6 +207,8 @@ const struct machine_desc * __init setup_machine_fdt(unsigned int dt_phys)
 
 #ifdef CONFIG_ARCH_MULTIPLATFORM
 	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;
-- 
1.9.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help