aboutsummaryrefslogtreecommitdiff
path: root/include/fsp-leds.h
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2015-04-06 14:02:21 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-07 17:42:34 +1000
commit0a075bd3b2bea7ece8993e49981ca19fac18b9a8 (patch)
tree3dcf82cdf3e1bccfb47c7de10de37ddfaf87cd04 /include/fsp-leds.h
parent13168bbbbb1f41f63c9a53f6772868ba02726d5b (diff)
downloadskiboot-0a075bd3b2bea7ece8993e49981ca19fac18b9a8.zip
skiboot-0a075bd3b2bea7ece8993e49981ca19fac18b9a8.tar.gz
skiboot-0a075bd3b2bea7ece8993e49981ca19fac18b9a8.tar.bz2
FSP/LED: Get SAI location code from device tree
SAI information is available in device tree. This patch parses device tree to get SAI location code information. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/fsp-leds.h')
-rw-r--r--include/fsp-leds.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/fsp-leds.h b/include/fsp-leds.h
index 2b8ed98..1b99ffc 100644
--- a/include/fsp-leds.h
+++ b/include/fsp-leds.h
@@ -126,6 +126,12 @@ struct led_set_cmd {
struct list_node link;
};
+/* System Attention Indicator */
+struct sai_data {
+ uint8_t state;
+ char loc_code[LOC_CODE_SIZE];
+};
+
/* LED commands and state */
#define LED_COMMAND_FAULT 1
#define LED_COMMAND_IDENTIFY 0