summaryrefslogtreecommitdiff
path: root/src/ec/google/wilco/acpi
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2018-11-17 12:15:31 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-12-04 10:17:23 +0000
commitf6ce6030b9f895ef2b1a0bf8a0dc539b5237e1fe (patch)
tree6cb1e93bf5d88ed4128719d5b395ee483da8117c /src/ec/google/wilco/acpi
parentd08c7301987cbf95ad1facaaf93599f34262540f (diff)
ec/google/wilco: Enable COM1 ACPI device
Enable the COM1 ACPI device based on the existing Kconfig option CONFIG_DRIVERS_UART_8250IO instead of expecting the mainboard to also define another value for ACPI. Change-Id: I69361cc2c245cfcad3e4f57567bf56d5a26f0b06 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/c/29672 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/google/wilco/acpi')
-rw-r--r--src/ec/google/wilco/acpi/superio.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/wilco/acpi/superio.asl b/src/ec/google/wilco/acpi/superio.asl
index a8cea7891a..9c23c49fdc 100644
--- a/src/ec/google/wilco/acpi/superio.asl
+++ b/src/ec/google/wilco/acpi/superio.asl
@@ -29,7 +29,7 @@ Device (SIO)
Method (_STA, 0, NotSerialized)
{
-#ifdef SIO_EC_ENABLE_COM1
+#if IS_ENABLED(CONFIG_DRIVERS_UART_8250IO)
Return (0x0f)
#else
Return (Zero)