summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.c3
-rw-r--r--board/vpac270/vpac270.c2
-rw-r--r--board/xaeniax/xaeniax.c2
-rw-r--r--board/zipitz2/zipitz2.c2
11 files changed, 11 insertions, 12 deletions
diff --git a/board/balloon3/balloon3.c b/board/balloon3/balloon3.c
index 26e34e99d7..ebee5e179c 100644
--- a/board/balloon3/balloon3.c
+++ b/board/balloon3/balloon3.c
@@ -21,6 +21,7 @@
#include <common.h>
#include <asm/arch/hardware.h>
+#include <asm/arch/pxa.h>
#include <serial.h>
#include <asm/io.h>
#include <spartan3.h>
@@ -57,7 +58,6 @@ struct serial_device *default_serial_console(void)
return &serial_stuart_device;
}
-extern void pxa_dram_init(void);
int dram_init(void)
{
pxa_dram_init();
diff --git a/board/colibri_pxa270/colibri_pxa270.c b/board/colibri_pxa270/colibri_pxa270.c
index 42b541cfc0..06f970b667 100644
--- a/board/colibri_pxa270/colibri_pxa270.c
+++ b/board/colibri_pxa270/colibri_pxa270.c
@@ -22,6 +22,7 @@
#include <common.h>
#include <asm/arch/hardware.h>
#include <asm/arch/regs-mmc.h>
+#include <asm/arch/pxa.h>
#include <netdev.h>
#include <asm/io.h>
#include <serial.h>
@@ -48,7 +49,6 @@ int board_init(void)
return 0;
}
-extern void pxa_dram_init(void);
int dram_init(void)
{
pxa_dram_init();
diff --git a/board/lubbock/lubbock.c b/board/lubbock/lubbock.c
index f791c5b904..e9e6bda485 100644
--- a/board/lubbock/lubbock.c
+++ b/board/lubbock/lubbock.c
@@ -27,6 +27,7 @@
#include <common.h>
#include <netdev.h>
+#include <asm/arch/pxa.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -56,7 +57,6 @@ int board_late_init(void)
return 0;
}
-extern void pxa_dram_init(void);
int dram_init(void)
{
pxa_dram_init();
diff --git a/board/palmld/palmld.c b/board/palmld/palmld.c
index 5588fe732f..65bde83a1f 100644
--- a/board/palmld/palmld.c
+++ b/board/palmld/palmld.c
@@ -23,6 +23,7 @@
#include <command.h>
#include <serial.h>
#include <asm/arch/pxa-regs.h>
+#include <asm/arch/pxa.h>
#include <asm/io.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -56,7 +57,6 @@ struct serial_device *default_serial_console(void)
return &serial_ffuart_device;
}
-extern void pxa_dram_init(void);
int dram_init(void)
{
pxa_dram_init();
diff --git a/board/palmtc/palmtc.c b/board/palmtc/palmtc.c
index 25186aefa8..414562bb85 100644
--- a/board/palmtc/palmtc.c
+++ b/board/palmtc/palmtc.c
@@ -23,6 +23,7 @@
#include <command.h>
#include <serial.h>
#include <asm/io.h>
+#include <asm/arch/pxa.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -55,7 +56,6 @@ struct serial_device *default_serial_console(void)
return &serial_ffuart_device;
}
-extern void pxa_dram_init(void);
int dram_init(void)
{
pxa_dram_init();
diff --git a/board/pxa255_idp/pxa_idp.c b/board/pxa255_idp/pxa_idp.c
index 804d09c22b..7b975f6674 100644
--- a/board/pxa255_idp/pxa_idp.c
+++ b/board/pxa255_idp/pxa_idp.c
@@ -34,6 +34,7 @@
#include <netdev.h>
#include <command.h>
#include <asm/io.h>
+#include <asm/arch/pxa.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -83,7 +84,6 @@ int board_late_init(void)
return 0;
}
-extern void pxa_dram_init(void);
int dram_init(void)
{
pxa_dram_init();
diff --git a/board/trizepsiv/conxs.c b/board/trizepsiv/conxs.c
index 99f665b472..008cdd86c0 100644
--- a/board/trizepsiv/conxs.c
+++ b/board/trizepsiv/conxs.c
@@ -33,6 +33,7 @@
#include <common.h>
#include <asm/arch/pxa-regs.h>
+#include <asm/arch/pxa.h>
#include <netdev.h>
#include <asm/io.h>
@@ -139,7 +140,6 @@ struct serial_device *default_serial_console (void)
return &serial_ffuart_device;
}
-extern void pxa_dram_init(void);
int dram_init(void)
{
pxa_dram_init();
diff --git a/board/vpac270/onenand.c b/board/vpac270/onenand.c
index 6a0a37bcec..dceb5b7c83 100644
--- a/board/vpac270/onenand.c
+++ b/board/vpac270/onenand.c
@@ -26,8 +26,7 @@
#include <config.h>
#include <asm/io.h>
#include <onenand_uboot.h>
-
-extern void pxa_dram_init(void);
+#include <asm/arch/pxa.h>
void board_init_f(unsigned long unused)
{
diff --git a/board/vpac270/vpac270.c b/board/vpac270/vpac270.c
index d90a8596d1..bd2f241124 100644
--- a/board/vpac270/vpac270.c
+++ b/board/vpac270/vpac270.c
@@ -22,6 +22,7 @@
#include <common.h>
#include <asm/arch/hardware.h>
#include <asm/arch/regs-mmc.h>
+#include <asm/arch/pxa.h>
#include <netdev.h>
#include <serial.h>
#include <asm/io.h>
@@ -54,7 +55,6 @@ struct serial_device *default_serial_console(void)
return &serial_ffuart_device;
}
-extern void pxa_dram_init(void);
int dram_init(void)
{
#ifndef CONFIG_ONENAND
diff --git a/board/xaeniax/xaeniax.c b/board/xaeniax/xaeniax.c
index 40b0f3b30e..9cc64bbd1c 100644
--- a/board/xaeniax/xaeniax.c
+++ b/board/xaeniax/xaeniax.c
@@ -30,6 +30,7 @@
#include <common.h>
#include <netdev.h>
+#include <asm/arch/pxa.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -59,7 +60,6 @@ int board_late_init(void)
return 0;
}
-extern void pxa_dram_init(void);
int dram_init(void)
{
pxa_dram_init();
diff --git a/board/zipitz2/zipitz2.c b/board/zipitz2/zipitz2.c
index 9e6a0d51c4..e72a5d9bd0 100644
--- a/board/zipitz2/zipitz2.c
+++ b/board/zipitz2/zipitz2.c
@@ -27,6 +27,7 @@
#include <command.h>
#include <serial.h>
#include <asm/arch/hardware.h>
+#include <asm/arch/pxa.h>
#include <spi.h>
#include <asm/io.h>
@@ -65,7 +66,6 @@ struct serial_device *default_serial_console (void)
return &serial_stuart_device;
}
-extern void pxa_dram_init(void);
int dram_init(void)
{
pxa_dram_init();