Message ID | 20220516164909.7935-1-pali@kernel.org |
---|---|
State | Accepted |
Commit | 958789f026c23d9bfea9d31fe78745ef32b0bd7b |
Delegated to: | Stefan Roese |
Headers | show |
Series | arm: mvebu: turris_omnia: Fix hangup in debug UART | expand |
On 16.05.22 18:49, Pali Rohár wrote: > TPL_DEBUG_UART_BASE is same as DEBUG_UART_BASE, but applies only for TPL. > > Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de> Thanks, Stefan > --- > drivers/serial/Kconfig | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig > index 46726d76b162..f6425a530e57 100644 > --- a/drivers/serial/Kconfig > +++ b/drivers/serial/Kconfig > @@ -515,6 +515,13 @@ config SPL_DEBUG_UART_BASE > help > This is the base address of your UART for memory-mapped UARTs for SPL. > > +config TPL_DEBUG_UART_BASE > + hex "Base address of UART for TPL" > + depends on TPL && DEBUG_UART > + default DEBUG_UART_BASE > + help > + This is the base address of your UART for memory-mapped UARTs for TPL. > + > config DEBUG_UART_CLOCK > int "UART input clock" > depends on DEBUG_UART Viele Grüße, Stefan Roese
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 46726d76b162..f6425a530e57 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -515,6 +515,13 @@ config SPL_DEBUG_UART_BASE help This is the base address of your UART for memory-mapped UARTs for SPL. +config TPL_DEBUG_UART_BASE + hex "Base address of UART for TPL" + depends on TPL && DEBUG_UART + default DEBUG_UART_BASE + help + This is the base address of your UART for memory-mapped UARTs for TPL. + config DEBUG_UART_CLOCK int "UART input clock" depends on DEBUG_UART
TPL_DEBUG_UART_BASE is same as DEBUG_UART_BASE, but applies only for TPL. Signed-off-by: Pali Rohár <pali@kernel.org> --- drivers/serial/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+)