diff options
-rw-r--r-- | include/common.h | 7 | ||||
-rw-r--r-- | soc/am65x/evm/sec-cfg.c | 9 | ||||
-rw-r--r-- | soc/am65x_sr2/evm/sec-cfg.c | 9 | ||||
-rw-r--r-- | soc/j721e/evm/sec-cfg.c | 9 |
4 files changed, 34 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 | ||
85 | struct boardcfg_substructure_header { | 86 | struct 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 | ||
245 | struct boardcfg_sa2ul_cfg { | ||
246 | struct boardcfg_substructure_header subhdr; | ||
247 | u8 rsvd[4]; | ||
248 | }; | ||
249 | |||
244 | struct boardcfg_security { | 250 | struct 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 | /** |
diff --git a/soc/am65x/evm/sec-cfg.c b/soc/am65x/evm/sec-cfg.c index b15030749..bb8a2f5fc 100644 --- a/soc/am65x/evm/sec-cfg.c +++ b/soc/am65x/evm/sec-cfg.c | |||
@@ -82,4 +82,13 @@ const struct boardcfg_security am65_boardcfg_security_data = { | |||
82 | .allow_dkek_export_tisci = 0x5A, | 82 | .allow_dkek_export_tisci = 0x5A, |
83 | .rsvd = {0, 0, 0}, | 83 | .rsvd = {0, 0, 0}, |
84 | }, | 84 | }, |
85 | |||
86 | /* SA2UL configuration */ | ||
87 | .sa2ul_cfg = { | ||
88 | .subhdr = { | ||
89 | .magic = BOARDCFG_SA2UL_CFG_MAGIC_NUM_RSVD, | ||
90 | .size = 0, | ||
91 | }, | ||
92 | .rsvd = {0, 0, 0, 0}, | ||
93 | }, | ||
85 | }; | 94 | }; |
diff --git a/soc/am65x_sr2/evm/sec-cfg.c b/soc/am65x_sr2/evm/sec-cfg.c index 9e1cfb9c5..43a55c153 100644 --- a/soc/am65x_sr2/evm/sec-cfg.c +++ b/soc/am65x_sr2/evm/sec-cfg.c | |||
@@ -81,4 +81,13 @@ const struct boardcfg_security am65_boardcfg_security_data = { | |||
81 | .allow_dkek_export_tisci = 0x5A, | 81 | .allow_dkek_export_tisci = 0x5A, |
82 | .rsvd = {0, 0, 0}, | 82 | .rsvd = {0, 0, 0}, |
83 | }, | 83 | }, |
84 | |||
85 | /* SA2UL configuration */ | ||
86 | .sa2ul_cfg = { | ||
87 | .subhdr = { | ||
88 | .magic = BOARDCFG_SA2UL_CFG_MAGIC_NUM_RSVD, | ||
89 | .size = 0, | ||
90 | }, | ||
91 | .rsvd = {0, 0, 0, 0}, | ||
92 | }, | ||
84 | }; | 93 | }; |
diff --git a/soc/j721e/evm/sec-cfg.c b/soc/j721e/evm/sec-cfg.c index 153f059c5..ddbc04429 100644 --- a/soc/j721e/evm/sec-cfg.c +++ b/soc/j721e/evm/sec-cfg.c | |||
@@ -82,4 +82,13 @@ const struct boardcfg_security j721e_boardcfg_security_data = { | |||
82 | .allow_dkek_export_tisci = 0x5A, | 82 | .allow_dkek_export_tisci = 0x5A, |
83 | .rsvd = {0, 0, 0}, | 83 | .rsvd = {0, 0, 0}, |
84 | }, | 84 | }, |
85 | |||
86 | /* SA2UL configuration */ | ||
87 | .sa2ul_cfg = { | ||
88 | .subhdr = { | ||
89 | .magic = BOARDCFG_SA2UL_CFG_MAGIC_NUM_RSVD, | ||
90 | .size = 0, | ||
91 | }, | ||
92 | .rsvd = {0, 0, 0, 0}, | ||
93 | }, | ||
85 | }; | 94 | }; |