[PATCH 02/12] ARM: rpi_b: enable CONFIG_ARCH_CPU_INIT for icache

Stephen Warren swarren at wwwdotorg.org
Tue Jul 3 22:02:45 EDT 2012


This causes arch_cpu_init() to be called, which enables the icache.

Extracted from work by Oleksandr Tymoshenko <gonzo at bluezbox.com>.

Signed-off-by: Stephen Warren <swarren at wwwdotorg.org>
---
 include/configs/rpi_b.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h
index f547027..8bdd014 100644
--- a/include/configs/rpi_b.h
+++ b/include/configs/rpi_b.h
@@ -22,6 +22,7 @@
 /* Architecture, CPU, etc.*/
 #define CONFIG_ARM1176
 #define CONFIG_BCM2835
+#define CONFIG_ARCH_CPU_INIT
 
 /* Timer */
 #define CONFIG_SYS_HZ			1000000
-- 
1.7.9.5




More information about the linux-rpi-kernel mailing list