diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-08-06 07:33:13 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-08-06 07:33:13 +0000 |
commit | 0eedb7aee60ba08fd343da3cd75b363a7ed8e26e (patch) | |
tree | 3ffa23999e543fa76050bd92cbbaef20f3816fcf /target | |
parent | 2079e7eb1b40b3e8dcd8915c604724051a503bd0 (diff) | |
download | master-187ad058-0eedb7aee60ba08fd343da3cd75b363a7ed8e26e.tar.gz master-187ad058-0eedb7aee60ba08fd343da3cd75b363a7ed8e26e.tar.bz2 master-187ad058-0eedb7aee60ba08fd343da3cd75b363a7ed8e26e.zip |
[ar71xx] reorder nand partitions on RB-4xx (closes #3852)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12201 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c | 14 |
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 |