summaryrefslogtreecommitdiffstats
path: root/lib_ppc
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2006-02-10 15:40:06 -0600
committerKumar Gala <galak@kernel.crashing.org>2006-02-10 15:40:06 -0600
commit2688e2f972bd124be87cb86bce58aa1b186b5aa7 (patch)
tree20d2f635adf2854ff07abb84624927428b767a6d /lib_ppc
parentc99f384dce49b0c35ddf61eb5e0cde9fbab51a3b (diff)
downloadbarebox-2688e2f972bd124be87cb86bce58aa1b186b5aa7.tar.gz
barebox-2688e2f972bd124be87cb86bce58aa1b186b5aa7.tar.xz
Enable address translation on MPC83xx
Patch by Kumar Gala, 10 Feb 2006
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index f40bb253b8..e569e97db9 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -670,7 +670,8 @@ void board_init_r (gd_t *id, ulong dest_addr)
WATCHDOG_RESET();
-#if defined(CONFIG_IP860) || defined(CONFIG_PCU_E) || defined (CONFIG_FLAGADM)
+#if defined(CONFIG_IP860) || defined(CONFIG_PCU_E) || \
+ defined (CONFIG_FLAGADM) || defined(CONFIG_MPC83XX)
icache_enable (); /* it's time to enable the instruction cache */
#endif