Commit 686fac09 authored by Kevin Hilman's avatar Kevin Hilman Committed by Tony Lindgren

ARM: OMAP: Fix PRCM base register usage for 243x

The PRCM base register is different on 242x and 243x.  Use
the #ifdef'd #define from omap24xx.h instead of the locally
defined one.
Signed-off-by: default avatarKevin Hilman <khilman@mvista.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent eacbf554
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
#include <asm/arch/dma.h> #include <asm/arch/dma.h>
#include <asm/arch/board.h> #include <asm/arch/board.h>
#define PRCM_BASE 0x48008000
#define PRCM_REVISION 0x000 #define PRCM_REVISION 0x000
#define PRCM_SYSCONFIG 0x010 #define PRCM_SYSCONFIG 0x010
#define PRCM_IRQSTATUS_MPU 0x018 #define PRCM_IRQSTATUS_MPU 0x018
...@@ -144,7 +143,7 @@ static void (*omap2_sram_idle)(void); ...@@ -144,7 +143,7 @@ static void (*omap2_sram_idle)(void);
static void (*omap2_sram_suspend)(int dllctrl); static void (*omap2_sram_suspend)(int dllctrl);
static void (*saved_idle)(void); static void (*saved_idle)(void);
static u32 prcm_base = IO_ADDRESS(PRCM_BASE); static u32 prcm_base = IO_ADDRESS(OMAP24XX_PRCM_BASE);
static inline void prcm_write_reg(int idx, u32 val) static inline void prcm_write_reg(int idx, u32 val)
{ {
......
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