summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/p5qpl-am
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-03-08 20:55:21 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-03-09 21:25:22 +0000
commitd903fffbc9694ca228f60006d272c9cdde41e760 (patch)
tree8ee52ca4d7aaf2e1e3fad4cd5547c64fef634300 /src/mainboard/asus/p5qpl-am
parentacabbce229e05f3a649bd3f97a4254acc7440966 (diff)
downloadcoreboot-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/asus/p5qpl-am')
-rw-r--r--src/mainboard/asus/p5qpl-am/early_init.c2
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;