From d5c81e38f2e5ec93c6b928e7e99161e0c7769fe3 Mon Sep 17 00:00:00 2001
From: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Wed, 13 May 2009 20:12:07 +0000
Subject: [ar71xx] reorder mtd partitions on the WRT400N

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15829 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'target/linux')

diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c
index 4040a652d..0298b1a6b 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c
@@ -46,10 +46,6 @@ static struct mtd_partition wrt400n_partitions[] = {
 	} , {
 		.name		= "linux",
 		.offset		= 0x040000,
-		.size		= 0x770000,
-	} , {
-		.name		= "kernel",
-		.offset		= 0x040000,
 		.size		= 0x140000,
 	} , {
 		.name		= "rootfs",
@@ -75,6 +71,10 @@ static struct mtd_partition wrt400n_partitions[] = {
 		.offset		= 0x7f0000,
 		.size		= 0x010000,
 		.mask_flags	= MTD_WRITEABLE,
+	} , {
+		.name		= "firmware",
+		.offset		= 0x040000,
+		.size		= 0x770000,
 	}
 };
 #endif /* CONFIG_MTD_PARTITIONS */
-- 
cgit v1.2.3