summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0d788bd)
raw | patch | inline | side by side (parent: 0d788bd)
author | Bryan Brattlof <bb@ti.com> | |
Tue, 1 Feb 2022 20:37:27 +0000 (14:37 -0600) | ||
committer | Bryan Brattlof <bb@ti.com> | |
Wed, 18 May 2022 22:24:19 +0000 (17:24 -0500) |
Add the initial identification support for the j721s2 SoC
Signed-off-by: Bryan Brattlof <bb@ti.com>
Signed-off-by: Bryan Brattlof <bb@ti.com>
common/socinfo.c | patch | blob | history | |
include/socinfo.h | patch | blob | history |
diff --git a/common/socinfo.c b/common/socinfo.c
index f4f001907c7ebd076d5acff271daca4234964281..851e2dbd24975b62599fa4a06a228c14b5610c7b 100644 (file)
--- a/common/socinfo.c
+++ b/common/socinfo.c
soc_info.sec_proxy = &k3_generic_sec_proxy_base;
}
+static void j721s2_init(void)
+{
+ struct ti_sci_info *sci_info = &soc_info.sci_info;
+
+ soc_info.host_id = DEFAULT_HOST_ID;
+ soc_info.sec_proxy = &k3_generic_sec_proxy_base;
+}
+
static void j721e_init(void)
{
struct ti_sci_info *sci_info = &soc_info.sci_info;
case AM65X:
name = "AM65x";
break;
+ case J721S2:
+ name = "J721S2";
+ break;
case J721E:
name = "J721E";
break;
am654_init();
else if (soc_info.soc == AM65X && soc_info.rev == REV_SR2_0)
am654_sr2_init();
+ else if (soc_info.soc == J721S2)
+ j721s2_init();
else if (soc_info.soc == J721E)
j721e_init();
else if (soc_info.soc == J7200)
diff --git a/include/socinfo.h b/include/socinfo.h
index 1585b35b5da9be5ed177bcf99835bf51c4155e91..bd29bcd24a62bc0d85f357539ac75713d7a3cb1e 100644 (file)
--- a/include/socinfo.h
+++ b/include/socinfo.h
#define J721E 0xbb64
#define J7200 0xbb6d
#define AM64X 0xbb38
+#define J721S2 0xbb75
typedef enum {
REV_SR1_0,