msm7630: Update for new memory map
New memory map for msm7630 with apps bootloader starting at
0x00100000 (1MB) and shared memory at 0x0.
Add new command "loadaddr:" to nandwrite for querying
the load address of images for flashing. This allows the
target to respond with the second/larger memory segment
in order to accommodate larger images.
diff --git a/dev/keys/gpio_keypad.c b/dev/keys/gpio_keypad.c
index bb95f77..4c61079 100644
--- a/dev/keys/gpio_keypad.c
+++ b/dev/keys/gpio_keypad.c
@@ -41,6 +41,7 @@
#include <kernel/event.h>
#include <kernel/timer.h>
#include <reg.h>
+#include <platform/iomap.h>
struct gpio_kp {
struct gpio_keypad_info *keypad_info;
@@ -455,7 +456,7 @@
void ssbi_keypad_init(struct qwerty_keypad_info *qwerty_kp)
{
- int *modem_stat_check = (SMEM_BASE + 0x14);
+ int *modem_stat_check = (MSM_SHARED_BASE + 0x14);
int len;
/* Wait for modem to be ready before keypad init */