summaryrefslogtreecommitdiff
path: root/src/mainboard/google/guybrush
diff options
context:
space:
mode:
authorHsuan-ting Chen <roccochen@google.com>2021-10-07 06:21:28 +0000
committerFelix Held <felix-coreboot@felixheld.de>2021-10-15 13:00:32 +0000
commitadb393bdd6cd6734fa2672bd174aca4588a68016 (patch)
tree584f20ba1cadcb3b36c856d501d4a7b3d4eeb047 /src/mainboard/google/guybrush
parent82130369a1c8b06b0aa5e804096d93b98ffce7cc (diff)
Revert "vboot_logic: Set VB2_CONTEXT_EC_TRUSTED in verstage_main"
This reverts commit 6260bf712a836762b18d80082505e981e040f4bc. Reason for revert: This CL did not handle Intel GPIO correctly. We need to add GPIO_EC_IN_RW into early_gpio_table for platforms using Intel SoC. Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org> Change-Id: Iaeb1bf598047160f01e33ad0d9d004cad59e3f75 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57951 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/guybrush')
-rw-r--r--src/mainboard/google/guybrush/chromeos.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mainboard/google/guybrush/chromeos.c b/src/mainboard/google/guybrush/chromeos.c
index a43b3032bb..df99e6434b 100644
--- a/src/mainboard/google/guybrush/chromeos.c
+++ b/src/mainboard/google/guybrush/chromeos.c
@@ -27,17 +27,6 @@ void mainboard_chromeos_acpi_generate(void)
chromeos_acpi_gpio_generate(cros_gpios, ARRAY_SIZE(cros_gpios));
}
-int get_ec_is_trusted(void)
-{
- /* Board versions 1 & 2 support H1 DB, but the EC_IN_RW signal is not
- routed. So emulate EC is trusted. */
- if (CONFIG(BOARD_GOOGLE_GUYBRUSH) &&
- (board_id() == UNDEFINED_STRAPPING_ID || board_id() < 3))
- return 1;
- /* EC is trusted if not in RW. */
- return !gpio_get(GPIO_EC_IN_RW);
-}
-
void mainboard_spi_fast_speed_override(uint8_t *fast_speed)
{
uint32_t board_ver = board_id();