From 78d989b26ffe6e72a515a7e0e7980fc2e8c82c51 Mon Sep 17 00:00:00 2001 From: d4n1 Date: Wed, 22 Dec 2021 17:07:34 +0500 Subject: [PATCH] beyond: skip lowlevel init --- drivers/serial/serial_s5p.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/serial/serial_s5p.c b/drivers/serial/serial_s5p.c index de420d2d94..180cfc0b9a 100644 --- a/drivers/serial/serial_s5p.c +++ b/drivers/serial/serial_s5p.c @@ -273,6 +273,7 @@ U_BOOT_DRIVER(serial_s5p) = { static inline void _debug_uart_init(void) { +#ifdef CONFIG_SKIP_LOWLEVEL_INIT if (IS_ENABLED(CONFIG_DEBUG_UART_SKIP_INIT)) return; @@ -284,6 +285,8 @@ static inline void _debug_uart_init(void) #else s5p_serial_baud(uart, 1, CONFIG_DEBUG_UART_CLOCK, CONFIG_BAUDRATE); #endif + +#endif } static inline void _debug_uart_putc(int ch)