ppc4xx: Add UBI support to PLU405 boards
authorMatthias Fuchs <matthias.fuchs@esd.eu>
Tue, 27 Oct 2009 11:19:11 +0000 (12:19 +0100)
committerStefan Roese <sr@denx.de>
Tue, 10 Nov 2009 14:07:03 +0000 (15:07 +0100)
-add UBI support
-increase malloc'able memory size
-cleanup MONITOR|FLASH_BASE|LEN constants

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
include/configs/PLU405.h

index 2e41526afe4ca2d0643a3ff1009335227c88f616..955e0a8d8d67ef05e35b220b4268e3eaf1812b4d 100644 (file)
  * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0
  */
 #define CONFIG_SYS_SDRAM_BASE          0x00000000
-#define CONFIG_SYS_FLASH_BASE          0xFFFA0000
-#define CONFIG_SYS_MONITOR_BASE        TEXT_BASE
-#define CONFIG_SYS_MONITOR_LEN         (384 * 1024)    /* Reserve 384kB for Monitor */
-#define CONFIG_SYS_MALLOC_LEN          (384 * 1024)    /* Reserve 384kB for malloc() */
+#define CONFIG_SYS_FLASH_BASE          CONFIG_SYS_MONITOR_BASE
+#define CONFIG_SYS_MONITOR_BASE                TEXT_BASE
+#define CONFIG_SYS_MONITOR_LEN         (~(TEXT_BASE) + 1)
+#define CONFIG_SYS_MALLOC_LEN          (1024 << 10)
 
 /*
  * Environment Variable setup
 #define CONFIG_SYS_USB_OHCI_SLOT_NAME  "ohci_pci"
 #define CONFIG_USB_STORAGE     1
 
+/*
+ * UBI
+ */
+#define CONFIG_CMD_UBI
+#define CONFIG_RBTREE
+#define CONFIG_MTD_DEVICE
+#define CONFIG_MTD_PARTITIONS
+#define CONFIG_CMD_MTDPARTS
+#define CONFIG_LZO
+
 #endif /* __CONFIG_H */