summaryrefslogtreecommitdiff
path: root/board/vpac270
diff options
context:
space:
mode:
Diffstat (limited to 'board/vpac270')
-rw-r--r--board/vpac270/onenand.c3
-rw-r--r--board/vpac270/vpac270.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/board/vpac270/onenand.c b/board/vpac270/onenand.c
index 6a0a37b..dceb5b7 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 d90a859..bd2f241 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