Re-factoring the legacy NAND code (legacy NAND now only in board-specific
[platform/kernel/u-boot.git] / include / configs / RBC823.h
index 1666d64..21945a3 100644 (file)
@@ -66,8 +66,8 @@
 #undef CONFIG_BOOTARGS
 #define CONFIG_BOOTCOMMAND                                                     \
        "bootp; "                                                               \
-       "setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) "     \
-       "ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; "   \
+       "setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} "     \
+       "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; "   \
        "bootm"
 
 #define CONFIG_LOADS_ECHO      1       /* echo on for serial download  */
@@ -97,7 +97,9 @@
 #define CONFIG_COMMANDS              ( CFG_CMD_ALL     & \
                                ~CFG_CMD_BSP    & \
                                ~CFG_CMD_DATE   & \
+                               ~CFG_CMD_DISPLAY& \
                                ~CFG_CMD_DTT    & \
+                               ~CFG_CMD_EXT2   & \
                                ~CFG_CMD_FDC    & \
                                ~CFG_CMD_FDOS   & \
                                ~CFG_CMD_HWFLOW & \
                                ~CFG_CMD_PCMCIA & \
                                ~CFG_CMD_REISER & \
                                ~CFG_CMD_SCSI   & \
-                               ~CFG_CMD_SETGETDCR      & \
+                               ~CFG_CMD_SETGETDCR & \
+                               ~CFG_CMD_SNTP   & \
                                ~CFG_CMD_SPI    & \
+                               ~CFG_CMD_UNIVERSE & \
                                ~CFG_CMD_USB    & \
-                               ~CFG_CMD_VFD    )
+                               ~CFG_CMD_VFD    & \
+                               ~CFG_CMD_XIMG   )
 
 /* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
 #include <cmd_confdefs.h>
 /************************************************************
  * Disk-On-Chip configuration
  ************************************************************/
+#define CFG_NAND_LEGACY
+
 #define CFG_MAX_DOC_DEVICE     1       /* Max number of DOC devices            */
 #define CFG_DOC_SHORT_TIMEOUT
 #define CFG_DOC_SUPPORT_2000
 #define        BOOTFLAG_COLD   0x01            /* Normal Power-On: Boot from FLASH     */
 #define BOOTFLAG_WARM  0x02            /* Software reboot                      */
 
+/*
+ * JFFS2 partitions
+ *
+ */
+/* No command line, one static partition, whole device */
+#undef CONFIG_JFFS2_CMDLINE
+#define CONFIG_JFFS2_DEV               "nor0"
+#define CONFIG_JFFS2_PART_SIZE         0xFFFFFFFF
+#define CONFIG_JFFS2_PART_OFFSET       0x00000000
+
+/* mtdparts command line support */
+/* Note: fake mtd_id used, no linux mtd map file */
+/*
+#define CONFIG_JFFS2_CMDLINE
+#define MTDIDS_DEFAULT         ""
+#define MTDPARTS_DEFAULT       ""
+*/
+
 #endif /* __CONFIG_H */