summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Gerlach2020-04-30 19:27:07 -0500
committerDave Gerlach2020-05-04 17:31:21 -0500
commitc7c9e7629015ecbd663c73fb734045bcbd84ec93 (patch)
tree468817217e68e0d005314f5c2972d3b17618aefa /include/common.h
parent79f3807e0b169f2029dec9f3a679c231f4deb625 (diff)
downloadk3-image-gen-c7c9e7629015ecbd663c73fb734045bcbd84ec93.tar.gz
k3-image-gen-c7c9e7629015ecbd663c73fb734045bcbd84ec93.tar.xz
k3-image-gen-c7c9e7629015ecbd663c73fb734045bcbd84ec93.zip
sec-cfg: Add sa2ul_config section
Update the common.h headers to add new defines from SYSFW 2020.04. Starting from SYSFW v2020.04, an sa2ul_config section is mandatory in the security config. Otherwise the boot fails. Fix this by adding a section for sa2ul_config with all parameters configured to 0. Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index af01a4396..08b9b4bda 100644
--- a/include/common.h
+++ b/include/common.h
@@ -81,6 +81,7 @@ typedef u8 ftbool;
81#define BOARDCFG_PMIC_CFG_MAGIC_NUM 0x3172 81#define BOARDCFG_PMIC_CFG_MAGIC_NUM 0x3172
82#define BOARDCFG_OTP_CFG_MAGIC_NUM 0x4081 82#define BOARDCFG_OTP_CFG_MAGIC_NUM 0x4081
83#define BOARDCFG_DKEK_CFG_MAGIC_NUM 0x5170 83#define BOARDCFG_DKEK_CFG_MAGIC_NUM 0x5170
84#define BOARDCFG_SA2UL_CFG_MAGIC_NUM_RSVD 0x23BE
84 85
85struct boardcfg_substructure_header { 86struct boardcfg_substructure_header {
86 u16 magic; 87 u16 magic;
@@ -241,12 +242,18 @@ struct boardcfg_dkek {
241 u8 rsvd[3]; 242 u8 rsvd[3];
242} __attribute__((__packed__)); 243} __attribute__((__packed__));
243 244
245struct boardcfg_sa2ul_cfg {
246 struct boardcfg_substructure_header subhdr;
247 u8 rsvd[4];
248};
249
244struct boardcfg_security { 250struct boardcfg_security {
245 struct boardcfg_abi_rev rev; 251 struct boardcfg_abi_rev rev;
246 struct boardcfg_proc_acl processor_acl_list; 252 struct boardcfg_proc_acl processor_acl_list;
247 struct boardcfg_host_hierarchy host_hierarchy; 253 struct boardcfg_host_hierarchy host_hierarchy;
248 struct boardcfg_extended_otp otp_config; 254 struct boardcfg_extended_otp otp_config;
249 struct boardcfg_dkek dkek_config; 255 struct boardcfg_dkek dkek_config;
256 struct boardcfg_sa2ul_cfg sa2ul_cfg;
250} __attribute__((__packed__)); 257} __attribute__((__packed__));
251 258
252/** 259/**