Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
[msm7630]: Add code to increase the system partition size to 78MB.
Browse files Browse the repository at this point in the history
Add code to increase the system partition from 76MB to 78MB.
Disable keypad_init for nandwrite for 7x30.
  • Loading branch information
Chandan Uddaraju committed Dec 13, 2009
1 parent 9c081d0 commit a0d26dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions project/msm7630_surf_nandwrite.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 5 additions & 3 deletions target/msm7630_surf/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand All @@ -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;
Expand Down

0 comments on commit a0d26dd

Please sign in to comment.