diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-06-19 06:50:32 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-06-24 08:53:47 +0200 |
commit | bdbb72b8b3bb76de301d511efd7362008cc8cc3e (patch) | |
tree | a0f4e338d2d4aeb37f959aa669761fc406eca73e /common/Kconfig | |
parent | 1f3ce24ef52f2ec4473801a4bf49f86f0936b4c2 (diff) | |
download | barebox-bdbb72b8b3bb76de301d511efd7362008cc8cc3e.tar.gz barebox-bdbb72b8b3bb76de301d511efd7362008cc8cc3e.tar.xz |
RISC-V: erizo: make it easier to reuse ns16550 debug_ll
Incoming StarFive support also uses ns16550 compatibles as UART IP.
Make reuse easier by making the two most likely parameters to change
SoC-specific (base address and baud clock frequency) and move the rest
behind the new CONFIG_DEBUG_LL_NS16550.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20210619045055.779-7-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r-- | common/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 8b8f80bbb3..98be9b58ab 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1376,6 +1376,7 @@ config DEBUG_RPI3_MINI_UART config DEBUG_ERIZO bool "Erizo ns16550 port" depends on SOC_ERIZO + select DEBUG_LL_NS16550 config DEBUG_SIFIVE bool "SiFive serial0 port" @@ -1383,6 +1384,11 @@ config DEBUG_SIFIVE endchoice +config DEBUG_LL_NS16550 + bool + help + Selected by RISC-V platforms that use ns16550 for debug_ll + config DEBUG_IMX_UART_PORT int "i.MX Debug UART Port Selection" if DEBUG_IMX1_UART || \ DEBUG_IMX21_UART || \ |