ARM: OMAP3_LOGIC: Update MTD Partition Table
authorAdam Ford <aford173@gmail.com>
Sun, 13 Nov 2016 04:02:37 +0000 (22:02 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 21 Nov 2016 19:07:33 +0000 (14:07 -0500)
The previous partition table did not support a separate device tree
and the kernel size was limited to 4MB.  This update shows the
location of the device tree (labeled as spl-os) for those who
want to use Falcon Mode or use U-Boot to store the Flattened
Device Tree (FDT) to NAND without appending it to the kernel.

This also grows the kernel to 6MB since 4MB was becomming tight

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/omap3_logic.h

index 301d4b2..abce61a 100644 (file)
 #define CONFIG_MTD_DEVICE              /* needed for mtdparts commands */
 #define CONFIG_MTD_PARTITIONS          /* required for UBI partition support */
 #define MTDIDS_DEFAULT                 "nand0=omap2-nand.0"
-#define MTDPARTS_DEFAULT               "mtdparts=omap2-nand.0:512k(MLO),"\
-                                       "1920k(u-boot),128k(u-boot-env),"\
-                                       "4m(kernel),-(fs)"
+#define MTDPARTS_DEFAULT       "mtdparts=omap2-nand.0:"\
+                                                       "512k(MLO),"\
+                                                       "1792k(u-boot),"\
+                                                       "128k(spl-os)," \
+                                                       "128k(u-boot-env),"\
+                                                       "6m(kernel),-(fs)"
 #endif
 
 /* Environment information */