summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/trogdor/chromeos.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/google/trogdor/chromeos.c b/src/mainboard/google/trogdor/chromeos.c
index 324d6ca8b9..9360928a1e 100644
--- a/src/mainboard/google/trogdor/chromeos.c
+++ b/src/mainboard/google/trogdor/chromeos.c
@@ -16,7 +16,9 @@ void setup_chromeos_gpios(void)
gpio_input_pullup(GPIO_AP_EC_INT);
gpio_output(GPIO_AP_SUSPEND, 1);
gpio_input(GPIO_WP_STATE);
- gpio_input_pullup(GPIO_H1_AP_INT);
+ gpio_input_pullup(GPIO_SD_CD_L);
+ gpio_input_irq(GPIO_H1_AP_INT, IRQ_TYPE_RISING_EDGE, GPIO_PULL_UP);
+ gpio_output(GPIO_AMP_ENABLE, 0);
}
void fill_lb_gpios(struct lb_gpios *gpios)