diff options
author | Dzmitry Sankouski | 2021-10-17 13:45:39 +0300 |
---|---|---|
committer | Tom Rini | 2021-10-31 11:25:39 -0400 |
commit | 85fcf9416032dea49c3a82816f03e528019dea9e (patch) | |
tree | 8c81c1376a87d23f8997592431241548a6a9e73f /drivers/serial | |
parent | 80565ec6f0c666e70b0fedd63617f0811c9fcfa7 (diff) |
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>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/serial_s5p.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/serial/serial_s5p.c b/drivers/serial/serial_s5p.c index 53a7b0bd1bd..de420d2d945 100644 --- a/drivers/serial/serial_s5p.c +++ b/drivers/serial/serial_s5p.c @@ -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); |