Skip to contentSkip to conversation

ARM: S3C24XX: Fix nand partition table for s3c24XX

PATCH New Sangbeom Kim 2 participants 2 messages Jul 18, 2010 – Oct 18, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: S3C24XX: Fix nand partition table for s3c24XX

From: Atul Dahiya <[email protected]>

This patch fixes the partition table as existing partition table have last partition size fixed and can't utilize available memory proprly if size is more than 64M.

---
 arch/arm/plat-s3c24xx/common-smdk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/plat-s3c24xx/common-smdk.c +1 -1
index 7b44d0c..bcc43f3 100644
@@ -147,7 +147,7 @@ static struct mtd_partition smdk_default_nand_part[] = {
 	[7] = {
 		.name	= "S3C2410 flash partition 7",
 		.offset = SZ_1M * 48,
-		.size	= SZ_16M,
+		.size	= MTDPART_SIZ_FULL,
 	}
 };
 
Signature · 1 line
1.6.2.5
#1 lore raw

PATCH 1/1 ARM: S3C24XX: Fix nand partition table for s3c24XX

arch/arm/plat-s3c24xx/common-smdk.c static struct mtd_partition smdk_default_nand_part[] =

Quoted 19 lines · Sangbeom Kim

From: Atul Dahiya <[email protected]>

This patch fixes the partition table as existing partition table have last partition size fixed and can't utilize available memory proprly if size is more than 64M.

---
 arch/arm/plat-s3c24xx/common-smdk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/plat- renamed from arch/arm/plat-s3c24xx/common-smdk.c +0 -0

s3c24xx/common-smdk.c
index 7b44d0c..bcc43f3 100644

arch/arm/plat-s3c24xx/common-smdk.c +0 -0
@@ -147,7 +147,7 @@ static struct mtd_partition smdk_default_nand_part[] =

{

arch/arm/plat-s3c24xx/common-smdk.c static struct mtd_partition smdk_default_nand_part[] = {

Quoted 9 lines
arch/arm/plat-s3c24xx/common-smdk.c +1 -2
 	[7] = {
 		.name	= "S3C2410 flash partition 7",
 		.offset = SZ_1M * 48,
-		.size	= SZ_16M,
+		.size	= MTDPART_SIZ_FULL,
 	}
 };
 
--

Maybe missed this...will apply.

Ben, if any problems, please let me know.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.