aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/common.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-10-25 17:33:28 -0400
committerTom Rini <trini@konsulko.com>2019-10-25 17:33:28 -0400
commit15147dc6a96697880cf355ed9df127bd8c896f2c (patch)
treecb4f364950e04426e5631ce78a0eaa0dbc4d250b /arch/arm/mach-k3/common.c
parent271103ac0b8ff627007f83d379927b60bcccb702 (diff)
parentd0e134b909f75db080c9364bfb84d6bf1d724844 (diff)
Merge branch '2019-10-24-ti-imports'
- Enable DFU on dra7xx boards - Further Keystone 3 platform improvements
Diffstat (limited to 'arch/arm/mach-k3/common.c')
-rw-r--r--arch/arm/mach-k3/common.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c
index f8274b39d6..bf631b74f8 100644
--- a/arch/arm/mach-k3/common.c
+++ b/arch/arm/mach-k3/common.c
@@ -233,3 +233,14 @@ int print_cpuinfo(void)
return 0;
}
#endif
+
+#ifdef CONFIG_ARM64
+void board_prep_linux(bootm_headers_t *images)
+{
+ debug("Linux kernel Image start = 0x%lx end = 0x%lx\n",
+ images->os.start, images->os.end);
+ __asm_flush_dcache_range(images->os.start,
+ ROUND(images->os.end,
+ CONFIG_SYS_CACHELINE_SIZE));
+}
+#endif