Fix comment.
[platform/kernel/u-boot.git] / include / configs / incaip.h
index 99e7868..c90ac65 100644 (file)
 
 #ifndef        CPU_CLOCK_RATE
 /* allowed values: 100000000, 133000000, and 150000000 */
-#define CPU_CLOCK_RATE 133000000       /* 133 MHz clock for the MIPS core */
-#endif
-
-#if CPU_CLOCK_RATE == 100000000
-#define INFINEON_EBU_BOOTCFG   0x20C4  /* CMULT = 4 for 100 MHz */
-#else
-#define INFINEON_EBU_BOOTCFG   0x40C4  /* CMULT = 8 for 150 MHz */
+#define CPU_CLOCK_RATE 150000000       /* default: 150 MHz clock for the MIPS core */
 #endif
 
+#define INFINEON_EBU_BOOTCFG   0x40C4  /* CMULT = 8 */
 
 #define CONFIG_BOOTDELAY       5       /* autoboot after 5 seconds     */
 
@@ -89,7 +84,8 @@
 #define CONFIG_COMMANDS                (CONFIG_CMD_DFL | \
                                 CFG_CMD_ASKENV | \
                                 CFG_CMD_DHCP   | \
-                                CFG_CMD_ELF    )
+                                CFG_CMD_ELF    | \
+                                CFG_CMD_JFFS2  )
 #include <cmd_confdefs.h>
 
 /*
 
 #define CFG_BOOTPARAMS_LEN     128*1024
 
-#define CFG_HZ                 (CPU_CLOCK_RATE/2)
+#define CFG_HZ                 (incaip_get_cpuclk() / 2)
 
 #define CFG_SDRAM_BASE         0x80000000
 
 #define CONFIG_INCA_IP_SWITCH
 #define CONFIG_NET_MULTI
 
+#define CFG_JFFS2_FIRST_BANK   1
+#define CFG_JFFS2_NUM_BANKS    1
+
 /*-----------------------------------------------------------------------
  * Cache Configuration
  */