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/evm
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/evm')
-rw-r--r--soc/am65x/evm/sec-cfg.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/soc/am65x/evm/sec-cfg.c b/soc/am65x/evm/sec-cfg.c
index 291b2af65..b15030749 100644
--- a/soc/am65x/evm/sec-cfg.c
+++ b/soc/am65x/evm/sec-cfg.c
@@ -71,4 +71,15 @@ const struct boardcfg_security am65_boardcfg_security_data = {
71 /* This is an array with 32 entries */ 71 /* This is an array with 32 entries */
72 .otp_entry = {{ 0 } }, 72 .otp_entry = {{ 0 } },
73 }, 73 },
74
75 /* DKEK configuration */
76 .dkek_config = {
77 .subhdr = {
78 .magic = BOARDCFG_DKEK_CFG_MAGIC_NUM,
79 .size = sizeof(struct boardcfg_dkek),
80 },
81 .allowed_hosts = { HOST_ID_ALL, 0, 0, 0 },
82 .allow_dkek_export_tisci = 0x5A,
83 .rsvd = {0, 0, 0},
84 },
74}; 85};