superio/common/conf_mode: use pnp_write_config instead of outb calls
Change-Id: Ibab8e798bd6bee14ef4141373e48100504d6cb46 Signed-off-by: Felix Held <felix-github@felixheld.de> Reviewed-on: https://review.coreboot.org/c/31061 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
parent
a6450d7b76
commit
dacf083c2f
|
@ -67,8 +67,7 @@ void pnp_enter_conf_mode_870155aa(struct device *dev)
|
|||
|
||||
void pnp_exit_conf_mode_0202(struct device *dev)
|
||||
{
|
||||
outb(0x02, dev->path.pnp.port);
|
||||
outb(0x02, dev->path.pnp.port + 1);
|
||||
pnp_write_config(dev, 0x02, (1 << 1));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue