From 8c92bcc966ebdc39cdb813b1432a3e9d821073ff Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Thu, 30 Apr 2020 12:57:45 -0700 Subject: [PATCH] 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 Change-Id: I106213ecc1c44100f1f74071189518563ac08121 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41137 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/security/vboot/vboot_common.h | 1 + 1 file changed, 1 insertion(+) 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 */