summaryrefslogtreecommitdiffstats
path: root/arch
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 /arch
parent9718650f8c37fe53727bde26ffc0ecba814008b5 (diff)
downloadu-boot-1f49dc3e91c4d3a35fcddaf468bc1b615ced8a6b.tar.gz
u-boot-1f49dc3e91c4d3a35fcddaf468bc1b615ced8a6b.tar.xz
u-boot-1f49dc3e91c4d3a35fcddaf468bc1b615ced8a6b.zip
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>
Diffstat (limited to 'arch')
-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