From a0d26dd2b553998154c9c247559ef5c496bcf88b Mon Sep 17 00:00:00 2001 From: Chandan Uddaraju Date: Sun, 13 Dec 2009 01:04:38 -0800 Subject: [PATCH] [msm7630]: Add code to increase the system partition size to 78MB. Add code to increase the system partition from 76MB to 78MB. Disable keypad_init for nandwrite for 7x30. --- project/msm7630_surf_nandwrite.mk | 1 + target/msm7630_surf/init.c | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/project/msm7630_surf_nandwrite.mk b/project/msm7630_surf_nandwrite.mk index bf9e5e1d8..2efe688e0 100644 --- a/project/msm7630_surf_nandwrite.mk +++ b/project/msm7630_surf_nandwrite.mk @@ -7,6 +7,7 @@ TARGET := msm7630_surf MODULES += app/nandwrite DEFINES += WITH_DEBUG_JTAG=1 +DEFINES += ENABLE_NANDWRITE=1 #DEFINES += WITH_DEBUG_DCC=1 #DEFINES += WITH_DEBUG_UART=1 #DEFINES += WITH_DEBUG_FBCON=1 diff --git a/target/msm7630_surf/init.c b/target/msm7630_surf/init.c index 887928245..933271893 100644 --- a/target/msm7630_surf/init.c +++ b/target/msm7630_surf/init.c @@ -69,16 +69,16 @@ static struct ptentry board_part_list[] = { }, { .start = 56, - .length = 304 /* 76MB */, + .length = 312 /* 76MB */, .name = "system", }, { - .start = 364, + .start = 372, .length = 304 /* 76MB */, .name = "cache", }, { - .start = 672, + .start = 680, .length = 304 /* 76MB */, .name = "userdata", }, @@ -101,8 +101,10 @@ void target_init(void) dprintf(INFO, "target_init()\n"); +#if (!ENABLE_NANDWRITE) keys_init(); keypad_init(); +#endif if (target_is_emmc_boot()) return;