summaryrefslogtreecommitdiff
path: root/src/superio/winbond
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-11-03 14:31:35 +0100
committerFelix Held <felix-coreboot@felixheld.de>2019-11-05 16:08:55 +0000
commit007af4251fe83326d581d158910ecff12059dbfe (patch)
tree815f53ded098b1155f2695a72e1d4a4c7c501722 /src/superio/winbond
parentef63c32b5843c8b585804aa7ba37a3e7da2b7b1a (diff)
downloadcoreboot-007af4251fe83326d581d158910ecff12059dbfe.tar.xz
superio/*/*/acpi: Improve the readability of the IndexField
Change-Id: I64fdcbcbbd54334c1c551bc1346c6000ea82c97d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36598 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/superio/winbond')
-rw-r--r--src/superio/winbond/w83627dhg/acpi/superio.asl2
-rw-r--r--src/superio/winbond/w83627hf/acpi/superio.asl6
2 files changed, 4 insertions, 4 deletions
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 */