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>
diff --git a/src/soc/amd/cezanne/acpi/mmio.asl b/src/soc/amd/cezanne/acpi/mmio.asl
index a109f53..a8508f7 100644
--- a/src/soc/amd/cezanne/acpi/mmio.asl
+++ b/src/soc/amd/cezanne/acpi/mmio.asl
@@ -14,7 +14,10 @@
{
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 07ff790..e3cb7a5 100644
--- a/src/soc/amd/glinda/acpi/mmio.asl
+++ b/src/soc/amd/glinda/acpi/mmio.asl
@@ -16,7 +16,10 @@
{
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 c4acfb1..cba3ec6 100644
--- a/src/soc/amd/mendocino/acpi/mmio.asl
+++ b/src/soc/amd/mendocino/acpi/mmio.asl
@@ -16,7 +16,10 @@
{
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 e8130b0..9d70fd6 100644
--- a/src/soc/amd/phoenix/acpi/mmio.asl
+++ b/src/soc/amd/phoenix/acpi/mmio.asl
@@ -16,7 +16,10 @@
{
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 d58e044..a0dfd46 100644
--- a/src/soc/amd/picasso/acpi/sb_fch.asl
+++ b/src/soc/amd/picasso/acpi/sb_fch.asl
@@ -14,7 +14,10 @@
{
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 d7490d7..6876c2a 100644
--- a/src/soc/amd/stoneyridge/acpi/sb_fch.asl
+++ b/src/soc/amd/stoneyridge/acpi/sb_fch.asl
@@ -12,7 +12,10 @@
{
Memory32Fixed (ReadWrite, ALINK_AHB_ADDRESS, 0x2000)
})
- Name (_STA, 0xb)
+ Method (_STA, 0x0, NotSerialized)
+ {
+ Return (0x0b)
+ }
}
Device (GPIO)