summaryrefslogtreecommitdiff
path: root/src/mainboard/google/foster
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/foster')
-rw-r--r--src/mainboard/google/foster/Kconfig1
-rw-r--r--src/mainboard/google/foster/chromeos.c13
2 files changed, 0 insertions, 14 deletions
diff --git a/src/mainboard/google/foster/Kconfig b/src/mainboard/google/foster/Kconfig
index 3f02e68c13..c408ca1f9d 100644
--- a/src/mainboard/google/foster/Kconfig
+++ b/src/mainboard/google/foster/Kconfig
@@ -28,7 +28,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
config CHROMEOS
select VBOOT_VBNV_FLASH
- select VIRTUAL_DEV_SWITCH
config MAINBOARD_DIR
string
diff --git a/src/mainboard/google/foster/chromeos.c b/src/mainboard/google/foster/chromeos.c
index e04aff17bf..3f86c29f22 100644
--- a/src/mainboard/google/foster/chromeos.c
+++ b/src/mainboard/google/foster/chromeos.c
@@ -52,14 +52,6 @@ void fill_lb_gpios(struct lb_gpios *gpios)
GPIO_MAX_NAME_LENGTH);
count++;
- /* Developer: virtual GPIO active high */
- gpios->gpios[count].port = -1;
- gpios->gpios[count].polarity = ACTIVE_HIGH;
- gpios->gpios[count].value = get_developer_mode_switch();
- strncpy((char *)gpios->gpios[count].name, "developer",
- GPIO_MAX_NAME_LENGTH);
- count++;
-
/* TODO: Reset: active low (output) */
gpios->gpios[count].port = GPIO(I5);
gpios->gpios[count].polarity = ACTIVE_LOW;
@@ -74,11 +66,6 @@ void fill_lb_gpios(struct lb_gpios *gpios)
printk(BIOS_ERR, "Added %d GPIOS size %d\n", count, gpios->size);
}
-int get_developer_mode_switch(void)
-{
- return 0;
-}
-
int get_recovery_mode_switch(void)
{
#if CONFIG_EC_GOOGLE_CHROMEEC