]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: mx28: Remove CONFIG_ARCH_CPU_INIT
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 1 Mar 2012 04:02:40 +0000 (04:02 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:44 +0000 (14:07 +0200)
No need to define CONFIG_ARCH_CPU_INIT.

All mx28 based boards should use arch_cpu_init().

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
arch/arm/cpu/arm926ejs/mx28/mx28.c
include/configs/m28evk.h
include/configs/mx28evk.h

index a82ff2564bdbf6c81002e63604daa5741626b02e..ff25772099b5bccbebaa63cc6189d1d3494c3ee9 100644 (file)
@@ -153,7 +153,6 @@ int arch_misc_init(void)
 }
 #endif
 
-#ifdef CONFIG_ARCH_CPU_INIT
 int arch_cpu_init(void)
 {
        struct mx28_clkctrl_regs *clkctrl_regs =
@@ -187,7 +186,6 @@ int arch_cpu_init(void)
 
        return 0;
 }
-#endif
 
 #if defined(CONFIG_DISPLAY_CPUINFO)
 int print_cpuinfo(void)
index a0e90ca694ae12379fda67594a9720cb032c75f5..f12d927e0389034c7339902efcded0140eb0a0f9 100644 (file)
@@ -40,7 +40,6 @@
 #define        CONFIG_SYS_ICACHE_OFF
 #define        CONFIG_SYS_DCACHE_OFF
 #define        CONFIG_BOARD_EARLY_INIT_F
-#define        CONFIG_ARCH_CPU_INIT
 #define        CONFIG_ARCH_MISC_INIT
 
 /*
index 640dcb4be7cb4a38795d9dff6eb648d9d6303f3a..8f60496d355009c203975976d0abec2286364b8e 100644 (file)
@@ -34,7 +34,6 @@
 #define CONFIG_SYS_ICACHE_OFF
 #define CONFIG_SYS_DCACHE_OFF
 #define CONFIG_BOARD_EARLY_INIT_F
-#define CONFIG_ARCH_CPU_INIT
 #define CONFIG_ARCH_MISC_INIT
 
 /*