summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2016-02-27 19:18:57 +0100
committerTom Rini <trini@konsulko.com>2016-03-15 15:12:46 -0400
commit3832e54673789e2b784ce401b50eef7c2af5e2b0 (patch)
tree403310c306e958eccdf822d607c6e3b33a93cd9d /arch
parent3ef56e61c8cbfdfdca155f5b1e2cd4d5cb5e048a (diff)
downloadtalos-obmc-uboot-3832e54673789e2b784ce401b50eef7c2af5e2b0.tar.gz
talos-obmc-uboot-3832e54673789e2b784ce401b50eef7c2af5e2b0.zip
omap-common: Remove deprecated arch_cpu_init code
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/omap-common/hwinit-common.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/hwinit-common.c b/arch/arm/cpu/armv7/omap-common/hwinit-common.c
index 61bb56c385..01c2d576c9 100644
--- a/arch/arm/cpu/armv7/omap-common/hwinit-common.c
+++ b/arch/arm/cpu/armv7/omap-common/hwinit-common.c
@@ -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
*
OpenPOWER on IntegriCloud