summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQianyu Gong <qianyu.gong@nxp.com>2016-04-27 09:43:11 +0800
committerYork Sun <york.sun@nxp.com>2016-05-18 08:51:45 -0700
commit1f49dc3e91c4d3a35fcddaf468bc1b615ced8a6b (patch)
treec546f9c9b54dc175d09366d9d532032fc942eb35
parent9718650f8c37fe53727bde26ffc0ecba814008b5 (diff)
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 <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
-rw-r--r--arch/arm/cpu/armv8/fsl-layerscape/spl.c3
1 files changed, 0 insertions, 3 deletions
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
@@ -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