serial: Add new config option SPL_DEBUG_UART_BASE
SPL_DEBUG_UART_BASE is same as DEBUG_UART_BASE, but applies only for SPL. In some cases base address of UART is different in SPL and proper U-Boot. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
5bb2c550b1
commit
9f971ff714
1 changed files with 7 additions and 0 deletions
|
@ -508,6 +508,13 @@ config DEBUG_UART_BASE
|
||||||
A default should be provided by your board, but if not you will need
|
A default should be provided by your board, but if not you will need
|
||||||
to use the correct value here.
|
to use the correct value here.
|
||||||
|
|
||||||
|
config SPL_DEBUG_UART_BASE
|
||||||
|
hex "Base address of UART for SPL"
|
||||||
|
depends on SPL && DEBUG_UART
|
||||||
|
default DEBUG_UART_BASE
|
||||||
|
help
|
||||||
|
This is the base address of your UART for memory-mapped UARTs for SPL.
|
||||||
|
|
||||||
config DEBUG_UART_CLOCK
|
config DEBUG_UART_CLOCK
|
||||||
int "UART input clock"
|
int "UART input clock"
|
||||||
depends on DEBUG_UART
|
depends on DEBUG_UART
|
||||||
|
|
Loading…
Reference in a new issue