Skip to content
Snippets Groups Projects
Commit ad5b48ab authored by Wills Wang's avatar Wills Wang Committed by Daniel Schwierzeck
Browse files

mips: ath79: Use 8MB flash profile for mtd partition by default


Change bootm flash address and mtd partition table for 8MB flash profile.

Signed-off-by: default avatarWills Wang <wills.wang@live.com>
parent 04583c68
No related branches found
No related tags found
No related merge requests found
...@@ -40,13 +40,13 @@ ...@@ -40,13 +40,13 @@
"rootfstype=squashfs" "rootfstype=squashfs"
#define CONFIG_BOOTCOMMAND "sf probe;" \ #define CONFIG_BOOTCOMMAND "sf probe;" \
"mtdparts default;" \ "mtdparts default;" \
"bootm 0x9f300000" "bootm 0x9f650000"
#define CONFIG_LZMA #define CONFIG_LZMA
#define MTDIDS_DEFAULT "nor0=spi-flash.0" #define MTDIDS_DEFAULT "nor0=spi-flash.0"
#define MTDPARTS_DEFAULT "mtdparts=spi-flash.0:" \ #define MTDPARTS_DEFAULT "mtdparts=spi-flash.0:" \
"256k(u-boot),64k(u-boot-env)," \ "256k(u-boot),64k(u-boot-env)," \
"2752k(rootfs),896k(uImage)," \ "6144k(rootfs),1600k(uImage)," \
"64k(NVRAM),64k(ART)" "64k(NVRAM),64k(ART)"
#define CONFIG_ENV_SPI_MAX_HZ 25000000 #define CONFIG_ENV_SPI_MAX_HZ 25000000
......
...@@ -44,14 +44,14 @@ ...@@ -44,14 +44,14 @@
"rootfstype=squashfs" "rootfstype=squashfs"
#define CONFIG_BOOTCOMMAND "sf probe;" \ #define CONFIG_BOOTCOMMAND "sf probe;" \
"mtdparts default;" \ "mtdparts default;" \
"bootm 0x9f300000" "bootm 0x9f680000"
#define CONFIG_LZMA #define CONFIG_LZMA
#define MTDIDS_DEFAULT "nor0=spi-flash.0" #define MTDIDS_DEFAULT "nor0=spi-flash.0"
#define MTDPARTS_DEFAULT "mtdparts=spi-flash.0:" \ #define MTDPARTS_DEFAULT "mtdparts=spi-flash.0:" \
"256k(u-boot),64k(u-boot-env)," \ "256k(u-boot),64k(u-boot-env)," \
"2752k(rootfs),896k(uImage)," \ "6336k(rootfs),1472k(uImage)," \
"64k(NVRAM),64k(ART)" "64k(ART)"
#define CONFIG_ENV_SPI_MAX_HZ 25000000 #define CONFIG_ENV_SPI_MAX_HZ 25000000
#define CONFIG_ENV_IS_IN_SPI_FLASH #define CONFIG_ENV_IS_IN_SPI_FLASH
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment