diff options
author | Jason Liu <r64343@freescale.com> | 2010-10-13 14:44:23 +0800 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2010-12-13 16:10:23 -0500 |
commit | 696c55794e8370066460117b071feed589d96dce (patch) | |
tree | 5f08c90a2ce533c7dc0f2a49568073e40e5faa8a | |
parent | 99b0fde564d0d383001eb95e92a2b8559f07d297 (diff) |
ENGR00132551 NAND: Adjust the boot partition size for MX53
MX53 ROM require the boot FCB/DBBT support which need
more space to store such info on NAND boot partition.
MX53 ROM require at least:
4 search blocks for FCB and 4 blocks for DBBT, then,
the original 3M for boot partition is not enough.
16M should cover all kind of NAND boot support on MX53.
Signed-off-by: Jason Liu <r64343@freescale.com>
-rw-r--r-- | arch/arm/mach-mx5/mx53_ard.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-mx5/mx53_evk.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/mx53_ard.c b/arch/arm/mach-mx5/mx53_ard.c index 7a2aa0d4dd55..03d0e4c8aabd 100644 --- a/arch/arm/mach-mx5/mx53_ard.c +++ b/arch/arm/mach-mx5/mx53_ard.c @@ -1031,10 +1031,14 @@ static struct mxc_mlb_platform_data mlb_data = { /* NAND Flash Partitions */ #ifdef CONFIG_MTD_PARTITIONS static struct mtd_partition nand_flash_partitions[] = { +/* MX53 ROM require the boot FCB/DBBT support which need + * more space to store such info on NAND boot partition. + * 16M should cover all kind of NAND boot support on MX53. + */ { .name = "bootloader", .offset = 0, - .size = 3 * 1024 * 1024}, + .size = 16 * 1024 * 1024}, { .name = "nand.kernel", .offset = MTDPART_OFS_APPEND, diff --git a/arch/arm/mach-mx5/mx53_evk.c b/arch/arm/mach-mx5/mx53_evk.c index 1a1c5679330a..107973e8b84c 100644 --- a/arch/arm/mach-mx5/mx53_evk.c +++ b/arch/arm/mach-mx5/mx53_evk.c @@ -1256,10 +1256,14 @@ static struct mxc_mlb_platform_data mlb_data = { /* NAND Flash Partitions */ #ifdef CONFIG_MTD_PARTITIONS static struct mtd_partition nand_flash_partitions[] = { +/* MX53 ROM require the boot FCB/DBBT support which need + * more space to store such info on NAND boot partition. + * 16M should cover all kind of NAND boot support on MX53. + */ { .name = "bootloader", .offset = 0, - .size = 3 * 1024 * 1024}, + .size = 16 * 1024 * 1024}, { .name = "nand.kernel", .offset = MTDPART_OFS_APPEND, |