diff options
author | Patrick Georgi <pgeorgi@google.com> | 2020-05-19 10:04:10 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-20 08:44:36 +0000 |
commit | 030037d3e92bd11a7a5062fb024fdbae9aa68622 (patch) | |
tree | 05fd643fb5d6f00e13a992d706054882609412e0 | |
parent | 736024afdb9b89006a006996e6ed62bccc338c11 (diff) |
superio/winbond/w83977tf: Scope UART configuration defines more locally
By undefining the configuration after use we're sure that nobody else
comes to depend on it without us noticing.
Change-Id: I7c5cfd58be643d6431989fc69cf3b397920590b9
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41530
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-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 6e37a5bbc1..bd085e10cd 100644 --- a/src/superio/winbond/w83977tf/acpi/superio.asl +++ b/src/superio/winbond/w83977tf/acpi/superio.asl @@ -358,6 +358,8 @@ Device (ECP) #define SUPERIO_UART_LDN W83977TF_SP2 #define SUPERIO_UART_PM_REG UBPW #include <superio/acpi/pnp_uart.asl> + #undef SUPERIO_UART_LDN + #undef SUPERIO_UART_PM_REG #endif /* |