From 1f49dc3e91c4d3a35fcddaf468bc1b615ced8a6b Mon Sep 17 00:00:00 2001 From: Qianyu Gong Date: Wed, 27 Apr 2016 09:43:11 +0800 Subject: armv8: fsl-layerscape: spl: remove duplicate init_early_memctl_regs() init_early_memctl_regs() is also be called in board_early_init_f(). So remove the duplicated call in spl code. Signed-off-by: Gong Qianyu Reviewed-by: York Sun --- arch/arm/cpu/armv8/fsl-layerscape/spl.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch/arm/cpu') diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c b/arch/arm/cpu/armv8/fsl-layerscape/spl.c index c1229c88af..4c8a9a0ba4 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/spl.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/spl.c @@ -48,9 +48,6 @@ void board_init_f(ulong dummy) memset((void *)gd, 0, sizeof(gd_t)); #ifdef CONFIG_LS2080A arch_cpu_init(); -#endif -#ifdef CONFIG_FSL_IFC - init_early_memctl_regs(); #endif board_early_init_f(); timer_init(); -- cgit v1.2.1