summaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/common.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2020-05-18 07:57:22 +0200
committerLokesh Vutla <lokeshvutla@ti.com>2020-05-19 14:41:13 +0530
commitc02712a7484918648e5dd09c092035c7eeb7794a (patch)
treec039b0a9f623eefc534fb3dbffceacee041d61a7 /arch/arm/mach-k3/common.h
parent6cfd09d4ed43ee401cc16f1dffabe7911b603380 (diff)
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>
Diffstat (limited to 'arch/arm/mach-k3/common.h')
-rw-r--r--arch/arm/mach-k3/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/common.h b/arch/arm/mach-k3/common.h
index 57682e1973..94cdcb56ad 100644
--- a/arch/arm/mach-k3/common.h
+++ b/arch/arm/mach-k3/common.h
@@ -27,3 +27,4 @@ void remove_fwl_configs(struct fwl_data *fwl_data, size_t fwl_data_size);
void start_non_linux_remote_cores(void);
int load_firmware(char *name_fw, char *name_loadaddr, u32 *loadaddr);
void k3_sysfw_print_ver(void);
+void spl_enable_dcache(void);