summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/secureboot/trusted/trustedboot.C4
-rwxr-xr-xsrc/usr/targeting/common/xmltohb/attribute_types_hb.xml4
2 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/secureboot/trusted/trustedboot.C b/src/usr/secureboot/trusted/trustedboot.C
index 083fc0859..93ba27ed8 100644
--- a/src/usr/secureboot/trusted/trustedboot.C
+++ b/src/usr/secureboot/trusted/trustedboot.C
@@ -1399,6 +1399,7 @@ bool getTpmRequiredSensorValue(bool& o_isTpmRequired)
SENSOR::getSensorReadingData tpmRequiredData;
SENSOR::SensorBase tpmRequired(TARGETING::SENSOR_NAME_TPM_REQUIRED,
pTopLevel);
+
errlHndl_t err = tpmRequired.readSensorData(tpmRequiredData);
if (nullptr == err)
{
@@ -1418,7 +1419,8 @@ bool getTpmRequiredSensorValue(bool& o_isTpmRequired)
// error reading sensor, so consider sensor not available
TRACFCOMP( g_trac_trustedboot,ERR_MRK"getTpmRequiredSensorValue: "
"Unable to read Tpm Required Sensor: rc = 0x%04X "
- "(sensorNum=0x%X, enum=0x%X) Deleting Error plid=0x%04X",
+ "(sensorNum=0x%X, enum=0x%X) Deleting Error plid=0x%04X."
+ " Considering Sensor NOT required",
err->reasonCode(), sensorNum,
TARGETING::SENSOR_NAME_TPM_REQUIRED,
err->plid());
diff --git a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml
index c711dbc93..5d63a077a 100755
--- a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml
@@ -436,7 +436,7 @@
<id>SENSOR_NAME</id>
<description>Enumeration indicating the IPMI sensor name, which will
be used by hostboot when determining the sensor number to return.
- he sensor name consists of one byte of sensor type plus one byte of
+ The sensor name consists of one byte of sensor type plus one byte of
sub-type, to differentiate similar sensors under the same target.
Our implementaion uses the IPMI defined entity ID as the sub-type.
</description>
@@ -546,7 +546,7 @@
</enumerator>
<enumerator>
<name>TPM_REQUIRED</name>
- <value>0xFFFF</value>
+ <value>0xCC03</value>
</enumerator>
</enumerationType>
<attribute>
OpenPOWER on IntegriCloud