superio/ite/it8721f/acpi/superio: use IO instead of FixedIO resource

The fixed I/O resource descriptor macro implies that the device will
only decode 10 of the 16 IO port bits causing aliasing. Use an I/O port
descriptor instead and use Decode16 to tell the OS that this I/O
resource will decode all I/O address bits.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I6183d625fb7968fb33caf396f19feef8917ba4fe
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77065
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
Felix Held 2023-08-07 20:12:19 +02:00
parent 431c0b487c
commit e566e1547b
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ Device(SUPERIO_DEV) {
{
/* Announce the used I/O ports to the OS */
Return (ResourceTemplate () {
FixedIO (SUPERIO_PNP_BASE, 0x02)
IO (Decode16, SUPERIO_PNP_BASE, SUPERIO_PNP_BASE, 0x01, 0x02)
})
}