aboutsummaryrefslogtreecommitdiff
path: root/hdata/spira.h
diff options
context:
space:
mode:
authorClaudio Carvalho <cclaudio@linux.vnet.ibm.com>2017-12-09 02:52:27 -0200
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-12-18 21:30:57 -0600
commit21a7bd0e07f6d3c121eacb7f840857fc3f2dacaf (patch)
treed93d1a1133a3c7450bcc0f0f61daaa827e1a85be /hdata/spira.h
parent5fdcc35fc1030638d17440507ef087d5da91e8bd (diff)
downloadskiboot-21a7bd0e07f6d3c121eacb7f840857fc3f2dacaf.zip
skiboot-21a7bd0e07f6d3c121eacb7f840857fc3f2dacaf.tar.gz
skiboot-21a7bd0e07f6d3c121eacb7f840857fc3f2dacaf.tar.bz2
hdata: add secure and trusted boot ntuple to SPIRA-H/S
This adds to spira-h/s the overall tpmrel structure, which defines secure and trusted boot related data. The internal data structures are added in subsequent patches. Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com> Reviewed-by: Oliver O'Halloran <oohall@gmail.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/spira.h')
-rw-r--r--hdata/spira.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/hdata/spira.h b/hdata/spira.h
index 49acf5c..190afad 100644
--- a/hdata/spira.h
+++ b/hdata/spira.h
@@ -40,7 +40,7 @@ struct spira_ntuple {
__be64 padding;
} __packed;
-#define SPIRA_NTUPLES_COUNT 0x18
+#define SPIRA_NTUPLES_COUNT 0x19
struct spira_ntuples {
struct HDIF_array_hdr array_hdr;
@@ -69,6 +69,7 @@ struct spira_ntuples {
struct spira_ntuple proc_chip; /* 0x300 */
struct spira_ntuple hs_data; /* 0x320 */
struct spira_ntuple ipmi_sensor; /* 0x360 */
+ struct spira_ntuple node_stb_data; /* 0x380 */
};
struct spira {
@@ -82,7 +83,7 @@ struct spira {
*
* According to FSP engineers, this is an okay thing to do.
*/
- u8 reserved[0xa0];
+ u8 reserved[0x80];
} __packed __align(0x100);
extern struct spira spira;
@@ -146,7 +147,7 @@ struct spiras_ntuples {
struct spira_ntuple hs_data; /* 0x200 */
struct spira_ntuple hbrt_data; /* 0x220 */
struct spira_ntuple ipmi_sensor; /* 0x240 */
- struct spira_ntuple node_data; /* 0x260 */
+ struct spira_ntuple node_stb_data; /* 0x260 */
};
struct spiras {