Skip to contentSkip to conversation

fsl-layerscape: spl: remove duplicate init_early_memctl_regs()

PATCH New Gong Qianyu 2 participants 2 messages Apr 27, 2016 – May 24, 2016 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 fsl-layerscape: spl: remove duplicate init_early_memctl_regs()

init_early_memctl_regs() will also be called in board_early_init_f(). So remove the duplicate call in spl code.

---
 arch/arm/cpu/armv8/fsl-layerscape/spl.c | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/cpu/armv8/fsl-layerscape/spl.c +0 -3
index c1229c8..4c8a9a0 100644
@@ -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
Signature · 1 line
2.1.0.27.g96db324
#1 lore raw

PATCH 1/3 fsl-layerscape: spl: remove duplicate init_early_memctl_regs()

Quoted 8 lines · Gong Qianyu

init_early_memctl_regs() will also be called in board_early_init_f(). So remove the duplicate call in spl code.

---
 arch/arm/cpu/armv8/fsl-layerscape/spl.c | 3 ---
 1 file changed, 3 deletions(-)

Applied to u-boot-fsl-qoriq master, awaiting upstream.

Thanks.

York