summaryrefslogtreecommitdiff
path: root/src/soc/amd/mendocino
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-05-12 18:51:24 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-05-13 18:33:20 +0000
commit39a98260ff1f0e16bdcbe10419b1f2dc4cc170f1 (patch)
tree423acbbec9520a2dd837bcf677900428a1a59785 /src/soc/amd/mendocino
parentbba14fe497be6b45f570e04049f95b5908843ae5 (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/soc/amd/mendocino')
-rw-r--r--src/soc/amd/mendocino/acpi/mmio.asl5
1 files changed, 4 insertions, 1 deletions
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)