soc/amd/*/acpi/mmio.asl,sb_fch.asl: hide AAHB device

Don't set bit 2 in _STA in order for Windows not to show a warning about
an unknown device in the device manager for this device. Since the _STA
object just returns a constant, a name definition can be used instead of
a method definition.

TEST=The unknown device with device instance path ACPI\AAHB0000\0
disappeared from the device manager in Windows 10 build 19045 on a
Mandolin board with a Picasso APU.

Just shutting down and then booting it again won't clear some internal
state in Windows, so a reboot is needed instead for the change to become
visible.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I8cb1712756c3623cc3ea16210af69cde0fa18f62
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68961
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
This commit is contained in:
Felix Held 2022-10-28 19:25:53 +02:00 committed by Martin L Roth
parent a6e60f043b
commit 396fb3db74
6 changed files with 6 additions and 30 deletions

View File

@ -14,11 +14,7 @@ Device (AAHB)
{
Memory32Fixed (ReadWrite, ALINK_AHB_ADDRESS, 0x2000)
})
Method (_STA, 0x0, NotSerialized)
{
Return (0x0F)
}
Name (_STA, 0xb)
}
Device (GPIO)

View File

@ -16,11 +16,7 @@ Device (AAHB)
{
Memory32Fixed (ReadWrite, ALINK_AHB_ADDRESS, 0x2000)
})
Method (_STA, 0x0, NotSerialized)
{
Return (0x0F)
}
Name (_STA, 0xb)
}
Device (GPIO)

View File

@ -16,11 +16,7 @@ Device (AAHB)
{
Memory32Fixed (ReadWrite, ALINK_AHB_ADDRESS, 0x2000)
})
Method (_STA, 0x0, NotSerialized)
{
Return (0x0F)
}
Name (_STA, 0xb)
}
Device (GPIO)

View File

@ -16,11 +16,7 @@ Device (AAHB)
{
Memory32Fixed (ReadWrite, ALINK_AHB_ADDRESS, 0x2000)
})
Method (_STA, 0x0, NotSerialized)
{
Return (0x0F)
}
Name (_STA, 0xb)
}
Device (GPIO)

View File

@ -14,11 +14,7 @@ Device (AAHB)
{
Memory32Fixed (ReadWrite, ALINK_AHB_ADDRESS, 0x2000)
})
Method (_STA, 0x0, NotSerialized)
{
Return (0x0F)
}
Name (_STA, 0xb)
}
Device (GPIO)

View File

@ -12,11 +12,7 @@ Device (AAHB)
{
Memory32Fixed (ReadWrite, ALINK_AHB_ADDRESS, 0x2000)
})
Method (_STA, 0x0, NotSerialized)
{
Return (0x0F)
}
Name (_STA, 0xb)
}
Device (GPIO)