]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mips: ath79: Use 8MB flash profile for mtd partition by default
authorWills Wang <wills.wang@live.com>
Mon, 30 May 2016 14:54:52 +0000 (22:54 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Tue, 31 May 2016 08:17:54 +0000 (10:17 +0200)
Change bootm flash address and mtd partition table for 8MB flash profile.

Signed-off-by: Wills Wang <wills.wang@live.com>
include/configs/ap121.h
include/configs/ap143.h

index f069d501302c1242f5dff8d02a9624b4bcf3d803..b01031c8bbe7dfd00c2b152e0b3fc4e1c1c086c4 100644 (file)
                                        "rootfstype=squashfs"
 #define CONFIG_BOOTCOMMAND              "sf probe;" \
                                        "mtdparts default;" \
-                                       "bootm 0x9f300000"
+                                       "bootm 0x9f650000"
 #define CONFIG_LZMA
 
 #define MTDIDS_DEFAULT                  "nor0=spi-flash.0"
 #define MTDPARTS_DEFAULT                "mtdparts=spi-flash.0:" \
                                        "256k(u-boot),64k(u-boot-env)," \
-                                       "2752k(rootfs),896k(uImage)," \
+                                       "6144k(rootfs),1600k(uImage)," \
                                        "64k(NVRAM),64k(ART)"
 
 #define CONFIG_ENV_SPI_MAX_HZ           25000000
index e45f743936da4fa25a63aa41497ef92c68f36294..0fa73a79a595b0a8a5cd3362989868f9c96ca222 100644 (file)
                                        "rootfstype=squashfs"
 #define CONFIG_BOOTCOMMAND              "sf probe;" \
                                        "mtdparts default;" \
-                                       "bootm 0x9f300000"
+                                       "bootm 0x9f680000"
 #define CONFIG_LZMA
 
 #define MTDIDS_DEFAULT                  "nor0=spi-flash.0"
 #define MTDPARTS_DEFAULT                "mtdparts=spi-flash.0:" \
                                        "256k(u-boot),64k(u-boot-env)," \
-                                       "2752k(rootfs),896k(uImage)," \
-                                       "64k(NVRAM),64k(ART)"
+                                       "6336k(rootfs),1472k(uImage)," \
+                                       "64k(ART)"
 
 #define CONFIG_ENV_SPI_MAX_HZ           25000000
 #define CONFIG_ENV_IS_IN_SPI_FLASH