sio/ite/it8783ef: Return (0) in ACPI _PSC methods

Current ACPI code for UARTs uses the PNP_DEFAULT_PSC macro for _PSC
(current power state) methods. Override it to `Return (0)` (i.e. cur-
rent state is D0) as the IT8783E/F doesn't have power management.

Change-Id: I3c858dde287dbf7e5fc0c20abb1fd374887acdde
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/17791
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Nico Huber 2016-12-11 02:04:44 +01:00
parent 76069f34a1
commit b7a52d3cd6
1 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,9 @@
#define SUPERIO_CHIP_NAME IT8783EF #define SUPERIO_CHIP_NAME IT8783EF
#include <superio/acpi/pnp.asl> #include <superio/acpi/pnp.asl>
#undef PNP_DEFAULT_PSC
#define PNP_DEFAULT_PSC Return (0) /* no power management */
#define CONFIGURE_CONTROL CCTL #define CONFIGURE_CONTROL CCTL
Device(SUPERIO_DEV) { Device(SUPERIO_DEV) {