aboutsummaryrefslogtreecommitdiff
path: root/hdata/spira.c
diff options
context:
space:
mode:
authorClaudio Carvalho <cclaudio@linux.vnet.ibm.com>2017-12-09 02:52:30 -0200
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-12-18 21:30:57 -0600
commit7da364fd3646013166b90baf26fc55078a446a21 (patch)
treec188bfef58d9ea7c0885efb2fd9bfa6e0318dbb9 /hdata/spira.c
parent48fd73cfc7073911a1ecdf0ff62e1800ef544d2a (diff)
downloadskiboot-7da364fd3646013166b90baf26fc55078a446a21.zip
skiboot-7da364fd3646013166b90baf26fc55078a446a21.tar.gz
skiboot-7da364fd3646013166b90baf26fc55078a446a21.tar.bz2
hdata/tpmrel.c: add firmware event log info to the tpm node
This parses the firmware event log information from the secureboot_tpm_info HDAT structure and add it to the tpm device tree node. There can be multiple secureboot_tpm_info entries with each entry corresponding to a master processor that has a tpm device, however, multiple tpm is not supported. Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/spira.c')
-rw-r--r--hdata/spira.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hdata/spira.c b/hdata/spira.c
index edb140d..dc6370c 100644
--- a/hdata/spira.c
+++ b/hdata/spira.c
@@ -1669,6 +1669,10 @@ int parse_hdat(bool is_opal)
add_stop_levels();
+ /* Parse node secure and trusted boot data */
+ if (proc_gen >= proc_gen_p9)
+ node_stb_parse();
+
prlog(PR_DEBUG, "Parsing HDAT...done\n");
return 0;