summaryrefslogtreecommitdiffstats
path: root/libflash/errors.h
diff options
context:
space:
mode:
authorCyril Bur <cyril.bur@au1.ibm.com>2017-05-24 16:37:18 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-05-26 15:55:23 +1000
commit3476c6ec24140f538d5555a36afe42c064b13e31 (patch)
treed0e926cd8c361b36edaa35914a2b5aa94f65a5dd /libflash/errors.h
parent0322cd881ab3fda2b8136d6beb3991fd9d2dc5e7 (diff)
downloadblackbird-skiboot-3476c6ec24140f538d5555a36afe42c064b13e31.tar.gz
blackbird-skiboot-3476c6ec24140f538d5555a36afe42c064b13e31.zip
libflash/mbox-flash: Update to V2 of the protocol
Updated version 2 of the protocol can be found at: https://github.com/openbmc/mboxbridge/blob/master/Documentation/mbox_protocol.md This commit changes mbox-flash such that it will preferentially talk version 2 to any capable daemon but still remain capable of talking to v1 daemons. Version two changes some of the command definitions for increased consistency and usability. Version two includes more attention bits - these are now dealt with at a simple level. Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Acked-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libflash/errors.h')
-rw-r--r--libflash/errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libflash/errors.h b/libflash/errors.h
index 99dcfc28..2f567211 100644
--- a/libflash/errors.h
+++ b/libflash/errors.h
@@ -31,5 +31,7 @@
#define FLASH_ERR_CTRL_TIMEOUT 13
#define FLASH_ERR_ECC_INVALID 14
#define FLASH_ERR_BAD_READ 15
+#define FLASH_ERR_DEVICE_GONE 16
+#define FLASH_ERR_AGAIN 17
#endif /* __LIBFLASH_ERRORS_H */
OpenPOWER on IntegriCloud