summaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/common.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2020-08-05 22:44:23 +0530
committerLokesh Vutla <lokeshvutla@ti.com>2020-08-11 20:34:46 +0530
commit01dbe366ba2d0eda00bbfac19b105eaa7f635d73 (patch)
tree90fdfefaf49266bc4c2d69845c6f3958895c8a82 /arch/arm/mach-k3/common.h
parent9c8f41beea79ec5b44df460947254b43f6d4ed9c (diff)
arm: mach-k3: j7200: Detect if ROM has already loaded sysfw
Detect if sysfw is already loaded by ROM and pass this information to sysfw loader. Based on this information sysfw loader either loads the sysfw image from boot media or just receives the boot notification message form sysfw. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Suman Anna <s-anna@ti.com>
Diffstat (limited to 'arch/arm/mach-k3/common.h')
-rw-r--r--arch/arm/mach-k3/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/common.h b/arch/arm/mach-k3/common.h
index 32d07340bfd..a6dbc7808b8 100644
--- a/arch/arm/mach-k3/common.h
+++ b/arch/arm/mach-k3/common.h
@@ -7,6 +7,7 @@
*/
#include <asm/armv7_mpu.h>
+#include <asm/hardware.h>
#define J721E 0xbb64
#define J7200 0xbb6d
@@ -26,3 +27,4 @@ int load_firmware(char *name_fw, char *name_loadaddr, u32 *loadaddr);
void k3_sysfw_print_ver(void);
void spl_enable_dcache(void);
void mmr_unlock(phys_addr_t base, u32 partition);
+bool is_rom_loaded_sysfw(struct rom_extended_boot_data *data);