beyond: skip lowlevel init

This commit is contained in:
d4n1 2021-12-22 17:07:34 +05:00
parent 4355cb40ca
commit 78d989b26f

View File

@ -273,6 +273,7 @@ U_BOOT_DRIVER(serial_s5p) = {
static inline void _debug_uart_init(void) static inline void _debug_uart_init(void)
{ {
#ifdef CONFIG_SKIP_LOWLEVEL_INIT
if (IS_ENABLED(CONFIG_DEBUG_UART_SKIP_INIT)) if (IS_ENABLED(CONFIG_DEBUG_UART_SKIP_INIT))
return; return;
@ -284,6 +285,8 @@ static inline void _debug_uart_init(void)
#else #else
s5p_serial_baud(uart, 1, CONFIG_DEBUG_UART_CLOCK, CONFIG_BAUDRATE); s5p_serial_baud(uart, 1, CONFIG_DEBUG_UART_CLOCK, CONFIG_BAUDRATE);
#endif #endif
#endif
} }
static inline void _debug_uart_putc(int ch) static inline void _debug_uart_putc(int ch)