diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2020-12-26 22:20:49 +0100 |
---|---|---|
committer | Michael Niewöhner <foss@mniewoehner.de> | 2020-12-28 21:01:08 +0000 |
commit | 6e016f031faa9c20224bae491aca868d377bce37 (patch) | |
tree | 9ec1bc1e25eeb43db14b243afbff20f71c3b0d3c /src/device | |
parent | dbb667ac08f8283eb38861151f971efd46736ab6 (diff) |
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>
Diffstat (limited to 'src/device')
-rw-r--r-- | src/device/pnp_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device/pnp_device.c b/src/device/pnp_device.c index afe6948a3a..259d449752 100644 --- a/src/device/pnp_device.c +++ b/src/device/pnp_device.c @@ -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); |