summaryrefslogtreecommitdiff
path: root/src/vendorcode/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/google')
-rw-r--r--src/vendorcode/google/chromeos/gnvs.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/vendorcode/google/chromeos/gnvs.c b/src/vendorcode/google/chromeos/gnvs.c
index b1090a44e9..33389b4ebf 100644
--- a/src/vendorcode/google/chromeos/gnvs.c
+++ b/src/vendorcode/google/chromeos/gnvs.c
@@ -32,8 +32,6 @@ static size_t chromeos_vpd_region(const char *region, uintptr_t *base)
return region_device_sz(&vpd);
}
-__weak bool mainboard_ec_running_ro(void) { return true; }
-
void chromeos_init_chromeos_acpi(void)
{
size_t vpd_size;
@@ -58,17 +56,6 @@ void chromeos_init_chromeos_acpi(void)
chromeos_acpi->vpd_rw_base = vpd_base;
chromeos_acpi->vpd_rw_size = vpd_size;
}
-
- /* EC can override to ECFW_RW. */
- chromeos_acpi->vbt2 = ACTIVE_ECFW_RO;
-
- if (CONFIG(EC_GOOGLE_CHROMEEC)) {
- if (!google_ec_running_ro())
- chromeos_acpi->vbt2 = ACTIVE_ECFW_RW;
- } else {
- if (!mainboard_ec_running_ro())
- chromeos_acpi->vbt2 = ACTIVE_ECFW_RW;
- }
}
void chromeos_set_me_hash(u32 *hash, int len)