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>
This commit is contained in:
parent
acabbce229
commit
d903fffbc9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue