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:
Felix Held 2019-01-21 14:50:28 +01:00 committed by Felix Held
parent a6450d7b76
commit dacf083c2f
1 changed files with 1 additions and 2 deletions

View File

@ -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));
}