aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2016-12-29 15:26:59 +0800
committerJohn Crispin <john@phrozen.org>2017-01-20 00:44:46 +0100
commit78c2ec0f477bab5b5c2622b5a18c14e51dea7249 (patch)
treef77d18e8800d8fcc1fc9d7e9f6904bc1657a99b8 /target/linux/ar71xx/files
parent5f9b20bc7d0bde6c100a3dec5f02b56f7ef7a61d (diff)
downloadupstream-78c2ec0f477bab5b5c2622b5a18c14e51dea7249.tar.gz
upstream-78c2ec0f477bab5b5c2622b5a18c14e51dea7249.tar.bz2
upstream-78c2ec0f477bab5b5c2622b5a18c14e51dea7249.zip
ar71xx: wrt400n: lift size limit on kernel and rootfs part
While at it, convert to new build method Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wrt400n.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wrt400n.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wrt400n.c
index 6c4c1cb0d6..64126f495e 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wrt400n.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wrt400n.c
@@ -48,13 +48,9 @@ static struct mtd_partition wrt400n_partitions[] = {
.size = 0x010000,
.mask_flags = MTD_WRITEABLE,
}, {
- .name = "linux",
+ .name = "firmware",
.offset = 0x040000,
- .size = 0x140000,
- }, {
- .name = "rootfs",
- .offset = 0x180000,
- .size = 0x630000,
+ .size = 0x770000,
}, {
.name = "nvram",
.offset = 0x7b0000,
@@ -75,10 +71,6 @@ static struct mtd_partition wrt400n_partitions[] = {
.offset = 0x7f0000,
.size = 0x010000,
.mask_flags = MTD_WRITEABLE,
- }, {
- .name = "firmware",
- .offset = 0x040000,
- .size = 0x770000,
}
};