Skip to content

Commit

Permalink
drivers/uart: Let DRIVERS_UART_8250IO also depend on PPC64
Browse files Browse the repository at this point in the history
There seems to be no operational differences between x86 and PPC64 for
UART 8250. Port number is the same. References:

* open-power/docs#25
* https://github.com/3mdeb/openpower-coreboot-docs/blob/main/devnotes/porting.md#enabling-console

Tested on Talos II (https://raptorcs.com/TALOSII/). Works in QEMU as
well (actually in QEMU it works even without this change somehow).

Change-Id: Ib06001076b8eaa577a8d2159afea20afb610687d
Signed-off-by: Krystian Hebel <[email protected]>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57074
Tested-by: build bot (Jenkins) <[email protected]>
Reviewed-by: Arthur Heymans <[email protected]>
  • Loading branch information
krystian-hebel authored and GovanifY committed Jan 9, 2022
1 parent 1358cff commit 9f47140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/uart/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ config DRIVERS_UART_8250IO
# FIXME: Shouldn't have a prompt, should default to n, and
# should be selected by boards that have it instead.
bool "Serial port on SuperIO"
depends on ARCH_X86
depends on ARCH_X86 || ARCH_PPC64
default n if DRIVERS_UART_8250MEM || HAVE_UART_SPECIAL
default n if NO_UART_ON_SUPERIO
default y
Expand Down

0 comments on commit 9f47140

Please sign in to comment.