diff options
author | Marek Vasut | 2011-11-26 11:17:32 +0100 |
---|---|---|
committer | Albert ARIBAUD | 2011-12-06 23:59:33 +0100 |
commit | 4438a45f4d6abd4b65998dd76528c4705b93b4b5 (patch) | |
tree | 644b6517fa8bc7199b074bc9784faea4bd5e7033 /board/vpac270 | |
parent | 77b04c578c161840c9fd696ef66cf84f165838f8 (diff) |
PXA: Squash extern pxa_dram_init()
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'board/vpac270')
-rw-r--r-- | board/vpac270/onenand.c | 3 | ||||
-rw-r--r-- | board/vpac270/vpac270.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/board/vpac270/onenand.c b/board/vpac270/onenand.c index 6a0a37bcecc..dceb5b7c838 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 d90a8596d1e..bd2f2411247 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 |