PXA: Rename pxa_dram_init to pxa2xx_dram_init
authorMarek Vasut <marek.vasut@gmail.com>
Sat, 26 Nov 2011 10:18:57 +0000 (11:18 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 6 Dec 2011 22:59:33 +0000 (23:59 +0100)
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
13 files changed:
arch/arm/cpu/pxa/pxa2xx.c
arch/arm/include/asm/arch-pxa/pxa.h
board/balloon3/balloon3.c
board/colibri_pxa270/colibri_pxa270.c
board/lubbock/lubbock.c
board/palmld/palmld.c
board/palmtc/palmtc.c
board/pxa255_idp/pxa_idp.c
board/trizepsiv/conxs.c
board/vpac270/onenand.c
board/vpac270/vpac270.c
board/xaeniax/xaeniax.c
board/zipitz2/zipitz2.c

index e7b475d..09e8177 100644 (file)
@@ -71,7 +71,7 @@ inline void writelrb(uint32_t val, uint32_t addr)
        asm volatile("" : : : "memory");
 }
 
-void pxa_dram_init(void)
+void pxa2xx_dram_init(void)
 {
        uint32_t tmp;
        int i;
@@ -262,7 +262,7 @@ void pxa_wakeup(void)
        /* Wakeup */
        if (rcsr & RCSR_SMR) {
                writel(PSSR_PH, PSSR);
-               pxa_dram_init();
+               pxa2xx_dram_init();
                icache_disable();
                dcache_disable();
                asm volatile("mov       pc, %0" : : "r"(readl(PSPR)));
index 050b3cd..49c6552 100644 (file)
@@ -24,6 +24,6 @@
 
 int cpu_is_pxa25x(void);
 int cpu_is_pxa27x(void);
-void pxa_dram_init(void);
+void pxa2xx_dram_init(void);
 
 #endif /* __PXA_H__ */
index ebee5e1..f360323 100644 (file)
@@ -60,7 +60,7 @@ struct serial_device *default_serial_console(void)
 
 int dram_init(void)
 {
-       pxa_dram_init();
+       pxa2xx_dram_init();
        gd->ram_size = PHYS_SDRAM_1_SIZE;
        return 0;
 }
index 06f970b..d72e5d6 100644 (file)
@@ -51,7 +51,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-       pxa_dram_init();
+       pxa2xx_dram_init();
        gd->ram_size = PHYS_SDRAM_1_SIZE;
        return 0;
 }
index e9e6bda..437f944 100644 (file)
@@ -59,7 +59,7 @@ int board_late_init(void)
 
 int dram_init(void)
 {
-       pxa_dram_init();
+       pxa2xx_dram_init();
        gd->ram_size = PHYS_SDRAM_1_SIZE;
        return 0;
 }
index 65bde83..2f1ad20 100644 (file)
@@ -59,7 +59,7 @@ struct serial_device *default_serial_console(void)
 
 int dram_init(void)
 {
-       pxa_dram_init();
+       pxa2xx_dram_init();
        gd->ram_size = PHYS_SDRAM_1_SIZE;
        return 0;
 }
index 414562b..4adf152 100644 (file)
@@ -58,7 +58,7 @@ struct serial_device *default_serial_console(void)
 
 int dram_init(void)
 {
-       pxa_dram_init();
+       pxa2xx_dram_init();
        gd->ram_size = PHYS_SDRAM_1_SIZE;
        return 0;
 }
index 7b975f6..877e8d9 100644 (file)
@@ -86,7 +86,7 @@ int board_late_init(void)
 
 int dram_init(void)
 {
-       pxa_dram_init();
+       pxa2xx_dram_init();
        gd->ram_size = PHYS_SDRAM_1_SIZE;
        return 0;
 }
index 008cdd8..1291195 100644 (file)
@@ -142,7 +142,7 @@ struct serial_device *default_serial_console (void)
 
 int dram_init(void)
 {
-       pxa_dram_init();
+       pxa2xx_dram_init();
        gd->ram_size = PHYS_SDRAM_1_SIZE;
        return 0;
 }
index dceb5b7..c2ae9a7 100644 (file)
@@ -45,7 +45,7 @@ void board_init_f(unsigned long unused)
 
        /* Hereby, the code runs from (S)RAM, copy U-Boot and execute it. */
        arch_cpu_init();
-       pxa_dram_init();
+       pxa2xx_dram_init();
        onenand_spl_load_image(CONFIG_SPL_ONENAND_LOAD_ADDR,
                                CONFIG_SPL_ONENAND_LOAD_SIZE,
                                (void *)CONFIG_SYS_TEXT_BASE);
index bd2f241..dfdab9b 100644 (file)
@@ -58,7 +58,7 @@ struct serial_device *default_serial_console(void)
 int dram_init(void)
 {
 #ifndef        CONFIG_ONENAND
-       pxa_dram_init();
+       pxa2xx_dram_init();
 #endif
        gd->ram_size = PHYS_SDRAM_1_SIZE;
        return 0;
index 9cc64bb..a4acf6c 100644 (file)
@@ -62,7 +62,7 @@ int board_late_init(void)
 
 int dram_init(void)
 {
-       pxa_dram_init();
+       pxa2xx_dram_init();
        gd->ram_size = PHYS_SDRAM_1_SIZE;
        return 0;
 }
index e72a5d9..b093c2f 100644 (file)
@@ -68,7 +68,7 @@ struct serial_device *default_serial_console (void)
 
 int dram_init(void)
 {
-       pxa_dram_init();
+       pxa2xx_dram_init();
        gd->ram_size = PHYS_SDRAM_1_SIZE;
        return 0;
 }