aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Gerlach2020-04-22 16:03:49 -0500
committerDave Gerlach2020-04-23 15:09:38 -0500
commit6d96ae8865fc0dc6df019e474e0c580bf3057524 (patch)
treeeeb95b0d86b4ee1ba5e45196d5df3349a45741e8 /soc/am65x_sr2
parentc9e26b71b5349d885eb0866e0edffd983f5d505b (diff)
downloadk3-image-gen-6d96ae8865fc0dc6df019e474e0c580bf3057524.tar.gz
k3-image-gen-6d96ae8865fc0dc6df019e474e0c580bf3057524.tar.xz
k3-image-gen-6d96ae8865fc0dc6df019e474e0c580bf3057524.zip
sec-cfg: Add dkek_config section
Update the common.h headers to add new defines from SYSFW 2020.03. Starting from SYSFW v2020.03, a dkek_config section is mandatory in the security config. Otherwise the boot fails. Fix this by adding a section for dkek_config with HOST_ID_ALL in allowed_hosts and allow_dkek_export_tisci set. Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Tested-by: Suman Anna <s-anna@ti.com>
Diffstat (limited to 'soc/am65x_sr2')
-rw-r--r--soc/am65x_sr2/evm/sec-cfg.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/soc/am65x_sr2/evm/sec-cfg.c b/soc/am65x_sr2/evm/sec-cfg.c
index ea7007664..9e1cfb9c5 100644
--- a/soc/am65x_sr2/evm/sec-cfg.c
+++ b/soc/am65x_sr2/evm/sec-cfg.c
@@ -70,4 +70,15 @@ const struct boardcfg_security am65_boardcfg_security_data = {
70 /* This is an array with 32 entries */ 70 /* This is an array with 32 entries */
71 .otp_entry = {{ 0 } }, 71 .otp_entry = {{ 0 } },
72 }, 72 },
73
74 /* DKEK configuration */
75 .dkek_config = {
76 .subhdr = {
77 .magic = BOARDCFG_DKEK_CFG_MAGIC_NUM,
78 .size = sizeof(struct boardcfg_dkek),
79 },
80 .allowed_hosts = { HOST_ID_ALL, 0, 0, 0 },
81 .allow_dkek_export_tisci = 0x5A,
82 .rsvd = {0, 0, 0},
83 },
73}; 84};