aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/uart/Kconfig
diff options
context:
space:
mode:
authorKrystian Hebel <krystian.hebel@3mdeb.com>2020-09-25 12:16:01 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-11-22 15:02:50 +0000
commit84f3807f5c70336138c7a83537115767b73796eb (patch)
tree040b28afc3831652e2a6f1b704db12221b300c24 /src/drivers/uart/Kconfig
parentf1e401c6cb7058487eac791da0fc5b40678cb274 (diff)
drivers/uart: Let DRIVERS_UART_8250IO also depend on PPC64
There seems to be no operational differences between x86 and PPC64 for UART 8250. Port number is the same. References: * https://github.com/open-power/docs/issues/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 <krystian.hebel@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57074 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/drivers/uart/Kconfig')
-rw-r--r--src/drivers/uart/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/uart/Kconfig b/src/drivers/uart/Kconfig
index 41b870fbf7..beba4012e2 100644
--- a/src/drivers/uart/Kconfig
+++ b/src/drivers/uart/Kconfig
@@ -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