Commit 4438a45f authored by Marek Vasut's avatar Marek Vasut Committed by Albert ARIBAUD

PXA: Squash extern pxa_dram_init()

Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
parent 77b04c57
......@@ -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();
......
......@@ -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();
......
......@@ -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();
......
......@@ -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();
......
......@@ -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();
......
......@@ -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();
......
......@@ -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();
......
......@@ -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)
{
......
......@@ -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
......
......@@ -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();
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment