[Skiboot] [PATCH 4/4] hdata/i2c: Fix up pci hotplug labels

Oliver O'Halloran oohall at gmail.com
Tue Apr 24 13:25:02 AEST 2018


These labels are used on the devices used to do PCIe slot power control
for implementing PCIe hotplug. I'm not sure how they ended up as
"eeprom-pgood" and "eeprom-controller" since that doesn't make any sense.

Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
---
 hdata/i2c.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hdata/i2c.c b/hdata/i2c.c
index cbd3bf0155df..5dfdb10721b1 100644
--- a/hdata/i2c.c
+++ b/hdata/i2c.c
@@ -136,8 +136,8 @@ struct hdat_i2c_label {
 
 static struct hdat_i2c_label hdat_i2c_labels[] = {
 	{ 0x1, "led-controller" },
-	{ 0x2, "eeprom-pgood" },
-	{ 0x3, "eeprom-control" },
+	{ 0x2, "pci-hotplug-pgood" },
+	{ 0x3, "pci-hotplug-control" },
 	{ 0x4, "tpm" },
 	{ 0x5, "module-vpd" },
 	{ 0x6, "dimm SPD" },
-- 
2.9.5



More information about the Skiboot mailing list