aboutsummaryrefslogtreecommitdiff
path: root/hw/fsp
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-06-24 11:35:20 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-06-24 15:50:13 +1000
commit577703889991dbbcc875b6a64e8dd0f9a579e3e1 (patch)
tree87cd9088f345765142736decb3514f42a2fe4d6b /hw/fsp
parent7abacff2f9a337f454f122ecae43f810ddac1adf (diff)
downloadskiboot-577703889991dbbcc875b6a64e8dd0f9a579e3e1.zip
skiboot-577703889991dbbcc875b6a64e8dd0f9a579e3e1.tar.gz
skiboot-577703889991dbbcc875b6a64e8dd0f9a579e3e1.tar.bz2
fsp-sensor: add FWTS annotation for already existing sensor node
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/fsp')
-rw-r--r--hw/fsp/fsp-sensor.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/fsp/fsp-sensor.c b/hw/fsp/fsp-sensor.c
index 78d95f9..51ee872 100644
--- a/hw/fsp/fsp-sensor.c
+++ b/hw/fsp/fsp-sensor.c
@@ -604,6 +604,13 @@ static struct dt_node *sensor_get_node(struct dt_node *sensors,
frc_names[header->frc]);
dt_add_property_string(node, "compatible", name);
} else {
+ /**
+ * @fwts-label OPALSensorNodeExists
+ * @fwts-advice OPAL had trouble creating the sensor
+ * nodes in the device tree as there was already one there.
+ * This indicates either the device tree from Hostboot
+ * already filled in sensors or an OPAL bug.
+ */
prlog(PR_ERR, "SENSOR: node %s exists\n", name);
}
return node;