diff options
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/kahlee/chromeos.c | 4 | ||||
-rw-r--r-- | src/mainboard/google/kahlee/gpio.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/mainboard/google/kahlee/chromeos.c b/src/mainboard/google/kahlee/chromeos.c index 4c152ba0e5..55130741d7 100644 --- a/src/mainboard/google/kahlee/chromeos.c +++ b/src/mainboard/google/kahlee/chromeos.c @@ -22,6 +22,7 @@ /* SPI Write protect */ #define CROS_WP_GPIO GPIO_142 +#define GPIO_EC_IN_RW GPIO_15 void fill_lb_gpios(struct lb_gpios *gpios) { @@ -30,6 +31,9 @@ void fill_lb_gpios(struct lb_gpios *gpios) {-1, ACTIVE_HIGH, get_recovery_mode_switch(), "recovery"}, {-1, ACTIVE_HIGH, get_lid_switch(), "lid"}, {-1, ACTIVE_HIGH, 0, "power"}, + {GPIO_EC_IN_RW, ACTIVE_HIGH, gpio_get(GPIO_EC_IN_RW), + "EC in RW"}, + }; lb_add_gpios(gpios, chromeos_gpios, ARRAY_SIZE(chromeos_gpios)); } diff --git a/src/mainboard/google/kahlee/gpio.c b/src/mainboard/google/kahlee/gpio.c index b815ac3d6b..f586c355f1 100644 --- a/src/mainboard/google/kahlee/gpio.c +++ b/src/mainboard/google/kahlee/gpio.c @@ -37,8 +37,7 @@ const GPIO_CONTROL oem_kahlee_gpio[] = { | FCH_GPIO_OUTPUT_ENABLE}, /* EC_IN_RW */ - {15, Function1, FCH_GPIO_PULL_UP_ENABLE | FCH_GPIO_OUTPUT_VALUE - | FCH_GPIO_OUTPUT_ENABLE}, + {15, Function1, FCH_GPIO_PULL_UP_ENABLE }, /* APU_I2C_3_SCL */ {19, Function1, FCH_GPIO_PULL_UP_ENABLE }, |