public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] armv8: fsl-layerscape: Remove unnecessary flushing dcache
@ 2016-04-22  2:37 Alison Wang
  2016-05-24 17:10 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Alison Wang @ 2016-04-22  2:37 UTC (permalink / raw)
  To: u-boot

As the issue about the stack will get corrupted when switching between
the early and final mmu tables is fixed by commit
70e21b06425ad6e1e90931333a704a600941cfff, the workaround to flush dcache
is unnecessary and will be removed.

Signed-off-by: Alison Wang <alison.wang@nxp.com>
---
 arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
index d939900..9a5a6b5 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
@@ -396,9 +396,6 @@ static inline void final_mmu_setup(void)
 	flush_dcache_range((ulong)level0_table,
 			   (ulong)level0_table + gd->arch.tlb_size);
 
-#ifdef CONFIG_SYS_DPAA_FMAN
-	flush_dcache_all();
-#endif
 	/* point TTBR to the new table */
 	set_ttbr_tcr_mair(el, (u64)level0_table, LAYERSCAPE_TCR_FINAL,
 			  MEMORY_ATTRIBUTES);
-- 
2.1.0.27.g96db324

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

* [U-Boot] [PATCH] armv8: fsl-layerscape: Remove unnecessary flushing dcache
  2016-04-22  2:37 [U-Boot] [PATCH] armv8: fsl-layerscape: Remove unnecessary flushing dcache Alison Wang
@ 2016-05-24 17:10 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2016-05-24 17:10 UTC (permalink / raw)
  To: u-boot

On 04/21/2016 07:46 PM, Alison Wang wrote:
> As the issue about the stack will get corrupted when switching between
> the early and final mmu tables is fixed by commit
> 70e21b06425ad6e1e90931333a704a600941cfff, the workaround to flush dcache
> is unnecessary and will be removed.
> 
> Signed-off-by: Alison Wang <alison.wang@nxp.com>
> ---
>  arch/arm/cpu/armv8/fsl-layerscape/cpu.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:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-22  2:37 [U-Boot] [PATCH] armv8: fsl-layerscape: Remove unnecessary flushing dcache Alison Wang
2016-05-24 17:10 ` York Sun

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