summaryrefslogtreecommitdiff
path: root/src/drivers/uart/Kconfig
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-12-18 11:02:56 -0700
committerMartin Roth <martinroth@google.com>2016-12-30 04:48:45 +0100
commit643236e193aa6a3a88903d7bdd2d13fe1ac0f675 (patch)
tree7d517666302942fab9d4e9580eb21fed0c290582 /src/drivers/uart/Kconfig
parent8c50e684415312b27b5ffe30164877460c2e7858 (diff)
downloadcoreboot-643236e193aa6a3a88903d7bdd2d13fe1ac0f675.tar.xz
drivers/uart/oxpcie_early.c: remove uart_fill_lb()
uart_fill_lb() was added to drivers/uart/uart8250mem.c, so when the Oxford OXPCIe952 Kconfig option is enabled, we were getting an error. "multiple definition of `uart_fill_lb'" The new version of uart_fill_lb sets the regwidth depending on the Kconfig symbol DRIVERS_UART_8250MEM_32, so if that's selected, don't give DRIVERS_UART_OXPCIE as a choice. Change-Id: Ife24ab390553b10b2266809595c2e06463de708c Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/17966 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
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 518e7caada..54f591d9ad 100644
--- a/src/drivers/uart/Kconfig
+++ b/src/drivers/uart/Kconfig
@@ -47,7 +47,7 @@ config HAVE_UART_SPECIAL
config DRIVERS_UART_OXPCIE
bool "Oxford OXPCIe952"
default n
- depends on PCI
+ depends on PCI && !DRIVERS_UART_8250MEM_32
select DRIVERS_UART_8250MEM
select EARLY_PCI_BRIDGE
select UART_OVERRIDE_REFCLK