in systems which are configured without flash
 #include <common.h>
 #include <asm/asm.h>
 
-#if defined(CONFIG_CMD_CACHE)
-
 int dcache_status (void)
 {
        int i = 0;
 void   dcache_disable(void) {
        MSRCLR(0x80);
 }
-#endif
 
        }
 
        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)