aboutsummaryrefslogtreecommitdiffstats
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/am65x_sr2
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/am65x_sr2')
-rw-r--r--soc/am65x_sr2/evm/sec-cfg.c12
1 files changed, 12 insertions, 0 deletions
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};