summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-11-26 11:18:57 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-06 23:59:33 +0100
commitf68d2a222f0c37e281d28888add34ae263be6777 (patch)
treeff30917d221b816d2345b19f30b2b221068527af
parent4438a45f4d6abd4b65998dd76528c4705b93b4b5 (diff)
PXA: Rename pxa_dram_init to pxa2xx_dram_init
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
-rw-r--r--arch/arm/cpu/pxa/pxa2xx.c4
-rw-r--r--arch/arm/include/asm/arch-pxa/pxa.h2
-rw-r--r--board/balloon3/balloon3.c2
-rw-r--r--board/colibri_pxa270/colibri_pxa270.c2
-rw-r--r--board/lubbock/lubbock.c2
-rw-r--r--board/palmld/palmld.c2
-rw-r--r--board/palmtc/palmtc.c2
-rw-r--r--board/pxa255_idp/pxa_idp.c2
-rw-r--r--board/trizepsiv/conxs.c2
-rw-r--r--board/vpac270/onenand.c2
-rw-r--r--board/vpac270/vpac270.c2
-rw-r--r--board/xaeniax/xaeniax.c2
-rw-r--r--board/zipitz2/zipitz2.c2
13 files changed, 14 insertions, 14 deletions
diff --git a/arch/arm/cpu/pxa/pxa2xx.c b/arch/arm/cpu/pxa/pxa2xx.c
index e7b475d162a..09e8177f7b8 100644
--- a/arch/arm/cpu/pxa/pxa2xx.c
+++ b/arch/arm/cpu/pxa/pxa2xx.c
@@ -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)));
diff --git a/arch/arm/include/asm/arch-pxa/pxa.h b/arch/arm/include/asm/arch-pxa/pxa.h
index 050b3cd8d82..49c6552c578 100644
--- a/arch/arm/include/asm/arch-pxa/pxa.h
+++ b/arch/arm/include/asm/arch-pxa/pxa.h
@@ -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__ */
diff --git a/board/balloon3/balloon3.c b/board/balloon3/balloon3.c
index ebee5e179c6..f360323c9b7 100644
--- a/board/balloon3/balloon3.c
+++ b/board/balloon3/balloon3.c
@@ -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;
}
diff --git a/board/colibri_pxa270/colibri_pxa270.c b/board/colibri_pxa270/colibri_pxa270.c
index 06f970b6675..d72e5d6b5a0 100644
--- a/board/colibri_pxa270/colibri_pxa270.c
+++ b/board/colibri_pxa270/colibri_pxa270.c
@@ -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;
}
diff --git a/board/lubbock/lubbock.c b/board/lubbock/lubbock.c
index e9e6bda4853..437f9447159 100644
--- a/board/lubbock/lubbock.c
+++ b/board/lubbock/lubbock.c
@@ -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;
}
diff --git a/board/palmld/palmld.c b/board/palmld/palmld.c
index 65bde83a1f6..2f1ad200808 100644
--- a/board/palmld/palmld.c
+++ b/board/palmld/palmld.c
@@ -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;
}
diff --git a/board/palmtc/palmtc.c b/board/palmtc/palmtc.c
index 414562bb855..4adf152a4ed 100644
--- a/board/palmtc/palmtc.c
+++ b/board/palmtc/palmtc.c
@@ -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;
}
diff --git a/board/pxa255_idp/pxa_idp.c b/board/pxa255_idp/pxa_idp.c
index 7b975f66741..877e8d9b2a8 100644
--- a/board/pxa255_idp/pxa_idp.c
+++ b/board/pxa255_idp/pxa_idp.c
@@ -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;
}
diff --git a/board/trizepsiv/conxs.c b/board/trizepsiv/conxs.c
index 008cdd86c0f..129119528fe 100644
--- a/board/trizepsiv/conxs.c
+++ b/board/trizepsiv/conxs.c
@@ -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;
}
diff --git a/board/vpac270/onenand.c b/board/vpac270/onenand.c
index dceb5b7c838..c2ae9a711b3 100644
--- a/board/vpac270/onenand.c
+++ b/board/vpac270/onenand.c
@@ -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);
diff --git a/board/vpac270/vpac270.c b/board/vpac270/vpac270.c
index bd2f2411247..dfdab9b6f68 100644
--- a/board/vpac270/vpac270.c
+++ b/board/vpac270/vpac270.c
@@ -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;
diff --git a/board/xaeniax/xaeniax.c b/board/xaeniax/xaeniax.c
index 9cc64bbd1cf..a4acf6c766a 100644
--- a/board/xaeniax/xaeniax.c
+++ b/board/xaeniax/xaeniax.c
@@ -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;
}
diff --git a/board/zipitz2/zipitz2.c b/board/zipitz2/zipitz2.c
index e72a5d9bd05..b093c2f51f8 100644
--- a/board/zipitz2/zipitz2.c
+++ b/board/zipitz2/zipitz2.c
@@ -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;
}