Keith Hui has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/41095 )
Change subject: superio/winbond/w83977tf: Fix iasl warning ......................................................................
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 --- M src/superio/winbond/w83977tf/acpi/superio.asl 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/41095/1
diff --git a/src/superio/winbond/w83977tf/acpi/superio.asl b/src/superio/winbond/w83977tf/acpi/superio.asl index 918d1e1..9b4a212 100644 --- a/src/superio/winbond/w83977tf/acpi/superio.asl +++ b/src/superio/winbond/w83977tf/acpi/superio.asl @@ -351,6 +351,8 @@ #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
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41095 )
Change subject: superio/winbond/w83977tf: Fix iasl warning ......................................................................
Patch Set 2: Code-Review+1
(1 comment)
https://review.coreboot.org/c/coreboot/+/41095/2/src/superio/winbond/w83977t... File src/superio/winbond/w83977tf/acpi/superio.asl:
https://review.coreboot.org/c/coreboot/+/41095/2/src/superio/winbond/w83977t... PS2, Line 358: #ifdef SUPERIO_SHOW_UARTB Maybe undefine it here instead?
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41095 )
Change subject: superio/winbond/w83977tf: Fix iasl warning ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/41095/2/src/superio/winbond/w83977t... File src/superio/winbond/w83977tf/acpi/superio.asl:
https://review.coreboot.org/c/coreboot/+/41095/2/src/superio/winbond/w83977t... PS2, Line 358: #ifdef SUPERIO_SHOW_UARTB
Maybe undefine it here instead?
I'd rather add another set of undefines after the include in line 361 to ensure that nobody else comes to depend on these symbols.
Oh, look! A wild commit appeared: CB:41530
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41095 )
Change subject: superio/winbond/w83977tf: Fix iasl warning ......................................................................
Patch Set 3: Code-Review+2
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/41095 )
Change subject: superio/winbond/w83977tf: Fix iasl warning ......................................................................
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 --- M src/superio/winbond/w83977tf/acpi/superio.asl 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved Angel Pons: Looks good to me, but someone else must approve
diff --git a/src/superio/winbond/w83977tf/acpi/superio.asl b/src/superio/winbond/w83977tf/acpi/superio.asl index cd514d0..6e37a5b 100644 --- a/src/superio/winbond/w83977tf/acpi/superio.asl +++ b/src/superio/winbond/w83977tf/acpi/superio.asl @@ -350,6 +350,8 @@ #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
9elements QA has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41095 )
Change subject: superio/winbond/w83977tf: Fix iasl warning ......................................................................
Patch Set 4:
Automatic boot test returned (PASS/FAIL/TOTAL): 4/0/4 Emulation targets: "QEMU x86 q35/ich9" using payload TianoCore : SUCCESS : https://lava.9esec.io/r/3556 "QEMU x86 q35/ich9" using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/3555 "QEMU x86 i440fx/piix4" using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/3554 "QEMU AArch64" using payload LinuxBoot_u-root_kexec : SUCCESS : https://lava.9esec.io/r/3553
Please note: This test is under development and might not be accurate at all!