armv8: fsl-layerscape: spl: remove duplicate init_early_memctl_regs()
authorQianyu Gong <qianyu.gong@nxp.com>
Wed, 27 Apr 2016 01:43:11 +0000 (09:43 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 18 May 2016 15:51:45 +0000 (08:51 -0700)
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 <Qianyu.Gong@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/spl.c

index c1229c8..4c8a9a0 100644 (file)
@@ -49,9 +49,6 @@ void board_init_f(ulong dummy)
 #ifdef CONFIG_LS2080A
        arch_cpu_init();
 #endif
-#ifdef CONFIG_FSL_IFC
-       init_early_memctl_regs();
-#endif
        board_early_init_f();
        timer_init();
 #ifdef CONFIG_LS2080A