]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/xsengine.h
arm: clean cache management
[karo-tx-uboot.git] / include / configs / xsengine.h
index b72741375349df7c0e2dd747c261cfb6b0ac51f2..7e2abbf3464d78641703685f7b5c8fb5028a9c7a 100644 (file)
 #define CONFIG_DOS_PARTITION           1
 #define BOARD_LATE_INIT                        1
 #undef  CONFIG_USE_IRQ                                 /* we don't need IRQ/FIQ stuff */
-#define CONFIG_SYS_HZ                          3686400         /* incrementer freq: 3.6864 MHz */
+/* we will never enable dcache, because we have to setup MMU first */
+#define CONFIG_SYS_NO_DCACHE
 
-#undef  CONFIG_USE_IRQ                                 /* we don't need IRQ/FIQ stuff */
-#define CONFIG_SYS_HZ                          3686400         /* incrementer freq: 3.6864 MHz */
+#define CONFIG_SYS_HZ                  1000
 #define CONFIG_SYS_CPUSPEED                    0x161           /* set core clock to 400/200/100 MHz */
 
 #define CONFIG_NR_DRAM_BANKS           1               /* we have 1 bank of DRAM */
@@ -65,7 +65,7 @@
  * JFFS2 partitions
  */
 /* No command line, one static partition, whole device */
-#undef CONFIG_JFFS2_CMDLINE
+#undef CONFIG_CMD_MTDPARTS
 #define CONFIG_JFFS2_DEV               "nor0"
 #define CONFIG_JFFS2_PART_SIZE         0xFFFFFFFF
 #define CONFIG_JFFS2_PART_OFFSET       0x00000000
@@ -73,7 +73,7 @@
 /* mtdparts command line support */
 /* Note: fake mtd_id used, no linux mtd map file */
 /*
-#define CONFIG_JFFS2_CMDLINE
+#define CONFIG_CMD_MTDPARTS
 #define MTDIDS_DEFAULT         "nor0=xsengine-0"
 #define MTDPARTS_DEFAULT       "mtdparts=xsengine-0:256k(uboot),1m(kernel1),8m(kernel2)"
 */
  */
 #include <config_cmd_default.h>
 
-#define CONFIG_CMD_MMC
 #define CONFIG_CMD_FAT
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_JFFS2
 #define CONFIG_SYS_BARGSIZE                    CONFIG_SYS_CBSIZE                               /* Boot Argument Buffer Size */
 #define CONFIG_SYS_MEMTEST_START               0xA0400000                              /* memtest works on     */
 #define CONFIG_SYS_MEMTEST_END                 0xA0800000                              /* 4 ... 8 MB in DRAM   */
-#undef  CONFIG_SYS_CLKS_IN_HZ                                                          /* everything, incl board info, in Hz */
 #define CONFIG_SYS_BAUDRATE_TABLE              { 9600, 19200, 38400, 57600, 115200 }   /* valid baudrates */
-#define CONFIG_SYS_MMC_BASE                    0xF0000000
 #define CONFIG_SYS_LOAD_ADDR                   0xA0000000                              /* load kernel to this address   */
 
+#ifdef CONFIG_MMC
+#define CONFIG_PXA_MMC
+#define CONFIG_CMD_MMC
+#define CONFIG_SYS_MMC_BASE                    0xF0000000
+#endif
+
 /* Stack sizes - The stack sizes are set up in start.S using the settings below */
 #define CONFIG_STACKSIZE               (128*1024)      /* regular stack */
 #ifdef  CONFIG_USE_IRQ