arm nomadik: activate defrag choose 4k transfer block size
[oweals/u-boot.git] / include / configs / microblaze-generic.h
index 867f885136cbda8b748f18130a1a7218a19bb12a..72715f6ed9d6b4b356887ea73b2722973ec57653 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
 
 #if defined(CONFIG_CMD_JFFS2)
 /* JFFS2 partitions */
-#define CONFIG_JFFS2_CMDLINE   /* mtdparts command line support */
+#define CONFIG_CMD_MTDPARTS    /* mtdparts command line support */
+#define CONFIG_MTD_DEVICE      /* needed for mtdparts commands */
+#define CONFIG_FLASH_CFI_MTD
 #define MTDIDS_DEFAULT         "nor0=ml401-0"
 
 /* default mtd partition table */