diff options
author | Keith Hui <buurin@gmail.com> | 2020-05-05 16:01:07 -0400 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-19 08:06:08 +0000 |
commit | 5f0e8d84626902b1e48ab619319ab1c6eb9579a4 (patch) | |
tree | 637d83f546a5bf4f502504e9a1fc353f2a368d6b /src/superio | |
parent | 14ea2fc90cb4cb183b63cd8edd68c3168b398ce2 (diff) | |
download | coreboot-5f0e8d84626902b1e48ab619319ab1c6eb9579a4.tar.gz coreboot-5f0e8d84626902b1e48ab619319ab1c6eb9579a4.tar.bz2 coreboot-5f0e8d84626902b1e48ab619319ab1c6eb9579a4.zip |
superio/winbond/w83977tf: Fix iasl warning
The common PnP serial port DSDT code is intentionally included twice for
two serial ports with different LDNs. Undefine LDN and the PM register
name before redefining for second serial port so iasl doesn't complain.
Change-Id: I031905479c66698fb01da028e3f37d923396d2d9
Signed-off-by: Keith Hui <buurin@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41095
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/superio')
-rw-r--r-- | src/superio/winbond/w83977tf/acpi/superio.asl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/superio/winbond/w83977tf/acpi/superio.asl b/src/superio/winbond/w83977tf/acpi/superio.asl index cd514d07df20..6e37a5bbc15e 100644 --- a/src/superio/winbond/w83977tf/acpi/superio.asl +++ b/src/superio/winbond/w83977tf/acpi/superio.asl @@ -350,6 +350,8 @@ Device (ECP) #define SUPERIO_UART_LDN W83977TF_SP1 #define SUPERIO_UART_PM_REG UAPW #include <superio/acpi/pnp_uart.asl> + #undef SUPERIO_UART_LDN + #undef SUPERIO_UART_PM_REG #endif #ifdef SUPERIO_SHOW_UARTB |