1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-04 03:06:21 +03:00

[ar71xx] reorder nand partitions on RB-4xx (closes #3852)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12201 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2008-08-06 07:33:13 +00:00
parent 030f665b05
commit 00b3e970af

View File

@ -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
@ -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