pxa: fixing get_timer to return time in miliseconds.
[oweals/u-boot.git] / include / configs / microblaze-generic.h
index 867f885136cbda8b748f18130a1a7218a19bb12a..ac18c8776dd68695bad2c93fc01f55a0f19dca95 100644 (file)
        #define CONFIG_DOS_PARTITION
 #endif
 
+#if defined(XILINX_USE_ICACHE)
+       #define CONFIG_ICACHE
+#else
+       #undef CONFIG_ICACHE
+#endif
+
+#if defined(XILINX_USE_DCACHE)
+       #define CONFIG_DCACHE
+#else
+       #undef CONFIG_DCACHE
+#endif
+
 /*
  * BOOTP options
  */
 #include <config_cmd_default.h>
 
 #define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_CACHE
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_MFSL
 #define CONFIG_CMD_ECHO
 
+#if defined(CONFIG_DCACHE) || defined(CONFIG_ICACHE)
+       #define CONFIG_CMD_CACHE
+#else
+       #undef CONFIG_CMD_CACHE
+#endif
+
 #ifndef CONFIG_SYS_ENET
        #undef CONFIG_CMD_NET
 #else
        #define CONFIG_CMD_JFFS2
 
        #if !defined(RAMENV)
-               #define CONFIG_CMD_ENV
+               #define CONFIG_CMD_SAVEENV
                #define CONFIG_CMD_SAVES
        #endif
 #else