From 7169450310f1290941b88a01db215fe00b638ddc Mon Sep 17 00:00:00 2001 From: Joel Kitching Date: Thu, 14 Mar 2019 19:21:26 +0800 Subject: [PATCH] vboot: remove VBOOT_EC_EFS Kconfig option This option has been relocated to depthcharge: https://crrev.com/c/1523248 BUG=b:124141368, b:124192753, chromium:943511 TEST=Build and deploy to eve TEST=util/lint/checkpatch.pl -g origin/master..HEAD TEST=util/abuild/abuild -B -e -y -c 50 -p none -x TEST=make clean && make test-abuild CQ-DEPEND=CL:1523248, CL:1525647 BRANCH=none Change-Id: I8b3740c8301f9a193f4fce2c6492d9382730faa1 Signed-off-by: Joel Kitching Reviewed-on: https://review.coreboot.org/c/coreboot/+/31897 Reviewed-by: Julius Werner Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/mainboard/google/fizz/Kconfig | 1 - src/security/vboot/Kconfig | 9 --------- src/security/vboot/vboot_handoff.c | 2 -- 3 files changed, 12 deletions(-) diff --git a/src/mainboard/google/fizz/Kconfig b/src/mainboard/google/fizz/Kconfig index 6f05c241c4..3c8215be15 100644 --- a/src/mainboard/google/fizz/Kconfig +++ b/src/mainboard/google/fizz/Kconfig @@ -39,7 +39,6 @@ config OVERRIDE_DEVICETREE config VBOOT select EC_GOOGLE_CHROMEEC_SWITCHES - select VBOOT_EC_EFS select VBOOT_PHYSICAL_REC_SWITCH select HAS_RECOVERY_MRC_CACHE select MRC_CLEAR_NORMAL_CACHE_ON_RECOVERY_RETRAIN diff --git a/src/security/vboot/Kconfig b/src/security/vboot/Kconfig index ea5f2a3c2a..de0ee6d991 100644 --- a/src/security/vboot/Kconfig +++ b/src/security/vboot/Kconfig @@ -208,15 +208,6 @@ config VBOOT_EC_SLOW_UPDATE Whether the EC (or PD) is slow to update and needs to display a screen that informs the user the update is happening. -config VBOOT_EC_EFS - bool - default n - depends on VBOOT_EC_SOFTWARE_SYNC - help - CrosEC can support EFS: Early Firmware Selection. If it's enabled, - software sync need to also support it. This setting tells vboot to - perform EFS software sync. - config VBOOT_PHYSICAL_DEV_SWITCH bool default n diff --git a/src/security/vboot/vboot_handoff.c b/src/security/vboot/vboot_handoff.c index e64775ea13..27d89d0fa2 100644 --- a/src/security/vboot/vboot_handoff.c +++ b/src/security/vboot/vboot_handoff.c @@ -85,8 +85,6 @@ static void fill_vboot_handoff(struct vboot_handoff *vboot_handoff, vb_sd->flags |= VBSD_EC_SOFTWARE_SYNC; if (CONFIG(VBOOT_EC_SLOW_UPDATE)) vb_sd->flags |= VBSD_EC_SLOW_UPDATE; - if (CONFIG(VBOOT_EC_EFS)) - vb_sd->flags |= VBSD_EC_EFS; } if (!CONFIG(VBOOT_PHYSICAL_REC_SWITCH)) vb_sd->flags |= VBSD_BOOT_REC_SWITCH_VIRTUAL;