arm: remove cpu_init

move s3c44b0 to arch_cpu_init and as noone use cpu_init remove it

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2009-05-09 13:21:19 +02:00 committed by Wolfgang Denk
parent c358d9c3f1
commit ad7e8aac69
16 changed files with 2 additions and 67 deletions

View file

@ -37,11 +37,6 @@
static void cache_flush(void); static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void) int cleanup_before_linux (void)
{ {
/* /*

View file

@ -38,11 +38,6 @@
static void cache_flush (void); static void cache_flush (void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void) int cleanup_before_linux (void)
{ {
/* /*

View file

@ -40,11 +40,6 @@
static void cache_flush(void); static void cache_flush(void);
#endif #endif
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void) int cleanup_before_linux (void)
{ {
/* /*

View file

@ -35,11 +35,6 @@
static void cache_flush(void); static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void) int cleanup_before_linux (void)
{ {
/* /*

View file

@ -36,11 +36,6 @@
static void cache_flush(void); static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void) int cleanup_before_linux (void)
{ {
/* /*

View file

@ -35,11 +35,6 @@
static void cache_flush(void); static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void) int cleanup_before_linux (void)
{ {
/* /*

View file

@ -35,11 +35,6 @@
static void cache_flush(void); static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void) int cleanup_before_linux (void)
{ {
/* /*

View file

@ -42,11 +42,6 @@ void l2cache_disable(void);
static void cache_flush(void); static void cache_flush(void);
int cpu_init(void)
{
return 0;
}
int cleanup_before_linux(void) int cleanup_before_linux(void)
{ {
unsigned int i; unsigned int i;

View file

@ -33,11 +33,6 @@
#include <common.h> #include <common.h>
#include <command.h> #include <command.h>
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void) int cleanup_before_linux (void)
{ {
/* /*

View file

@ -75,11 +75,6 @@ int print_cpuinfo (void)
} }
#endif /* CONFIG_DISPLAY_CPUINFO */ #endif /* CONFIG_DISPLAY_CPUINFO */
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void) int cleanup_before_linux (void)
{ {
/* /*

View file

@ -35,11 +35,6 @@
static void cache_flush(void); static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void) int cleanup_before_linux (void)
{ {
/* /*

View file

@ -37,11 +37,6 @@
static void cache_flush(void); static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void) int cleanup_before_linux (void)
{ {
/* /*

View file

@ -32,7 +32,7 @@
#include <command.h> #include <command.h>
#include <asm/hardware.h> #include <asm/hardware.h>
int cpu_init (void) int arch_cpu_init (void)
{ {
icache_enable(); icache_enable();

View file

@ -40,11 +40,6 @@ DECLARE_GLOBAL_DATA_PTR;
static void cache_flush(void); static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void) int cleanup_before_linux (void)
{ {
/* /*

View file

@ -39,6 +39,7 @@
#define CONFIG_ARM_THUMB 1 /* this is an ARM7TDMI */ #define CONFIG_ARM_THUMB 1 /* this is an ARM7TDMI */
#undef CONFIG_ARM7_REVD /* disable ARM720 REV.D Workarounds */ #undef CONFIG_ARM7_REVD /* disable ARM720 REV.D Workarounds */
#define CONFIG_SYS_NO_CP15_CACHE #define CONFIG_SYS_NO_CP15_CACHE
#define CONFIG_ARCH_CPU_INIT
#define CONFIG_S3C44B0_CLOCK_SPEED 75 /* we have a 75Mhz S3C44B0*/ #define CONFIG_S3C44B0_CLOCK_SPEED 75 /* we have a 75Mhz S3C44B0*/

View file

@ -265,7 +265,6 @@ typedef int (init_fnc_t) (void);
int print_cpuinfo (void); int print_cpuinfo (void);
init_fnc_t *init_sequence[] = { init_fnc_t *init_sequence[] = {
cpu_init, /* basic cpu dependent setup */
#if defined(CONFIG_ARCH_CPU_INIT) #if defined(CONFIG_ARCH_CPU_INIT)
arch_cpu_init, /* basic arch cpu dependent setup */ arch_cpu_init, /* basic arch cpu dependent setup */
#endif #endif