mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:

committed by
Tom Rini

parent
f1bca34ebf
commit
70c44f1718
@ -19,7 +19,6 @@
|
|||||||
#include <environment.h>
|
#include <environment.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <miiphy.h>
|
#include <miiphy.h>
|
||||||
#include <serial.h>
|
|
||||||
#include <spl.h>
|
#include <spl.h>
|
||||||
#include <watchdog.h>
|
#include <watchdog.h>
|
||||||
|
|
||||||
@ -69,13 +68,6 @@ static void enable_board_pin_mux(void)
|
|||||||
}
|
}
|
||||||
#endif /* CONFIG_SKIP_LOWLEVEL_INIT */
|
#endif /* CONFIG_SKIP_LOWLEVEL_INIT */
|
||||||
|
|
||||||
#ifndef CONFIG_DM_SERIAL
|
|
||||||
struct serial_device *default_serial_console(void)
|
|
||||||
{
|
|
||||||
return &eserial1_device;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef CONFIG_SKIP_LOWLEVEL_INIT
|
#ifndef CONFIG_SKIP_LOWLEVEL_INIT
|
||||||
void set_uart_mux_conf(void)
|
void set_uart_mux_conf(void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user