move s3c44b0 to arch_cpu_init and as noone use cpu_init remove it Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
@@ -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);
@@ -40,11 +40,6 @@
#endif
@@ -35,11 +35,6 @@
@@ -36,11 +36,6 @@
@@ -42,11 +42,6 @@ void l2cache_disable(void);
-int cpu_init(void)
int cleanup_before_linux(void)
unsigned int i;
@@ -33,11 +33,6 @@
#include <common.h>
#include <command.h>
@@ -75,11 +75,6 @@ int print_cpuinfo (void)
}
#endif /* CONFIG_DISPLAY_CPUINFO */
@@ -32,7 +32,7 @@
#include <asm/hardware.h>
+int arch_cpu_init (void)
icache_enable();
@@ -40,11 +40,6 @@ DECLARE_GLOBAL_DATA_PTR;
@@ -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 */