aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c24xx/common-smdk.c
diff options
context:
space:
mode:
authorAtul Dahiya <atul.dahiya@samsung.com>2010-10-18 19:53:34 +0900
committerKukjin Kim <kgene.kim@samsung.com>2010-10-18 19:53:34 +0900
commit66ad4eea7ec50fe131755c80058b1157d160294d (patch)
tree8102d4d020f9ac35adbb75d7615bde7f7469673d /arch/arm/plat-s3c24xx/common-smdk.c
parentLinux 2.6.36-rc8 (diff)
downloadlinux-dev-66ad4eea7ec50fe131755c80058b1157d160294d.tar.xz
linux-dev-66ad4eea7ec50fe131755c80058b1157d160294d.zip
ARM: S3C24XX: Fix nand partition table for s3c24XX
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. Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-s3c24xx/common-smdk.c')
-rw-r--r--arch/arm/plat-s3c24xx/common-smdk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c24xx/common-smdk.c b/arch/arm/plat-s3c24xx/common-smdk.c
index 7b44d0c592b5..bcc43f346272 100644
--- a/arch/arm/plat-s3c24xx/common-smdk.c
+++ b/arch/arm/plat-s3c24xx/common-smdk.c
@@ -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,
}
};