X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Ffiles%2Fdrivers%2Fmtd%2Fnand%2Frb4xx_nand.c;fp=target%2Flinux%2Far71xx%2Ffiles%2Fdrivers%2Fmtd%2Fnand%2Frb4xx_nand.c;h=5087794f27a8657345862c280e2b0e18fc4d1057;hb=00b3e970afc0ee583ed6f85c50d26b3b947b06b1;hp=c252831300532acc2714904483b0b899d04f0af4;hpb=030f665b05e3aec612dd1782a7b739e4a78540bb;p=openwrt-10.03%2F.git 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 c25283130..5087794f2 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 #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 @@ -83,6 +83,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), @@ -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