diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2016-09-02 15:50:48 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-04 20:17:42 +0200 |
commit | 297c5595629ddfebc15efce92b8a3b0201a1c839 (patch) | |
tree | ea33b548d7967b3dde62d205f1afcf88833ef61c /src | |
parent | c6080c6bfc4d87b090f04e828b30bfd2d0207ff1 (diff) |
intel/minnowmax: Program GPIO for power LED
MinnowBoard Turbot systems have a GPIO-controlled LED that is
generally used to indicate the CPU is running. Commit 2ae9cce8
changed the parameter for GPIO_NC, exposing an issue with the
assumed behavior of the signal. Use a pull-down to turn on the
LED.
Change-Id: I153870904c007d89016c0d47bb3db9b824ebbcff
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/16428
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/intel/minnowmax/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/intel/minnowmax/gpio.c b/src/mainboard/intel/minnowmax/gpio.c index 228b55b3ac..2f59e2751b 100644 --- a/src/mainboard/intel/minnowmax/gpio.c +++ b/src/mainboard/intel/minnowmax/gpio.c @@ -192,7 +192,7 @@ static const struct soc_gpio_map gpssus_gpio_map[] = { GPIO_FUNC0, /* GPIO_S5[19] - SOC_USB_HOST_OC0 */ GPIO_FUNC0, /* GPIO_S5[20] - SOC_USB_HOST_OC1 */ GPIO_FUNC0, /* GPIO_S5[21] - SOC_SPI_CS1B */ - GPIO_NC, /* GPIO_S5[22] - No Connect */ + GPIO_INPUT_PD, /* GPIO_S5[22] - NC or LED D2 */ GPIO_FUNC(0, PULL_UP, 20K), /* GPIO_S5[23] - XDP_H_OBSDATA_A0 */ GPIO_FUNC(0, PULL_UP, 20K), /* GPIO_S5[24] - XDP_H_OBSDATA_A1 */ GPIO_FUNC(0, PULL_UP, 20K), /* GPIO_S5[25] - XDP_H_OBSDATA_A2 */ |