summaryrefslogtreecommitdiff
path: root/common/cmd_bootm.c
diff options
context:
space:
mode:
authorHaiying Wang <haiying.wang@freescale.com>2006-08-15 15:12:55 -0400
committerJon Loeliger <jdl@freescale.com>2006-08-17 11:00:27 -0500
commit1c8f6d8fb028f156094d05f2d14298e6479364ac (patch)
treed749b471a21ae791759507bcbf25baae72d52596 /common/cmd_bootm.c
parent0d9ccc55edf9a7f3c5b2b6263580a6ea8d702a04 (diff)
downloadu-boot-imx-1c8f6d8fb028f156094d05f2d14298e6479364ac.zip
u-boot-imx-1c8f6d8fb028f156094d05f2d14298e6479364ac.tar.gz
u-boot-imx-1c8f6d8fb028f156094d05f2d14298e6479364ac.tar.bz2
Unlock cache before kernel starts up for MPC86xx
Diffstat (limited to 'common/cmd_bootm.c')
-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 0225cb7..f1c0eb4 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -821,7 +821,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
#ifndef CONFIG_OF_FLAT_TREE
-#if defined(CFG_INIT_RAM_LOCK) && (!defined(CONFIG_E500) || !defined(CONFIG_MPC86xx))
+#if defined(CFG_INIT_RAM_LOCK) && !defined(CONFIG_E500)
unlock_ram_in_cache();
#endif
@@ -839,7 +839,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
ft_setup(of_flat_tree, kbd, initrd_start, initrd_end);
/* ft_dump_blob(of_flat_tree); */
-#if defined(CFG_INIT_RAM_LOCK) && (!defined(CONFIG_E500)||!defined(CONFIG_MPC86xx))
+#if defined(CFG_INIT_RAM_LOCK) && !defined(CONFIG_E500)
unlock_ram_in_cache();
#endif
/*