aboutsummaryrefslogtreecommitdiffstats
path: root/soc
diff options
context:
space:
mode:
authorSuman Anna2020-08-10 15:07:14 -0500
committerDave Gerlach2020-08-14 12:11:07 -0500
commit060498a9bf287260431139f69767f54eff3d159c (patch)
tree43b16d31b5ebfff9e4b2fff272fca2da828007be /soc
parent10d3f3d1de829e02edacfa3a5d1c660263ef0820 (diff)
downloadk3-image-gen-060498a9bf287260431139f69767f54eff3d159c.tar.gz
k3-image-gen-060498a9bf287260431139f69767f54eff3d159c.tar.xz
k3-image-gen-060498a9bf287260431139f69767f54eff3d159c.zip
sec-cfg: Add secure_debug_config section
Update the common.h headers to add new defines from SYSFW 2020.07-rc1. Starting from SYSFW v2020.07-rc1, a secure_debug_config section is mandatory in the security config. Otherwise the boot fails on all SoCs. Fix this by adding a section for secure_debug_config with appropriate parameters configured on all on AM65x, AM65x SR2.0, J721E and J7200 SoCs. Signed-off-by: Suman Anna <s-anna@ti.com>
Diffstat (limited to 'soc')
-rw-r--r--soc/am65x/evm/sec-cfg.c12
-rw-r--r--soc/am65x_sr2/evm/sec-cfg.c12
-rw-r--r--soc/j7200/evm/sec-cfg.c12
-rw-r--r--soc/j721e/evm/sec-cfg.c12
4 files changed, 48 insertions, 0 deletions
diff --git a/soc/am65x/evm/sec-cfg.c b/soc/am65x/evm/sec-cfg.c
index bb8a2f5fc..13007cd6f 100644
--- a/soc/am65x/evm/sec-cfg.c
+++ b/soc/am65x/evm/sec-cfg.c
@@ -91,4 +91,16 @@ const struct boardcfg_security am65_boardcfg_security_data = {
91 }, 91 },
92 .rsvd = {0, 0, 0, 0}, 92 .rsvd = {0, 0, 0, 0},
93 }, 93 },
94
95 /* Secure JTAG Unlock Configuration */
96 .sec_dbg_config = {
97 .subhdr = {
98 .magic = BOARDCFG_SEC_DBG_CTRL_MAGIC_NUM,
99 .size = sizeof(struct boardcfg_secure_debug_config),
100 },
101 .allow_jtag_unlock = 0x5A,
102 .allow_wildcard_unlock = 0x5A,
103 .min_cert_rev = 0x0,
104 .jtag_unlock_hosts = {0, 0, 0, 0},
105 },
94}; 106};
diff --git a/soc/am65x_sr2/evm/sec-cfg.c b/soc/am65x_sr2/evm/sec-cfg.c
index 43a55c153..486036fca 100644
--- a/soc/am65x_sr2/evm/sec-cfg.c
+++ b/soc/am65x_sr2/evm/sec-cfg.c
@@ -90,4 +90,16 @@ const struct boardcfg_security am65_boardcfg_security_data = {
90 }, 90 },
91 .rsvd = {0, 0, 0, 0}, 91 .rsvd = {0, 0, 0, 0},
92 }, 92 },
93
94 /* Secure JTAG Unlock Configuration */
95 .sec_dbg_config = {
96 .subhdr = {
97 .magic = BOARDCFG_SEC_DBG_CTRL_MAGIC_NUM,
98 .size = sizeof(struct boardcfg_secure_debug_config),
99 },
100 .allow_jtag_unlock = 0x5A,
101 .allow_wildcard_unlock = 0x5A,
102 .min_cert_rev = 0x0,
103 .jtag_unlock_hosts = {0, 0, 0, 0},
104 },
93}; 105};
diff --git a/soc/j7200/evm/sec-cfg.c b/soc/j7200/evm/sec-cfg.c
index 280f9296c..74b393891 100644
--- a/soc/j7200/evm/sec-cfg.c
+++ b/soc/j7200/evm/sec-cfg.c
@@ -90,4 +90,16 @@ const struct boardcfg_security j7200_boardcfg_security_data = {
90 }, 90 },
91 .rsvd = {0, 0, 0, 0}, 91 .rsvd = {0, 0, 0, 0},
92 }, 92 },
93
94 /* Secure JTAG Unlock Configuration */
95 .sec_dbg_config = {
96 .subhdr = {
97 .magic = BOARDCFG_SEC_DBG_CTRL_MAGIC_NUM,
98 .size = sizeof(struct boardcfg_secure_debug_config),
99 },
100 .allow_jtag_unlock = 0x5A,
101 .allow_wildcard_unlock = 0x5A,
102 .min_cert_rev = 0x0,
103 .jtag_unlock_hosts = {0, 0, 0, 0},
104 },
93}; 105};
diff --git a/soc/j721e/evm/sec-cfg.c b/soc/j721e/evm/sec-cfg.c
index ddbc04429..8391d276c 100644
--- a/soc/j721e/evm/sec-cfg.c
+++ b/soc/j721e/evm/sec-cfg.c
@@ -91,4 +91,16 @@ const struct boardcfg_security j721e_boardcfg_security_data = {
91 }, 91 },
92 .rsvd = {0, 0, 0, 0}, 92 .rsvd = {0, 0, 0, 0},
93 }, 93 },
94
95 /* Secure JTAG Unlock Configuration */
96 .sec_dbg_config = {
97 .subhdr = {
98 .magic = BOARDCFG_SEC_DBG_CTRL_MAGIC_NUM,
99 .size = sizeof(struct boardcfg_secure_debug_config),
100 },
101 .allow_jtag_unlock = 0x5A,
102 .allow_wildcard_unlock = 0x5A,
103 .min_cert_rev = 0x0,
104 .jtag_unlock_hosts = {0, 0, 0, 0},
105 },
94}; 106};