public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] fsl-layerscape: spl: remove duplicate init_early_memctl_regs()
@ 2016-04-27  1:43 Gong Qianyu
  2016-05-24 17:16 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Gong Qianyu @ 2016-04-27  1:43 UTC (permalink / raw)
  To: u-boot

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 <Qianyu.Gong@nxp.com>
---
 arch/arm/cpu/armv8/fsl-layerscape/spl.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c b/arch/arm/cpu/armv8/fsl-layerscape/spl.c
index c1229c8..4c8a9a0 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
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH 1/3] fsl-layerscape: spl: remove duplicate init_early_memctl_regs()
  2016-04-27  1:43 [U-Boot] [PATCH 1/3] fsl-layerscape: spl: remove duplicate init_early_memctl_regs() Gong Qianyu
@ 2016-05-24 17:16 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2016-05-24 17:16 UTC (permalink / raw)
  To: u-boot

On 04/26/2016 06:52 PM, Gong Qianyu wrote:
> 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 <Qianyu.Gong@nxp.com>
> ---
>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-24 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-27  1:43 [U-Boot] [PATCH 1/3] fsl-layerscape: spl: remove duplicate init_early_memctl_regs() Gong Qianyu
2016-05-24 17:16 ` York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox