Skip to content

Commit

Permalink
msm: HTC: Use msm_iomap for ram console addresses
Browse files Browse the repository at this point in the history
Change-Id: Ic94e7b066e15e05598d28dd976a9459d2febe982
  • Loading branch information
intervigilium committed Dec 8, 2013
1 parent eb71be3 commit cec0d91
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions arch/arm/mach-msm/htc/devices_htc.c
Expand Up @@ -13,10 +13,13 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <mach/board.h>

#include <asm/setup.h>
#include <mach/board.h>
#include <mach/msm_iomap.h>
#include <linux/mtd/nand.h>
#include <linux/module.h>

#define MFG_GPIO_TABLE_MAX_SIZE 0x400
static unsigned char mfg_gpio_table[MFG_GPIO_TABLE_MAX_SIZE];

Expand Down Expand Up @@ -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[] = {
{
Expand Down

0 comments on commit cec0d91

Please sign in to comment.