]> git.sur5r.net Git - u-boot/blobdiff - lib_ppc/bootm.c
ppc: Unlock cache-as-ram in a consistent manner
[u-boot] / lib_ppc / bootm.c
index 0d702bf25178670c2689006d17083c6fa2452ee3..e7d2c983537dbb63b456a0db3a53bb198821dbd8 100644 (file)
 #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;
@@ -71,10 +66,6 @@ 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 */
                /*