summaryrefslogtreecommitdiff
path: root/src/superio/ite
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2016-12-11 02:04:44 +0100
committerNico Huber <nico.h@gmx.de>2016-12-13 22:49:24 +0100
commitb7a52d3cd6d241c4c88028deea19a5de04c34a95 (patch)
tree708d08666672b54d34249c6b5858fbdfd3ce14d5 /src/superio/ite
parent76069f34a1c0ce72406f24392e905c547dcd2077 (diff)
downloadcoreboot-b7a52d3cd6d241c4c88028deea19a5de04c34a95.tar.xz
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>
Diffstat (limited to 'src/superio/ite')
-rw-r--r--src/superio/ite/it8783ef/acpi/superio.asl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/superio/ite/it8783ef/acpi/superio.asl b/src/superio/ite/it8783ef/acpi/superio.asl
index 38527dd807..d7a320e15b 100644
--- a/src/superio/ite/it8783ef/acpi/superio.asl
+++ b/src/superio/ite/it8783ef/acpi/superio.asl
@@ -51,6 +51,9 @@
#define SUPERIO_CHIP_NAME IT8783EF
#include <superio/acpi/pnp.asl>
+#undef PNP_DEFAULT_PSC
+#define PNP_DEFAULT_PSC Return (0) /* no power management */
+
#define CONFIGURE_CONTROL CCTL
Device(SUPERIO_DEV) {