summaryrefslogtreecommitdiffstats
path: root/hdata/spira.h
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2015-04-06 14:01:34 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-07 17:42:34 +1000
commitb25e34639cc6410c9e0cdb08808415f548bc00bb (patch)
tree1e76410a54eaf45bfec6de1218a67792fc16fe59 /hdata/spira.h
parent579892d785a903303eb3ebf7c7dd343752cd8286 (diff)
downloadtalos-skiboot-b25e34639cc6410c9e0cdb08808415f548bc00bb.tar.gz
talos-skiboot-b25e34639cc6410c9e0cdb08808415f548bc00bb.zip
hdata: Detect LED mode and populate device tree
FSP based machine supports two different LED modes: - Light Path : Both identify and fault LEDs are supported - Guiding Light: Only identify LEDs are supported And this information is passed to OPAL via HDAT. Lets parse this and populate the device tree. Later LED driver uses this information to populate indivisual LED node. Device Tree property: /ibm,opal/led/led-mode : lightpath/guidinglight Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/spira.h')
-rw-r--r--hdata/spira.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hdata/spira.h b/hdata/spira.h
index a1ed79d6..e98edbd4 100644
--- a/hdata/spira.h
+++ b/hdata/spira.h
@@ -265,6 +265,7 @@ struct iplparams_iplparams {
__be32 other_attrib;
#define IPLPARAMS_OATTR_RST_PCI_BUSNO 0x08000000
#define IPLPARAMS_OATTR_CLEAR_NVRAM 0x04000000
+#define IPLPARAMS_OATRR_LIGHT_PATH 0x00000004
__be16 huge_page_count;
uint8_t huge_page_size;
#define IPLPARAMS_HUGE_PG_SIZE_16G 0
OpenPOWER on IntegriCloud