diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-03-08 20:55:21 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-03-09 21:25:22 +0000 |
commit | d903fffbc9694ca228f60006d272c9cdde41e760 (patch) | |
tree | 8ee52ca4d7aaf2e1e3fad4cd5547c64fef634300 /src/mainboard | |
parent | acabbce229e05f3a649bd3f97a4254acc7440966 (diff) | |
download | coreboot-d903fffbc9694ca228f60006d272c9cdde41e760.tar.xz |
mb/asus/p5g41t-m_lx: Correct GPIO direction
Not all GPIO4 pins on the SuperIO are configured as outputs.
Change-Id: Idf6350551a91c4c1a25a83e3fb9b1a6722a81c36
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39386
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/asus/p5qpl-am/early_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/asus/p5qpl-am/early_init.c b/src/mainboard/asus/p5qpl-am/early_init.c index 5987033a09..97411fdb94 100644 --- a/src/mainboard/asus/p5qpl-am/early_init.c +++ b/src/mainboard/asus/p5qpl-am/early_init.c @@ -114,7 +114,7 @@ static int setup_sio_gpio(void) need_reset = (reg != old_reg); pnp_write_config(GPIO_DEV, 0x30, 0x05); pnp_write_config(GPIO_DEV, 0xf6, 0x08); /* invert GPIO43 */ - pnp_write_config(GPIO_DEV, 0xf4, 0x00); /* GPIO4 direction */ + pnp_write_config(GPIO_DEV, 0xf4, 0xa4); /* GPIO4 direction */ const int gpio43 = (bsel & 2) >> 1; const int gpio44 = (bsel & 4) >> 2; |