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 c1229c88af135f8cb465123719e07b5d4a4b353c..4c8a9a0ba44d3be318c95e14930b9e109731e9d5 100644 (file)
@@ -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();