From cec0d9194b0fb5550175f0f8c3b8869fca07db76 Mon Sep 17 00:00:00 2001 From: Ethan Chen Date: Sat, 7 Dec 2013 17:52:12 -0800 Subject: [PATCH] msm: HTC: Use msm_iomap for ram console addresses Change-Id: Ic94e7b066e15e05598d28dd976a9459d2febe982 --- arch/arm/mach-msm/htc/devices_htc.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-msm/htc/devices_htc.c b/arch/arm/mach-msm/htc/devices_htc.c index a45f696aeb9c..8958fbaf0d9a 100644 --- a/arch/arm/mach-msm/htc/devices_htc.c +++ b/arch/arm/mach-msm/htc/devices_htc.c @@ -13,10 +13,13 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ -#include + #include +#include +#include #include #include + #define MFG_GPIO_TABLE_MAX_SIZE 0x400 static unsigned char mfg_gpio_table[MFG_GPIO_TABLE_MAX_SIZE]; @@ -518,8 +521,8 @@ unsigned int get_tamper_sf(void) } EXPORT_SYMBOL(get_tamper_sf); -#define MSM_RAM_CONSOLE_BASE 0x88900000 -#define MSM_RAM_CONSOLE_SIZE (SZ_1M - SZ_128K) /* 128K for debug info */ +#define MSM_RAM_CONSOLE_BASE MSM_HTC_RAM_CONSOLE_PHYS +#define MSM_RAM_CONSOLE_SIZE MSM_HTC_RAM_CONSOLE_SIZE static struct resource ram_console_resources[] = { {