summaryrefslogtreecommitdiffstats
path: root/libstb/status_codes.h
diff options
context:
space:
mode:
authorClaudio Carvalho <cclaudio@linux.vnet.ibm.com>2016-09-28 05:01:10 -0300
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-10-10 15:29:35 +1100
commit36a91394b62c379b2420bc1877b7a1557b4f63df (patch)
tree9a242ce6e459efa61694b4dbf7b561e8e541e68e /libstb/status_codes.h
parentb64d937194e8a51c39c3a32e08ebebc4ae4bf4f5 (diff)
downloadtalos-skiboot-36a91394b62c379b2420bc1877b7a1557b4f63df.tar.gz
talos-skiboot-36a91394b62c379b2420bc1877b7a1557b4f63df.zip
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libstb/status_codes.h b/libstb/status_codes.h
index 240cd954..0d7e5fb1 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 */
OpenPOWER on IntegriCloud