arm: mach-k3: Enable dcache in SPL
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 18 May 2020 05:57:22 +0000 (07:57 +0200)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 19 May 2020 09:11:13 +0000 (14:41 +0530)
commitc02712a7484918648e5dd09c092035c7eeb7794a
treec039b0a9f623eefc534fb3dbffceacee041d61a7
parent6cfd09d4ed43ee401cc16f1dffabe7911b603380
arm: mach-k3: Enable dcache in SPL

Add support for enabling dcache already in SPL. It accelerates the boot
and resolves the risk to run into unaligned 64-bit accesses.

Based on original patch by Lokesh Vulta.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Acked-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-k3/am6_init.c
arch/arm/mach-k3/common.c
arch/arm/mach-k3/common.h
arch/arm/mach-k3/j721e_init.c
board/ti/am65x/evm.c