瀏覽代碼

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 <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Simon Glass 13 年之前
父節點
當前提交
831a077f11
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      board/nvidia/common/board.c

+ 3 - 0
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();