summaryrefslogtreecommitdiffstats
path: root/lib_ppc/bootm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_ppc/bootm.c')
-rw-r--r--lib_ppc/bootm.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c
index e7d2c98353..0d702bf251 100644
--- a/lib_ppc/bootm.c
+++ b/lib_ppc/bootm.c
@@ -38,6 +38,11 @@
#include <fdt.h>
#include <libfdt.h>
#include <fdt_support.h>
+
+#endif
+
+#ifdef CONFIG_SYS_INIT_RAM_LOCK
+#include <asm/cache.h>
#endif
DECLARE_GLOBAL_DATA_PTR;
@@ -66,6 +71,10 @@ static void boot_jump_linux(bootm_headers_t *images)
show_boot_progress (15);
+#if defined(CONFIG_SYS_INIT_RAM_LOCK) && !defined(CONFIG_E500)
+ unlock_ram_in_cache();
+#endif
+
#if defined(CONFIG_OF_LIBFDT)
if (of_flat_tree) { /* device tree; boot new style */
/*
OpenPOWER on IntegriCloud