device/pnp: add register PNP_IO4

Add the register PNP_IO4, which will be used by IT5570E in CB:48894.

Change-Id: Ic820295247323f546d4c48ed17cfa4eab3dc5e92
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48924
Reviewed-by:  Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Michael Niewöhner
2020-12-26 22:20:49 +01:00
parent dbb667ac08
commit 6e016f031f
3 changed files with 29 additions and 25 deletions

View File

@@ -249,6 +249,8 @@ static void get_resources(struct device *dev, struct pnp_info *info)
pnp_get_ioresource(dev, PNP_IDX_IO2, info->io2);
if (info->flags & PNP_IO3)
pnp_get_ioresource(dev, PNP_IDX_IO3, info->io3);
if (info->flags & PNP_IO4)
pnp_get_ioresource(dev, PNP_IDX_IO4, info->io4);
if (info->flags & PNP_IRQ0) {
resource = new_resource(dev, PNP_IDX_IRQ0);