]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
omap2: use OMAP2_PRCM_BASE in place of OMAP24XX_PRCM_BASE
authorPaul Walmsley <paul@pwsan.com>
Thu, 3 May 2007 22:52:38 +0000 (16:52 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 25 May 2007 18:21:42 +0000 (11:21 -0700)
Change users of OMAP24XX_PRCM_BASE to use OMAP2_PRCM_BASE.  Remove
the OMAP24XX_PRCM_BASE define.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mmu.c
arch/arm/mach-omap2/pm.c
arch/arm/mach-omap2/prcm-regs.h
arch/arm/mach-omap2/sram-fn.S
include/asm-arm/arch-omap/omap24xx.h

index 2a5290753d96245b72e8908f1b8f6b318ea3a4b6..2f0e6edbe98e8c7e3759f139e3629450ae39f8bb 100644 (file)
@@ -96,7 +96,8 @@ static int exmap_setup_preserved_entries(struct omap_mmu *mmu)
 
        exmap_setup_preserved_mem_page(mmu, dspvect_page, DSP_INIT_PAGE, n++);
 
-       exmap_setup_iomap_page(mmu, OMAP24XX_PRCM_BASE, 0x7000, n++);
+       /* REVISIT: This will need to be revisited for 3430 */
+       exmap_setup_iomap_page(mmu, OMAP2_PRCM_BASE, 0x7000, n++);
        exmap_setup_iomap_page(mmu, OMAP24XX_MAILBOX_BASE, 0x11000, n++);
 
        if (cpu_is_omap2420()) {
index 91ee1407b743cd8d9d6f069d79cc374958263628..93cc11de30c4752b0a72eb7aec07ad9d06a8eaf3 100644 (file)
@@ -144,7 +144,7 @@ static void (*omap2_sram_idle)(void);
 static void (*omap2_sram_suspend)(int dllctrl);
 static void (*saved_idle)(void);
 
-static u32 prcm_base = IO_ADDRESS(OMAP24XX_PRCM_BASE);
+static u32 prcm_base = IO_ADDRESS(OMAP2_PRCM_BASE);
 
 static inline void prcm_write_reg(int idx, u32 val)
 {
index 4672a2cbbadb484b6752e50cd6483df2fa9805d5..7cb3830cb3b772fe61a1b08a3a7d132f8c5801ac 100644 (file)
@@ -29,7 +29,7 @@
 
 #ifndef __ASSEMBLER__
 
-#define PRCM_REG32(offset)     __REG32(OMAP24XX_PRCM_BASE + (offset))
+#define PRCM_REG32(offset)     __REG32(OMAP2_PRCM_BASE + (offset))
 
 #define PRCM_REVISION          PRCM_REG32(0x000)
 #define PRCM_SYSCONFIG         PRCM_REG32(0x010)
index 97fadf4b2a2aea7e57f06051f866ce35325d6b5f..9d67983afe83f0df5df27c43ca016935aed9448f 100644 (file)
 
 #define TIMER_32KSYNCT_CR_V    IO_ADDRESS(OMAP2_32KSYNCT_BASE + 0x010)
 
-#define CM_CLKSEL2_PLL_V       IO_ADDRESS(OMAP24XX_PRCM_BASE + 0x544)
-#define PRCM_VOLTCTRL_V                IO_ADDRESS(OMAP24XX_PRCM_BASE + 0x050)
-#define PRCM_CLKCFG_CTRL_V     IO_ADDRESS(OMAP24XX_PRCM_BASE + 0x080)
-#define CM_CLKEN_PLL_V         IO_ADDRESS(OMAP24XX_PRCM_BASE + 0x500)
-#define CM_IDLEST_CKGEN_V      IO_ADDRESS(OMAP24XX_PRCM_BASE + 0x520)
-#define CM_CLKSEL1_PLL_V       IO_ADDRESS(OMAP24XX_PRCM_BASE + 0x540)
+#define CM_CLKSEL2_PLL_V       IO_ADDRESS(OMAP2_PRCM_BASE + 0x544)
+#define PRCM_VOLTCTRL_V                IO_ADDRESS(OMAP2_PRCM_BASE + 0x050)
+#define PRCM_CLKCFG_CTRL_V     IO_ADDRESS(OMAP2_PRCM_BASE + 0x080)
+#define CM_CLKEN_PLL_V         IO_ADDRESS(OMAP2_PRCM_BASE + 0x500)
+#define CM_IDLEST_CKGEN_V      IO_ADDRESS(OMAP2_PRCM_BASE + 0x520)
+#define CM_CLKSEL1_PLL_V       IO_ADDRESS(OMAP2_PRCM_BASE + 0x540)
 
 #define SDRC_DLLA_CTRL_V       IO_ADDRESS(OMAP24XX_SDRC_BASE + 0x060)
 #define SDRC_RFR_CTRL_V                IO_ADDRESS(OMAP24XX_SDRC_BASE + 0x0a4)
index af3dcacd80da59daa4b306cbdacd3d1630afb822..340c28a46e6fdb34e1258d75b5475c4ffd465cc8 100644 (file)
@@ -74,7 +74,6 @@
 
 /* Temporary defines to be cleaned up in following patches */
 #define OMAP24XX_SDRC_BASE     OMAP2_SDRC_BASE
-#define OMAP24XX_PRCM_BASE     OMAP2_PRCM_BASE
 #define OMAP24XX_CTRL_BASE     OMAP2_CTRL_BASE
 
 #endif /* __ASM_ARCH_OMAP24XX_H */