From: Qianyu Gong Date: Wed, 27 Apr 2016 01:43:11 +0000 (+0800) Subject: armv8: fsl-layerscape: spl: remove duplicate init_early_memctl_regs() X-Git-Tag: v2016.07-rc1~173^2~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1f49dc3e91c4d3a35fcddaf468bc1b615ced8a6b;p=u-boot 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 --- 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();