From 9c67352f727a5b5eff531c852f9cff59fcb17f7f Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sun, 26 Jul 2009 23:28:02 +0200 Subject: Revert "ppc: Unlock cache-as-ram in a consistent manner" This reverts commit 982adfc610669482a32127282fe489857a92cfe3. This patch causes problems on MPC83xx boards - flash recognition stops working. Signed-off-by: Wolfgang Denk --- lib_ppc/bootm.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib_ppc/bootm.c') diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c index e7d2c9835..0d702bf25 100644 --- a/lib_ppc/bootm.c +++ b/lib_ppc/bootm.c @@ -38,6 +38,11 @@ #include #include #include + +#endif + +#ifdef CONFIG_SYS_INIT_RAM_LOCK +#include #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 */ /* -- cgit v1.2.3