]> git.sur5r.net Git - u-boot/commitdiff
omap-common: Remove deprecated arch_cpu_init code
authorPaul Kocialkowski <contact@paulk.fr>
Sat, 27 Feb 2016 18:18:57 +0000 (19:18 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Mar 2016 19:12:46 +0000 (15:12 -0400)
save_omap_boot_params is called from spl_board_init in the SPL context. Thus,
there is no reason to duplicate that call on arch_cpu_init.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
arch/arm/cpu/armv7/omap-common/hwinit-common.c
include/configs/ti_omap4_common.h
include/configs/ti_omap5_common.h

index 61bb56c385eb1a2187eeb4a5682bc31d424ab703..01c2d576c99ba5b5c088a55636f35141c2458a5c 100644 (file)
@@ -84,19 +84,6 @@ void __weak srcomp_enable(void)
 {
 }
 
-#ifdef CONFIG_ARCH_CPU_INIT
-/*
- * SOC specific cpu init
- */
-int arch_cpu_init(void)
-{
-#ifdef CONFIG_SPL
-       save_omap_boot_params();
-#endif
-       return 0;
-}
-#endif /* CONFIG_ARCH_CPU_INIT */
-
 /**
  * do_board_detect() - Detect board description
  *
index 8b6c0658e85e9c5ffc2e756f70a10e5a64c8732e..72ed0b9ba9238ccf10849105a33c5abfc60ac871 100644 (file)
@@ -17,7 +17,6 @@
  */
 #define CONFIG_OMAP4430                1       /* which is in a 4430 */
 #define CONFIG_MISC_INIT_R
-#define CONFIG_ARCH_CPU_INIT
 #define CONFIG_DISPLAY_CPUINFO         1
 #define CONFIG_DISPLAY_BOARDINFO       1
 
index d373cbc44a162b139cbf4c30f6ebb39136506a67..6143ec1aab9fb8e6fa943fec605a3a0bc46cca64 100644 (file)
@@ -19,7 +19,6 @@
 
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
-#define CONFIG_ARCH_CPU_INIT
 
 /* Common ARM Erratas */
 #define CONFIG_ARM_ERRATA_798870