aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2015-03-08 16:27:06 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-03-20 02:38:33 +1100
commitb8581a7e7bf4429df5dc9bbfe0719182a3cc6520 (patch)
tree2ed99b813f6ac0893586882d01ef84ed13871cbc /include
parentdad26e2864364b40fd1e9eed8cf58e9aaad3deb7 (diff)
downloadskiboot-b8581a7e7bf4429df5dc9bbfe0719182a3cc6520.zip
skiboot-b8581a7e7bf4429df5dc9bbfe0719182a3cc6520.tar.gz
skiboot-b8581a7e7bf4429df5dc9bbfe0719182a3cc6520.tar.bz2
FSP/LEDS: Handle failure cases in set LED MBOX command
If set LED mbox command fails then we have to respond to FSP with apropriate status code. Moved MBOX response code to separate function so that we can just call that with different status code. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/fsp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/fsp.h b/include/fsp.h
index c960469..66fadb1 100644
--- a/include/fsp.h
+++ b/include/fsp.h
@@ -69,8 +69,12 @@
#define FSP_STAUS_INVALID_HMC_ID 0x51
#define FSP_STATUS_SPCN_ERROR 0xA8 /* SPCN error */
#define FSP_STATUS_INVALID_LC 0xC0 /* Invalid location code */
+#define FSP_STATUS_ENCL_IND_RESET 0xC2 /* Enclosure Indicator cannot be reset */
#define FSP_STATUS_TOD_RESET 0xA9 /* TOD reset due to invalid state at POR */
#define FSP_STATUS_TOD_PERMANENT_ERROR 0xAF /* Permanent error in TOD */
+#define FSP_STATUS_I2C_TRANS_ERROR 0xE4 /* I2C device / transmission error */
+#define FSP_STATUS_IND_PARTIAL_SUCCESS 0xE5 /* Indicator partial success */
+#define FSP_STATUS_GENERIC_FAILURE 0xEF /* Generic Failure in execution */
/*
* FSP registers