From e7f325be9edeb84bb457301776bbac1f7257dafc Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Mon, 5 Jan 2009 13:35:31 +0100 Subject: microblaze: Use cache functions (especially cache status) in systems which are configured without flash --- lib_microblaze/board.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib_microblaze') diff --git a/lib_microblaze/board.c b/lib_microblaze/board.c index 732f81e76..30d764186 100644 --- a/lib_microblaze/board.c +++ b/lib_microblaze/board.c @@ -137,11 +137,8 @@ void board_init (void) } puts ("SDRAM :\n"); -#if defined(CONFIG_CMD_CACHE) - puts ("\tEnabling caches :\n"); printf ("\t\tIcache:%s\n", icache_status() ? "OK" : "FAIL"); printf ("\t\tDcache:%s\n", dcache_status() ? "OK" : "FAIL"); -#endif printf ("\tU-Boot Start:0x%08x\n", TEXT_BASE); #if defined(CONFIG_CMD_FLASH) -- cgit v1.2.3