aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2015-07-02 14:01:15 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-07-17 11:45:16 +1000
commitbe8b9c13742ffa4b7c395a1e86b398b01e7bbb79 (patch)
treecf16d0dcf1a79cc7ac5890f19fe4e79e7d1ed65a /hw
parent2f6c3d6753d5d80643802164864a9502d7bd0acb (diff)
downloadskiboot-be8b9c13742ffa4b7c395a1e86b398b01e7bbb79.zip
skiboot-be8b9c13742ffa4b7c395a1e86b398b01e7bbb79.tar.gz
skiboot-be8b9c13742ffa4b7c395a1e86b398b01e7bbb79.tar.bz2
FSP/LEDS: Remove led-loc property
We added led-loc property.. which contains LED location information. But this property was never used. Also we can make out LED location (enclosure/component) based on location code (if location code doesn't contain "-" means its enclosure location code). As Ben suggested [1], removing this property. Present code is included in skiboot skiboot-5.0 release..But we don't have any consumer yet. Hence I think its fine to make this changes. [1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2015-June/130433.html Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/fsp/fsp-leds.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/hw/fsp/fsp-leds.c b/hw/fsp/fsp-leds.c
index 877aca1..52d6c90 100644
--- a/hw/fsp/fsp-leds.c
+++ b/hw/fsp/fsp-leds.c
@@ -1558,13 +1558,6 @@ void create_led_device_nodes(void)
else
dt_add_property_strings(cled, DT_PROPERTY_LED_TYPES,
LED_TYPE_IDENTIFY);
-
- if (is_enclosure_led(led->loc_code))
- dt_add_property_strings(cled, DT_PROPERTY_LED_LOCATION,
- LED_LOC_ENCLOSURE);
- else
- dt_add_property_strings(cled, DT_PROPERTY_LED_LOCATION,
- LED_LOC_DESCENDENT);
}
}