diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-05-12 18:51:24 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-05-13 18:33:20 +0000 |
commit | 39a98260ff1f0e16bdcbe10419b1f2dc4cc170f1 (patch) | |
tree | 423acbbec9520a2dd837bcf677900428a1a59785 /src | |
parent | bba14fe497be6b45f570e04049f95b5908843ae5 (diff) |
soc/amd/*/acpi/mmio.asl,sb_fch.asl: change AAHB's _STA back to method
Commit 396fb3db74db ("soc/amd/*/acpi/mmio.asl,sb_fch.asl: hide AAHB
device") didn't only change the visibility of the device, but also
changed the _STA method to a name. While this worked, the specification
says that _STA is supposed to be a method, so change it back to being a
method.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Id0932b2875aaf563a4dbd860bdd11a04272e3780
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75169
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/amd/cezanne/acpi/mmio.asl | 5 | ||||
-rw-r--r-- | src/soc/amd/glinda/acpi/mmio.asl | 5 | ||||
-rw-r--r-- | src/soc/amd/mendocino/acpi/mmio.asl | 5 | ||||
-rw-r--r-- | src/soc/amd/phoenix/acpi/mmio.asl | 5 | ||||
-rw-r--r-- | src/soc/amd/picasso/acpi/sb_fch.asl | 5 | ||||
-rw-r--r-- | src/soc/amd/stoneyridge/acpi/sb_fch.asl | 5 |
6 files changed, 24 insertions, 6 deletions
diff --git a/src/soc/amd/cezanne/acpi/mmio.asl b/src/soc/amd/cezanne/acpi/mmio.asl index a109f53ff2..a8508f7df5 100644 --- a/src/soc/amd/cezanne/acpi/mmio.asl +++ b/src/soc/amd/cezanne/acpi/mmio.asl @@ -14,7 +14,10 @@ Device (AAHB) { Memory32Fixed (ReadWrite, ALINK_AHB_ADDRESS, 0x2000) }) - Name (_STA, 0xb) + Method (_STA, 0x0, NotSerialized) + { + Return (0x0b) + } } Device (GPIO) diff --git a/src/soc/amd/glinda/acpi/mmio.asl b/src/soc/amd/glinda/acpi/mmio.asl index 07ff7903d5..e3cb7a51ef 100644 --- a/src/soc/amd/glinda/acpi/mmio.asl +++ b/src/soc/amd/glinda/acpi/mmio.asl @@ -16,7 +16,10 @@ Device (AAHB) { Memory32Fixed (ReadWrite, ALINK_AHB_ADDRESS, 0x2000) }) - Name (_STA, 0xb) + Method (_STA, 0x0, NotSerialized) + { + Return (0x0b) + } } Device (GPIO) diff --git a/src/soc/amd/mendocino/acpi/mmio.asl b/src/soc/amd/mendocino/acpi/mmio.asl index c4acfb12db..cba3ec6599 100644 --- a/src/soc/amd/mendocino/acpi/mmio.asl +++ b/src/soc/amd/mendocino/acpi/mmio.asl @@ -16,7 +16,10 @@ Device (AAHB) { Memory32Fixed (ReadWrite, ALINK_AHB_ADDRESS, 0x2000) }) - Name (_STA, 0xb) + Method (_STA, 0x0, NotSerialized) + { + Return (0x0b) + } } Device (GPIO) diff --git a/src/soc/amd/phoenix/acpi/mmio.asl b/src/soc/amd/phoenix/acpi/mmio.asl index e8130b0037..9d70fd666e 100644 --- a/src/soc/amd/phoenix/acpi/mmio.asl +++ b/src/soc/amd/phoenix/acpi/mmio.asl @@ -16,7 +16,10 @@ Device (AAHB) { Memory32Fixed (ReadWrite, ALINK_AHB_ADDRESS, 0x2000) }) - Name (_STA, 0xb) + Method (_STA, 0x0, NotSerialized) + { + Return (0x0b) + } } Device (GPIO) diff --git a/src/soc/amd/picasso/acpi/sb_fch.asl b/src/soc/amd/picasso/acpi/sb_fch.asl index d58e044882..a0dfd46483 100644 --- a/src/soc/amd/picasso/acpi/sb_fch.asl +++ b/src/soc/amd/picasso/acpi/sb_fch.asl @@ -14,7 +14,10 @@ Device (AAHB) { Memory32Fixed (ReadWrite, ALINK_AHB_ADDRESS, 0x2000) }) - Name (_STA, 0xb) + Method (_STA, 0x0, NotSerialized) + { + Return (0x0b) + } } Device (GPIO) diff --git a/src/soc/amd/stoneyridge/acpi/sb_fch.asl b/src/soc/amd/stoneyridge/acpi/sb_fch.asl index d7490d719e..6876c2ae3d 100644 --- a/src/soc/amd/stoneyridge/acpi/sb_fch.asl +++ b/src/soc/amd/stoneyridge/acpi/sb_fch.asl @@ -12,7 +12,10 @@ Device (AAHB) { Memory32Fixed (ReadWrite, ALINK_AHB_ADDRESS, 0x2000) }) - Name (_STA, 0xb) + Method (_STA, 0x0, NotSerialized) + { + Return (0x0b) + } } Device (GPIO) |