diff options
author | Suman Anna | 2020-08-10 15:07:14 -0500 |
---|---|---|
committer | Dave Gerlach | 2020-08-14 12:11:07 -0500 |
commit | 060498a9bf287260431139f69767f54eff3d159c (patch) | |
tree | 43b16d31b5ebfff9e4b2fff272fca2da828007be /soc/am65x/evm | |
parent | 10d3f3d1de829e02edacfa3a5d1c660263ef0820 (diff) | |
download | k3-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/evm')
-rw-r--r-- | soc/am65x/evm/sec-cfg.c | 12 |
1 files changed, 12 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 | }; |