summaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/include/mach/sys_proto.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2020-08-05 22:44:19 +0530
committerLokesh Vutla <lokeshvutla@ti.com>2020-08-11 20:34:46 +0530
commit2a18be77def6ce8967cb24770a2c0838125d2da5 (patch)
treeabfdec3e278d6c0dfbe33ed2fe093fda76e8a768 /arch/arm/mach-k3/include/mach/sys_proto.h
parentdc57a554a5af936f1127d2af03fa9281a6c1d4e1 (diff)
arm: mach-k3: j721e: Add detection for j721e
Add an api soc_is_j721e(), and use it to enable certain functionality that is available only on j721e. This detection is needed when DT is not available. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
Diffstat (limited to 'arch/arm/mach-k3/include/mach/sys_proto.h')
-rw-r--r--arch/arm/mach-k3/include/mach/sys_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/include/mach/sys_proto.h b/arch/arm/mach-k3/include/mach/sys_proto.h
index 3c825aa3d1..48b11178c3 100644
--- a/arch/arm/mach-k3/include/mach/sys_proto.h
+++ b/arch/arm/mach-k3/include/mach/sys_proto.h
@@ -16,4 +16,6 @@ int do_board_detect(void);
void release_resources_for_core_shutdown(void);
int fdt_disable_node(void *blob, char *node_path);
+bool soc_is_j721e(void);
+
#endif