[U-Boot] [PATCH v4 4/9] tegra2: Enable instruction cache

Simon Glass sjg at chromium.org
Sat Nov 5 14:56:52 CET 2011


Since low-level init is skipped, the instruction cache is never enabled on
Tegra2. This explicitly calls this initialization as soon as the A9 is
initialized.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 board/nvidia/common/board.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
index 56850cc..c806a6b 100644
--- a/board/nvidia/common/board.c
+++ b/board/nvidia/common/board.c
@@ -114,6 +114,9 @@ int board_init(void)
 #ifdef CONFIG_BOARD_EARLY_INIT_F
 int board_early_init_f(void)
 {
+	/* We didn't do this init in start.S, so do it now */
+	cpu_init_cp15();
+
 	/* Initialize essential common plls */
 	clock_early_init();
 
-- 
1.7.3.1



More information about the U-Boot mailing list