aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/mtd
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-08-06 07:33:13 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-08-06 07:33:13 +0000
commitc2187c736e79fd560b47ddb61299652559ef6212 (patch)
treeeba27f7f6a4c931f75f721d5dfcac7fa51d2f98f /target/linux/ar71xx/files/drivers/mtd
parent4d795ca98f1835deb35d8c3a8d7df8c0edb13428 (diff)
downloadupstream-c2187c736e79fd560b47ddb61299652559ef6212.tar.gz
upstream-c2187c736e79fd560b47ddb61299652559ef6212.tar.bz2
upstream-c2187c736e79fd560b47ddb61299652559ef6212.zip
reorder nand partitions on RB-4xx (closes #3852)
SVN-Revision: 12201
Diffstat (limited to 'target/linux/ar71xx/files/drivers/mtd')
-rw-r--r--target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
index c252831300..5087794f27 100644
--- a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
+++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
@@ -24,7 +24,7 @@
#include <asm/mach-ar71xx/ar71xx.h>
#define DRV_NAME "rb4xx-nand"
-#define DRV_VERSION "0.1.9"
+#define DRV_VERSION "0.1.10"
#define DRV_DESC "NAND flash driver for RouterBoard 4xx series"
#define USE_FAST_READ 1
@@ -84,6 +84,12 @@ static struct nand_ecclayout rb4xx_nand_ecclayout = {
static struct mtd_partition rb4xx_nand_partitions[] = {
{
+ .name = "booter",
+ .offset = 0,
+ .size = (256 * 1024),
+ .mask_flags = MTD_WRITEABLE,
+ },
+ {
.name = "kernel",
.offset = (256 * 1024),
.size = (4 * 1024 * 1024) - (256 * 1024),
@@ -93,12 +99,6 @@ static struct mtd_partition rb4xx_nand_partitions[] = {
.offset = MTDPART_OFS_NXTBLK,
.size = MTDPART_SIZ_FULL,
},
- {
- .name = "booter",
- .offset = 0,
- .size = (256 * 1024),
- .mask_flags = MTD_WRITEABLE,
- }
};
#if USE_FAST_READ