summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
authorHaiying Wang <Haiying.Wang@freescale.com>2006-05-10 09:38:06 -0500
committerJon Loeliger <jdl@freescale.com>2006-05-10 09:38:06 -0500
commit6cfea33477b04b63ed47386ed1629529484c33ba (patch)
treea723b6fcfbe2e7ae6b41e97ca8e5106db3b1c184 /lib_ppc
parentd4dd317b58c126a2a7e73f4764ecc1a7c97f876c (diff)
downloadu-boot-6cfea33477b04b63ed47386ed1629529484c33ba.tar.gz
Remove unneeded INIT_RAM_LOCK cache twiddling.
Correctly tracks r29 as global data pointer now. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 126102bf96..c367b3ef9f 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -676,7 +676,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
icache_enable (); /* it's time to enable the instruction cache */
#endif
-#if defined(CFG_INIT_RAM_LOCK) && defined(CONFIG_E500)
+#if defined(CFG_INIT_RAM_LOCK) && (defined(CONFIG_E500) || defined(CONFIG_MPC86xx))
unlock_ram_in_cache(); /* it's time to unlock D-cache in e500 */
#endif