From 007af4251fe83326d581d158910ecff12059dbfe Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 3 Nov 2019 14:31:35 +0100 Subject: superio/*/*/acpi: Improve the readability of the IndexField Change-Id: I64fdcbcbbd54334c1c551bc1346c6000ea82c97d Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/36598 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/superio/winbond/w83627dhg/acpi/superio.asl | 2 +- src/superio/winbond/w83627hf/acpi/superio.asl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/superio/winbond') diff --git a/src/superio/winbond/w83627dhg/acpi/superio.asl b/src/superio/winbond/w83627dhg/acpi/superio.asl index 301ee94230..e1f2e383d8 100644 --- a/src/superio/winbond/w83627dhg/acpi/superio.asl +++ b/src/superio/winbond/w83627dhg/acpi/superio.asl @@ -65,7 +65,7 @@ Device(SUPERIO_DEV) { PNP_ADDR_REG, 8, PNP_DATA_REG, 8 } - IndexField (ADDR, DATA, ByteAcc, NoLock, Preserve) + IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve) { Offset (0x07), PNP_LOGICAL_DEVICE, 8, /* Logical device selector */ diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl index ef4504c94e..87c13ac9a8 100644 --- a/src/superio/winbond/w83627hf/acpi/superio.asl +++ b/src/superio/winbond/w83627hf/acpi/superio.asl @@ -67,10 +67,10 @@ Device(SIO) { OperationRegion (CREG, SystemIO, 0x2E, 0x02) Field (CREG, ByteAcc, NoLock, Preserve) { - ADDR, 8, - DATA, 8 + PNP_ADDR_REG, 8, + PNP_DATA_REG, 8 } - IndexField (ADDR, DATA, ByteAcc, NoLock, Preserve) + IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve) { Offset (0x02), RST, 1, /* Soft reset */ -- cgit v1.2.3