Commit 70c44f171882768fc6e4dcb0435110b7f897d02e
Committed by
Tom Rini
1 parent
f1bca34ebf
Exists in
smarc_8mq_lf_v2020.04
and in
12 other branches
ARM: chiliboard: remove dead !CONFIG_DM_SERIAL code
DM_SERIAL is selected by TARGET_CHILIBOARD, so there is no reason to keep code that will not be built. Remove it. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Showing 1 changed file with 0 additions and 8 deletions Side-by-side Diff
board/grinn/chiliboard/board.c
... | ... | @@ -19,7 +19,6 @@ |
19 | 19 | #include <environment.h> |
20 | 20 | #include <errno.h> |
21 | 21 | #include <miiphy.h> |
22 | -#include <serial.h> | |
23 | 22 | #include <spl.h> |
24 | 23 | #include <watchdog.h> |
25 | 24 | |
... | ... | @@ -68,13 +67,6 @@ |
68 | 67 | configure_module_pin_mux(mmc0_pin_mux); |
69 | 68 | } |
70 | 69 | #endif /* CONFIG_SKIP_LOWLEVEL_INIT */ |
71 | - | |
72 | -#ifndef CONFIG_DM_SERIAL | |
73 | -struct serial_device *default_serial_console(void) | |
74 | -{ | |
75 | - return &eserial1_device; | |
76 | -} | |
77 | -#endif | |
78 | 70 | |
79 | 71 | #ifndef CONFIG_SKIP_LOWLEVEL_INIT |
80 | 72 | void set_uart_mux_conf(void) |