diff options
author | Claudio Carvalho <cclaudio@linux.vnet.ibm.com> | 2016-09-28 05:01:10 -0300 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-10-10 15:29:35 +1100 |
commit | 36a91394b62c379b2420bc1877b7a1557b4f63df (patch) | |
tree | 9a242ce6e459efa61694b4dbf7b561e8e541e68e /libstb/status_codes.h | |
parent | b64d937194e8a51c39c3a32e08ebebc4ae4bf4f5 (diff) | |
download | skiboot-36a91394b62c379b2420bc1877b7a1557b4f63df.zip skiboot-36a91394b62c379b2420bc1877b7a1557b4f63df.tar.gz skiboot-36a91394b62c379b2420bc1877b7a1557b4f63df.tar.bz2 |
libstb/drivers: add romcode driver
This adds a driver for the ROM verification code. The driver is compatible
with 'ibm,secureboot-v1'.
The presense of a verification code in the platform is indicated by the
presence of the ibm,secureboot node in the device tree.
The ibm,secureboot node is documented in 'doc/device-tree/ibm,secureboot.rst'
Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libstb/status_codes.h')
-rw-r--r-- | libstb/status_codes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libstb/status_codes.h b/libstb/status_codes.h index 240cd95..0d7e5fb 100644 --- a/libstb/status_codes.h +++ b/libstb/status_codes.h @@ -20,4 +20,7 @@ /* general return codes */ #define STB_ERROR -1 +/* secure boot */ +#define STB_VERIFY_FAILED -100 + #endif /* __STB_STATUS_CODES_H */ |