summaryrefslogtreecommitdiff
path: root/futility/updater_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'futility/updater_utils.h')
-rw-r--r--futility/updater_utils.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/futility/updater_utils.h b/futility/updater_utils.h
index 27c3f57d..48afa10c 100644
--- a/futility/updater_utils.h
+++ b/futility/updater_utils.h
@@ -156,6 +156,19 @@ int preserve_firmware_section(const struct firmware_image *image_from,
const char *section_name);
/*
+ * Unlock the Flash Master values in SI_DESC.
+ */
+int unlock_flash_master(struct firmware_image *image);
+
+/*
+ * Unlock the Intel ME by:
+ * - Unlocking the FLMSTR values in the descriptor.
+ * - Disabling GPR0 in the descriptor.
+ * This allows the SI_DESC and SI_ME regions to be updated.
+ */
+int unlock_me(struct firmware_image *image);
+
+/*
* Returns rootkey hash of firmware image, or NULL on failure.
*/
const char *get_firmware_rootkey_hash(const struct firmware_image *image);