提交 ad7e8aac 编写于 作者: J Jean-Christophe PLAGNIOL-VILLARD 提交者: Wolfgang Denk

arm: remove cpu_init

move s3c44b0 to arch_cpu_init and as noone use cpu_init remove it
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
上级 c358d9c3
......@@ -37,11 +37,6 @@
static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void)
{
/*
......
......@@ -38,11 +38,6 @@
static void cache_flush (void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void)
{
/*
......
......@@ -40,11 +40,6 @@
static void cache_flush(void);
#endif
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void)
{
/*
......
......@@ -35,11 +35,6 @@
static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void)
{
/*
......
......@@ -36,11 +36,6 @@
static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void)
{
/*
......
......@@ -35,11 +35,6 @@
static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void)
{
/*
......
......@@ -35,11 +35,6 @@
static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void)
{
/*
......
......@@ -42,11 +42,6 @@ void l2cache_disable(void);
static void cache_flush(void);
int cpu_init(void)
{
return 0;
}
int cleanup_before_linux(void)
{
unsigned int i;
......
......@@ -33,11 +33,6 @@
#include <common.h>
#include <command.h>
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void)
{
/*
......
......@@ -75,11 +75,6 @@ int print_cpuinfo (void)
}
#endif /* CONFIG_DISPLAY_CPUINFO */
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void)
{
/*
......
......@@ -35,11 +35,6 @@
static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void)
{
/*
......
......@@ -37,11 +37,6 @@
static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void)
{
/*
......
......@@ -32,7 +32,7 @@
#include <command.h>
#include <asm/hardware.h>
int cpu_init (void)
int arch_cpu_init (void)
{
icache_enable();
......
......@@ -40,11 +40,6 @@ DECLARE_GLOBAL_DATA_PTR;
static void cache_flush(void);
int cpu_init (void)
{
return 0;
}
int cleanup_before_linux (void)
{
/*
......
......@@ -39,6 +39,7 @@
#define CONFIG_ARM_THUMB 1 /* this is an ARM7TDMI */
#undef CONFIG_ARM7_REVD /* disable ARM720 REV.D Workarounds */
#define CONFIG_SYS_NO_CP15_CACHE
#define CONFIG_ARCH_CPU_INIT
#define CONFIG_S3C44B0_CLOCK_SPEED 75 /* we have a 75Mhz S3C44B0*/
......
......@@ -265,7 +265,6 @@ typedef int (init_fnc_t) (void);
int print_cpuinfo (void);
init_fnc_t *init_sequence[] = {
cpu_init, /* basic cpu dependent setup */
#if defined(CONFIG_ARCH_CPU_INIT)
arch_cpu_init, /* basic arch cpu dependent setup */
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册