mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 12:41:32 +00:00
serial: samsung: add support for skip debug init in s5p
Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com> Cc: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
parent
80565ec6f0
commit
85fcf94160
1 changed files with 3 additions and 0 deletions
|
@ -273,6 +273,9 @@ U_BOOT_DRIVER(serial_s5p) = {
|
|||
|
||||
static inline void _debug_uart_init(void)
|
||||
{
|
||||
if (IS_ENABLED(CONFIG_DEBUG_UART_SKIP_INIT))
|
||||
return;
|
||||
|
||||
struct s5p_uart *uart = (struct s5p_uart *)CONFIG_DEBUG_UART_BASE;
|
||||
|
||||
s5p_serial_init(uart);
|
||||
|
|
Loading…
Add table
Reference in a new issue