From e4cca16b426f3907983992352ae9ace7cce1c41f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 24 May 2016 15:48:50 -0500 Subject: sio/winbond/common: Add function to configure pin mux Certain mainboards require SuperIO pinmux configuration before peripherals will become operational. Allow each mainboard to configure the pinmux(es) of Winbond chips if needed. Change-Id: Ice19f8d8514b66b15920a5b893700d636ed75cec Signed-off-by: Timothy Pearson Reviewed-on: https://review.coreboot.org/14960 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/superio/winbond/common/winbond.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/superio/winbond/common/winbond.h') diff --git a/src/superio/winbond/common/winbond.h b/src/superio/winbond/common/winbond.h index 1f7e7b1794..6e67eeb83d 100644 --- a/src/superio/winbond/common/winbond.h +++ b/src/superio/winbond/common/winbond.h @@ -20,7 +20,8 @@ #include #include -void winbond_enable_serial(pnp_devfn_t dev, u16 iobase); +void winbond_enable_serial(pnp_devfn_t dev, uint16_t iobase); +void winbond_set_pinmux(pnp_devfn_t dev, uint8_t offset, uint8_t mask, uint8_t state); void pnp_enter_conf_state(pnp_devfn_t dev); void pnp_exit_conf_state(pnp_devfn_t dev); -- cgit v1.2.3