aboutsummaryrefslogtreecommitdiff
path: root/hdata/slca.c
AgeCommit message (Collapse)AuthorFilesLines
2015-05-07FSP/hdata: Populate System Attention Indicator location codeVasant Hegde1-0/+79
On FSP based machine, FSP controls System Attention Indicator. This indicator detail (location code) is passed to OPAL via HDAT. OPAL can get/set this indicator via normal MBOX command. This patch takes care of parsing SLCA entry and populating device tree with SAI location code. Device Tree: We create '/ibm,opal/led' node which contains all location code LED information. 'led-types' property under each node tells LED type. For SAI indicator 'led-types' property will be 'attention'. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-03-17hdata: Fix location code sizeVasant Hegde1-2/+2
Location codes are no more than 80 characters (including terminating NULL char). Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-03-17hdata: Convert printf based log messages to prlog based logsVasant Hegde1-3/+5
This patch changes all printf based log messages in the hdata/slca code to prlog based log messages. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2014-07-02Initial commit of Open Source releaseBenjamin Herrenschmidt1-0/+89
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>