vendorcode/eltan/security/lib: Add missing vb2ex_printf()

Build error on missing vb2ex_printf() in bootblock stage
Add the file vboot_logic.c which contains the missing vb2ex_printf().

BUG=N/A
TEST=Boot Linux 4.20 and verify logging on Facebook FBG-1701

Change-Id: I3f649f3faf1e812d592e4981bc75698e2cad1cc8
Signed-off-by: Frans Hendriks <fhendriks@eltan.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34666
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lance Zhao <lance.zhao@gmail.com>
This commit is contained in:
Frans Hendriks 2019-08-09 08:55:34 +02:00 committed by Martin Roth
parent d366f54744
commit 7ca7dbc0f5
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ CFLAGS_common += -I3rdparty/vboot/firmware/lib21/include
ifneq ($(filter y,$(CONFIG_VENDORCODE_ELTAN_VBOOT) $(CONFIG_VENDORCODE_ELTAN_MBOOT)),) ifneq ($(filter y,$(CONFIG_VENDORCODE_ELTAN_VBOOT) $(CONFIG_VENDORCODE_ELTAN_MBOOT)),)
bootblock-$(CONFIG_C_ENVIRONMENT_BOOTBLOCK) += cb_sha.c bootblock-$(CONFIG_C_ENVIRONMENT_BOOTBLOCK) += cb_sha.c
bootblock-y += ../../../../security/vboot/vboot_logic.c
$(eval $(call vendor-security-lib,bootblock)) $(eval $(call vendor-security-lib,bootblock))
bootblock-srcs += $(obj)/external/ven_sec_lib-bootblock/vboot_fw21.a bootblock-srcs += $(obj)/external/ven_sec_lib-bootblock/vboot_fw21.a