[U-Boot] [PATCH] L3 cache : arch : arm : lib : Flush L3 after relocation

Meenakshi Aggarwal meenakshi.aggarwal at nxp.com
Mon Feb 18 18:38:30 UTC 2019


Flush L3 cache after uboot relocated to DDR.

Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal at nxp.com>
Signed-off-by: Udit Kumar <udit.kumar at nxp.com>
---
 arch/arm/lib/relocate_64.S | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/lib/relocate_64.S b/arch/arm/lib/relocate_64.S
index 171d094..7603f52 100644
--- a/arch/arm/lib/relocate_64.S
+++ b/arch/arm/lib/relocate_64.S
@@ -85,6 +85,7 @@ relocate_done:
 	isb	sy
 4:	ldp	x0, x1, [sp, #16]
 	bl	__asm_flush_dcache_range
+	bl     __asm_flush_l3_dcache
 5:	ldp	x29, x30, [sp],#32
 	ret
 ENDPROC(relocate_code)
-- 
1.9.1



More information about the U-Boot mailing list