Keith Hui has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/40967 )
Change subject: superio/fintek/f81216h: Rename pnp_enter_conf_state() ......................................................................
superio/fintek/f81216h: Rename pnp_enter_conf_state()
This one does require a version with non-standard signature. Rename to avoid conflict with upcoming standardization.
Note: There is currently no mainboard in tree using this super I/O.
Change-Id: I2d58d73eca0be1f4daf9106a1258274486f803a5 Signed-off-by: Keith Hui buurin@gmail.com --- M src/superio/fintek/f81216h/early_serial.c 1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/67/40967/1
diff --git a/src/superio/fintek/f81216h/early_serial.c b/src/superio/fintek/f81216h/early_serial.c index d2fa0fe..d97dd86 100644 --- a/src/superio/fintek/f81216h/early_serial.c +++ b/src/superio/fintek/f81216h/early_serial.c @@ -9,14 +9,14 @@
#define FINTEK_EXIT_KEY 0xAA
-static void pnp_enter_conf_state(pnp_devfn_t dev, u8 f81216h_entry_key) +static void f81216h_pnp_enter_conf_state(pnp_devfn_t dev, u8 f81216h_entry_key) { u16 port = dev >> 8; outb(f81216h_entry_key, port); outb(f81216h_entry_key, port); }
-static void pnp_exit_conf_state(pnp_devfn_t dev) +void pnp_exit_conf_state(pnp_devfn_t dev) { u16 port = dev >> 8; outb(FINTEK_EXIT_KEY, port); @@ -43,7 +43,7 @@ key = 0x77; /* try the hw default */ break; } - pnp_enter_conf_state(dev, key); + f81216h_pnp_enter_conf_state(dev, key); pnp_set_logical_device(dev); pnp_set_enable(dev, 0); pnp_set_iobase(dev, PNP_IDX_IO0, iobase);