From 4a1f9ec5ad11c6b51fabf6c05908736b0f498401 Mon Sep 17 00:00:00 2001 From: wdenk Date: Wed, 28 Nov 2001 16:02:15 +0000 Subject: [PATCH] Change cache initialization for FLAGADM board --- common/board.c | 2 +- cpu/mpc8xx/start.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/board.c b/common/board.c index 6542e3e..270f034 100644 --- a/common/board.c +++ b/common/board.c @@ -579,7 +579,7 @@ void board_init_r (bd_t *bd, ulong dest_addr) WATCHDOG_RESET(); -#if defined(CONFIG_IP860) || defined(CONFIG_PCU_E) +#if defined(CONFIG_IP860) || defined(CONFIG_PCU_E) || defined (CONFIG_FLAGADM)) icache_enable(); /* it's time to enable the instruction cache */ #endif diff --git a/cpu/mpc8xx/start.S b/cpu/mpc8xx/start.S index f59b335..66a35e9 100644 --- a/cpu/mpc8xx/start.S +++ b/cpu/mpc8xx/start.S @@ -143,7 +143,7 @@ boot_warm: lis r3, IDC_DISABLE@h /* Disable data cache */ mtspr DC_CST, r3 -#if !(defined(CONFIG_IP860) || defined(CONFIG_PCU_E)) +#if !(defined(CONFIG_IP860) || defined(CONFIG_PCU_E) || defined (CONFIG_FLAGADM)) /* On IP860 and PCU E, * we cannot enable IC yet */ -- 2.51.0