summaryrefslogtreecommitdiff
path: root/src/vendorcode/eltan
diff options
context:
space:
mode:
authorWim Vervoorn <wvervoorn@eltan.com>2019-11-13 17:13:09 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-11-15 10:52:29 +0000
commit7ea8b8866aed3551941d7f919bb8d6bb83ca5b30 (patch)
tree6941673fd09da718270ffe289be351b7200ce7b5 /src/vendorcode/eltan
parent85e680a94a16b724f7482ab4f601047c91f31870 (diff)
vendorcode/eltan/security: Add all verify_lists to include file
Some of the verify lists were added to the include file while others are on vboot_check.c. Also added the ramstage_verify_list. BUG=N/A TEST=tested on fbg1701 Change-Id: If4f1d8b2278277d0af78e357ecce0d5bef441179 Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36820 Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/vendorcode/eltan')
-rw-r--r--src/vendorcode/eltan/security/verified_boot/vboot_check.c2
-rw-r--r--src/vendorcode/eltan/security/verified_boot/vboot_check.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vendorcode/eltan/security/verified_boot/vboot_check.c b/src/vendorcode/eltan/security/verified_boot/vboot_check.c
index f139449651..c053263d61 100644
--- a/src/vendorcode/eltan/security/verified_boot/vboot_check.c
+++ b/src/vendorcode/eltan/security/verified_boot/vboot_check.c
@@ -252,8 +252,6 @@ void verified_boot_bootblock_check(void)
* ROMSTAGE
*/
-extern verify_item_t romstage_verify_list[];
-
void verified_boot_early_check(void)
{
printk(BIOS_SPEW, "%s: processing early items\n", __func__);
diff --git a/src/vendorcode/eltan/security/verified_boot/vboot_check.h b/src/vendorcode/eltan/security/verified_boot/vboot_check.h
index 36c8ffa8d3..bd284925ae 100644
--- a/src/vendorcode/eltan/security/verified_boot/vboot_check.h
+++ b/src/vendorcode/eltan/security/verified_boot/vboot_check.h
@@ -72,7 +72,9 @@ typedef struct {
void process_verify_list(const verify_item_t list[]);
extern const verify_item_t bootblock_verify_list[];
+extern const verify_item_t romstage_verify_list[];
extern const verify_item_t postcar_verify_list[];
+extern const verify_item_t ramstage_verify_list[];
extern const verify_item_t payload_verify_list[];
extern const verify_item_t oprom_verify_list[];