trogdor: Update pull for Sd-card detect pin

Configuring pull for SD-card detect pin.
Without this SD-card detection is not working as expected

Signed-off-by: Shaik Sajida Bhanu <sbhanu@codeaurora.org>
Change-Id: I77bf355a049224784a160defa6bee66d0f9ceb75
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40534
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Shaik Sajida Bhanu 2020-04-13 18:55:52 +05:30 committed by Julius Werner
parent e8ee6f975b
commit 9a41af60c4
1 changed files with 3 additions and 1 deletions

View File

@ -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)