soc/intel/apollolake/acpi: Improve comments and unify code word spelling

ACPI: Improve comments and unify code word spelling

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I1efbe930d0b8daec7c7bd2c1d84a4a3a5cad2ffb
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66245
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Sean Rhodes 2022-07-28 22:01:04 +01:00
parent 8264122122
commit a17864c2c9
1 changed files with 9 additions and 9 deletions

View File

@ -1,12 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
Name(_HID, EISAID("PNP0A08")) /* PCIe */ Name (_HID, EisaId("PNP0A08")) /* PCI Express Bus */
Name(_CID, EISAID("PNP0A03")) /* PCI */ Name (_CID, EisaId("PNP0A03")) /* PCI Bus */
Device (MCHC) Device (MCHC)
{ {
Name (_ADR, 0x00000000) /*Dev0 Func0 */ Name (_ADR, 0x00000000) /* Device 0 Function 0 */
OperationRegion (MCHP, PCI_Config, 0x00, 0x100) OperationRegion (MCHP, PCI_Config, 0x00, 0x100)
Field (MCHP, DWordAcc, NoLock, Preserve) Field (MCHP, DWordAcc, NoLock, Preserve)
@ -32,22 +32,22 @@ External (A4GB, IntObj)
/* Current Resource Settings */ /* Current Resource Settings */
Method (_CRS, 0, Serialized) Method (_CRS, 0, Serialized)
{ {
Name (MCRS, ResourceTemplate() Name (MCRS, ResourceTemplate ()
{ {
/* Bus Numbers */ /* Bus Numbers */
WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
0x0000, 0x0000, 0x00ff, 0x0000, 0x0100,,,) 0x0000, 0x0000, 0x00ff, 0x0000, 0x0100)
/* IO Region 0 */ /* IO Region 0: 0x0000 - 0x0cf7 */
DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
0x0000, 0x0000, 0x0cf7, 0x0000, 0x0cf8,,,) 0x0000, 0x0000, 0x0cf7, 0x0000, 0x0cf8)
/* PCI Config Space */ /* PCI Config Space */
Io (Decode16, 0x0cf8, 0x0cf8, 0x0001, 0x0008) Io (Decode16, 0x0cf8, 0x0cf8, 0x0001, 0x0008)
/* IO Region 1 */ /* IO Region 1: 0x1000 - 0xffff */
DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
0x0000, 0x01000, 0xffff, 0x0000, 0xf000,,,) 0x0000, 0x01000, 0xffff, 0x0000, 0xf000)
/* /*
* Descriptor: Legacy VGA video RAM * Descriptor: Legacy VGA video RAM