Commit ad70431f authored by Paul Walmsley's avatar Paul Walmsley Committed by Tony Lindgren

omap2: use OMAP2_CTRL_BASE in place of OMAP24XX_CTRL_BASE

Change users of OMAP24XX_CTRL_BASE to use OMAP2_CTRL_BASE.  Remove the
OMAP24XX_CTRL_BASE define.
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent f9759f10
...@@ -350,7 +350,7 @@ ...@@ -350,7 +350,7 @@
#endif #endif
/* IO CONFIG */ /* IO CONFIG */
#define CONTROL_REG32(offset) __REG32(OMAP24XX_CTRL_BASE + (offset)) #define CONTROL_REG32(offset) __REG32(OMAP2_CTRL_BASE + (offset))
#define CONTROL_PADCONF_SPI1_NCS2 CONTROL_REG32(0x104) #define CONTROL_PADCONF_SPI1_NCS2 CONTROL_REG32(0x104)
#define CONTROL_PADCONF_SYS_XTALOUT CONTROL_REG32(0x134) #define CONTROL_PADCONF_SYS_XTALOUT CONTROL_REG32(0x134)
#define CONTROL_PADCONF_UART1_RX CONTROL_REG32(0x0C8) #define CONTROL_PADCONF_UART1_RX CONTROL_REG32(0x0C8)
......
...@@ -85,7 +85,7 @@ int __init_or_module omap_cfg_reg(const unsigned long index) ...@@ -85,7 +85,7 @@ int __init_or_module omap_cfg_reg(const unsigned long index)
reg |= OMAP24XX_PULL_UP; reg |= OMAP24XX_PULL_UP;
#if defined(CONFIG_OMAP_MUX_DEBUG) || defined(CONFIG_OMAP_MUX_WARNINGS) #if defined(CONFIG_OMAP_MUX_DEBUG) || defined(CONFIG_OMAP_MUX_WARNINGS)
{ {
u8 orig = omap_readb(OMAP24XX_CTRL_BASE + cfg->mux_reg); u8 orig = omap_readb(OMAP2_CTRL_BASE + cfg->mux_reg);
u8 debug = 0; u8 debug = 0;
#ifdef CONFIG_OMAP_MUX_DEBUG #ifdef CONFIG_OMAP_MUX_DEBUG
...@@ -95,11 +95,11 @@ int __init_or_module omap_cfg_reg(const unsigned long index) ...@@ -95,11 +95,11 @@ int __init_or_module omap_cfg_reg(const unsigned long index)
if (debug || warn) if (debug || warn)
printk("MUX: setup %s (0x%08x): 0x%02x -> 0x%02x\n", printk("MUX: setup %s (0x%08x): 0x%02x -> 0x%02x\n",
cfg->name, cfg->name,
OMAP24XX_CTRL_BASE + cfg->mux_reg, OMAP2_CTRL_BASE + cfg->mux_reg,
orig, reg); orig, reg);
} }
#endif #endif
omap_writeb(reg, OMAP24XX_CTRL_BASE + cfg->mux_reg); omap_writeb(reg, OMAP2_CTRL_BASE + cfg->mux_reg);
return 0; return 0;
} }
......
...@@ -72,8 +72,5 @@ ...@@ -72,8 +72,5 @@
#error "Unknown architecture" #error "Unknown architecture"
#endif #endif
/* Temporary defines to be cleaned up in following patches */
#define OMAP24XX_CTRL_BASE OMAP2_CTRL_BASE
#endif /* __ASM_ARCH_OMAP24XX_H */ #endif /* __ASM_ARCH_OMAP24XX_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment