summaryrefslogtreecommitdiffstats
path: root/hw/fsp/fsp-leds.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | led: Fix white space problemsAnshuman Khandual2014-10-151-22/+22
| | | | | | | | | | | | | | | | | | | | This patch removes white space problems from the LED code and it's header file. Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> Acked-by: Stewart Smith <stewart@linux.vnet.ibm.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* | led: Handle all the FSP_MCLASS_INDICATOR class sub commandsAnshuman Khandual2014-10-151-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now if any non-LED FSP_MCLASS_INDICATOR class sub command is received, we print it as an invalid sub command like the following which then eventually gets reported as an unhandled FSP message. [163022636453,5] FSPLED: Invalid FSP async sub command da1105 [163022638116,3] FSP: Unhandled message da1105 This patch defines the complete list of FSP_MCLASS_INDICATOR sub commands and handle them in the registered FSP async command client by sending a generic error acknowledgement to the FSP. Reported-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* | Adjust log message priority in fsp-leds.cStewart Smith2014-10-151-22/+24
| | | | | | | | | | | | | | Mostly PR_DEBUG or PR_TRACE, but a few error conditions should be PR_ERR. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* | Use prlog rather than DBG #ifdef in hw/fsp/fsp-leds.cStewart Smith2014-10-081-14/+11
|/ | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Use single printf call per FSP LED rather than multipleStewart Smith2014-08-081-10/+22
| | | | | | | Means that we print things correctly in console log with timestamps. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* fsp: Move fsp-leds.h to hw/fspBenjamin Herrenschmidt2014-07-211-1/+2
| | | | | | This is not used to export any function to the generic skiboot Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Initial commit of Open Source releaseBenjamin Herrenschmidt2014-07-021-0/+1080
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
OpenPOWER on IntegriCloud