summaryrefslogtreecommitdiff
path: root/common
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 /common
parentd4dd317b58c126a2a7e73f4764ecc1a7c97f876c (diff)
downloadu-boot-imx-6cfea33477b04b63ed47386ed1629529484c33ba.zip
u-boot-imx-6cfea33477b04b63ed47386ed1629529484c33ba.tar.gz
u-boot-imx-6cfea33477b04b63ed47386ed1629529484c33ba.tar.bz2
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 'common')
-rw-r--r--common/cmd_bootm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index fdf7180..e5d70fa 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -809,7 +809,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
#ifndef CONFIG_OF_FLAT_TREE
-#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();
#endif
@@ -827,7 +827,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
ft_setup(of_flat_tree, OF_FLAT_TREE_MAX_SIZE, kbd, initrd_start, initrd_end);
/* ft_dump_blob(of_flat_tree); */
-#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();
#endif
/*