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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user