]> git.sur5r.net Git - u-boot/commitdiff
tegra2: Enable instruction cache
authorSimon Glass <sjg@chromium.org>
Sat, 5 Nov 2011 03:56:52 +0000 (03:56 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 9 Dec 2011 16:30:09 +0000 (17:30 +0100)
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@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/nvidia/common/board.c

index 56850cc8b5e0a48b01d832a5f23d79ef0777d294..c806a6b3cb2ce0e53500223df34e252b1aed0187 100644 (file)
@@ -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();