summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-04-30 12:57:45 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-05-08 15:19:53 +0000
commit8c92bcc966ebdc39cdb813b1432a3e9d821073ff (patch)
treeaa3d88c6a72b153d37846feea33c5704104feb21
parentc409a3e585710ab7e8436e20d68842e210bb8d03 (diff)
downloadcoreboot-8c92bcc966ebdc39cdb813b1432a3e9d821073ff.tar.xz
vboot: Provide declaration for verstage_mainboard_early_init()
Similar to bootblock, provide declaration for verstage_mainboard_early_init() to support early mainboard initialization if verstage is run before bootblock. BUG=b:155824234 TEST=Verified that trembyle still builds Signed-off-by: Furquan Shaikh <furquan@google.com> Change-Id: I106213ecc1c44100f1f74071189518563ac08121 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41137 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--src/security/vboot/vboot_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/security/vboot/vboot_common.h b/src/security/vboot/vboot_common.h
index f25ee46b6f..a260475071 100644
--- a/src/security/vboot/vboot_common.h
+++ b/src/security/vboot/vboot_common.h
@@ -43,6 +43,7 @@ int vboot_retrieve_hash(void *digest, size_t digest_size);
* If the verstage is a separate stage, it should be entered via main().
*/
void verstage_main(void);
+void verstage_mainboard_early_init(void);
void verstage_mainboard_init(void);
/* Check boot modes */