From: Simon Glass Date: Sat, 5 Nov 2011 03:56:52 +0000 (+0000) Subject: tegra2: Enable instruction cache X-Git-Tag: v2011.12-rc1~28^2~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=831a077f11869dfc33ca2316a4bdeba203e8ce60;p=oweals%2Fu-boot.git tegra2: Enable instruction cache 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 Signed-off-by: Tom Warren --- diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index 56850cc8b5..c806a6b3cb 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();