Frans Hendriks has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/36632 )
Change subject: eltan/security: Remove some preprocessor guards ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/36632/2/src/vendorcode/eltan/securi... File src/vendorcode/eltan/security/verified_boot/vboot_check.c:
https://review.coreboot.org/c/coreboot/+/36632/2/src/vendorcode/eltan/securi... PS2, Line 406: static void vendor_secure_prepare(void) If you remove the other vendor_secure_prepare() and change this function into:
static void vendor_secure_prepare(void) { if (ENV_BOOTBLOCK) { printk(BIOS_SPEW, "%s: bootblock\n", __func__); verified_boot_bootblock_check(); }
if (ENV_ROMSTAGE) { printk(BIOS_SPEW, "%s: romstage\n", __func__); if (!prepare_romstage) { verified_boot_early_check(); prepare_romstage = 1; } }
if (ENV_RAMSTAGE) { printk(BIOS_SPEW, "%s: ramstage\n", __func__); process_verify_list(payload_verify_list); } if (ENV_POSTCAR) { printk(BIOS_SPEW, "%s: postcar\n", __func__); process_verify_list(postcar_verify_list); } }
it will work