summaryrefslogtreecommitdiffstats
path: root/src/include/usr/secureboot/header.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/secureboot/header.H')
-rw-r--r--src/include/usr/secureboot/header.H6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/usr/secureboot/header.H b/src/include/usr/secureboot/header.H
index eff1f6769..259d98467 100644
--- a/src/include/usr/secureboot/header.H
+++ b/src/include/usr/secureboot/header.H
@@ -28,6 +28,8 @@
#include <stdint.h>
#include <pnor/pnorif.H>
#include <util/singleton.H>
+#include <errl/errlentry.H>
+#include <errl/errlmanager.H>
/** @file header.H
*
@@ -64,9 +66,9 @@ namespace SECUREBOOT
* area preserved across the bootloader to HBB handoff to
* support extending HBB measurements to TPM
*
- * @warning Asserts if header is already cached (code bug)
+ * @return Error handle if error; otherwise nullptr
*/
- void loadHeader();
+ errlHndl_t loadHeader();
/**
* @brief Return pointer to base image (HBB) header.
OpenPOWER on IntegriCloud