]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arch: arm: lib: Flush L3 after relocation to DDR
authorMeenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Mon, 18 Feb 2019 18:38:30 +0000 (00:08 +0530)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Tue, 19 Feb 2019 04:56:43 +0000 (10:26 +0530)
Flush L3 cache after uboot relocated to DDR.

Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Signed-off-by: Udit Kumar <udit.kumar@nxp.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
arch/arm/lib/relocate_64.S

index 171d094c334f9654b1feb6a0b7bfe33368360e68..7603f527748f4232e184fbe60eb38ebecb4985e2 100644 (file)
@@ -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)