superio/acpi/pnp_generic.asl: Add _PRS for each device

Simply return the current resource settings in the _PRS method. This
means that coreboot has to correctly set up the resources on the
device. This won't result in any regression as without _PRS the ACPI
OS would not know what resources settings are valid, so it would never
use _SRS.

Change-Id: I2726714cbe076fc7c772c06883d8551400ff2baa
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64218
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
This commit is contained in:
Arthur Heymans 2022-05-09 15:23:30 +02:00 committed by Martin Roth
parent d57b82111a
commit 148fd99365
1 changed files with 8 additions and 0 deletions

View File

@ -171,4 +171,12 @@ Device (SUPERIO_ID(PN, SUPERIO_PNP_LDN)) {
Store (One, PNP_DEVICE_ACTIVE)
EXIT_CONFIG_MODE ()
}
/* This is used for _SRS. Since _DIS only disables the device
* without changing the resources this works.
*/
Method (_PRS, 0)
{
return (_CRS)
}
}