sio/ite/common: Export pnp_enter/exit_conf_state()

Change-Id: I8cbfe49516e685c1b3e150b23f9fcac513f1f3dc
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/17285
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Nico Huber 2016-10-11 11:56:32 +02:00 committed by Nico Huber
parent 56c848cdc9
commit 6167365530
2 changed files with 5 additions and 2 deletions

View File

@ -36,7 +36,7 @@ static void ite_sio_write(pnp_devfn_t dev, u8 reg, u8 value)
}
/* Enable configuration */
static void pnp_enter_conf_state(pnp_devfn_t dev)
void pnp_enter_conf_state(pnp_devfn_t dev)
{
u16 port = dev >> 8;
@ -47,7 +47,7 @@ static void pnp_enter_conf_state(pnp_devfn_t dev)
}
/* Disable configuration */
static void pnp_exit_conf_state(pnp_devfn_t dev)
void pnp_exit_conf_state(pnp_devfn_t dev)
{
ite_sio_write(dev, ITE_CONFIG_REG_CC, 0x02);
}

View File

@ -31,4 +31,7 @@ void ite_reg_write(pnp_devfn_t dev, u8 reg, u8 value);
void ite_enable_3vsbsw(pnp_devfn_t dev);
void ite_kill_watchdog(pnp_devfn_t dev);
void pnp_enter_conf_state(pnp_devfn_t dev);
void pnp_exit_conf_state(pnp_devfn_t dev);
#endif /* SUPERIO_ITE_COMMON_ROMSTAGE_H */