fsl-layerscape: spl: remove duplicate init_early_memctl_regs()
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.
Signed-off-by Gong Qianyu <[email protected]>
--- arch/arm/cpu/armv8/fsl-layerscape/spl.c | 3 --- 1 file changed, 3 deletions(-)
arch/arm/cpu/armv8/fsl-layerscape/spl.c +0 -3
@@ -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
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 inboard_early_init_f(). So remove the duplicate call in spl code.Signed-off-by Gong Qianyu <[email protected]>--- 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