Patchwork [U-Boot,02/12] ARM: rpi_b: enable CONFIG_ARCH_CPU_INIT for icache

login
register
mail settings
Submitter Stephen Warren
Date July 4, 2012, 2:02 a.m.
Message ID <1341367375-11467-3-git-send-email-swarren@wwwdotorg.org>
Download mbox | patch
Permalink /patch/168868/
State Changes Requested
Delegated to: Tom Rini
Headers show

Comments

Stephen Warren - July 4, 2012, 2:02 a.m.
This causes arch_cpu_init() to be called, which enables the icache.

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

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

Patch

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