lh7a40x: move serial driver to drivers/serial
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
379be585eb
commit
3ea201b016
@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk
|
||||
LIB = $(obj)lib$(CPU).a
|
||||
|
||||
START = start.o
|
||||
COBJS = cpu.o speed.o serial.o timer.o
|
||||
COBJS = cpu.o speed.o timer.o
|
||||
|
||||
SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
||||
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
|
||||
|
@ -39,6 +39,7 @@ COBJS-$(CONFIG_IMX_SERIAL) += serial_imx.o
|
||||
COBJS-$(CONFIG_IXP_SERIAL) += serial_ixp.o
|
||||
COBJS-$(CONFIG_KS8695_SERIAL) += serial_ks8695.o
|
||||
COBJS-$(CONFIG_LPC2292_SERIAL) += serial_lpc2292.o
|
||||
COBJS-$(CONFIG_LH7A40X_SERIAL) += serial_lh7a40x.o
|
||||
COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o
|
||||
COBJS-$(CONFIG_MX31_UART) += serial_mx31.o
|
||||
COBJS-$(CONFIG_NETARM_SERIAL) += serial_netarm.o
|
||||
|
@ -43,6 +43,7 @@
|
||||
/*
|
||||
* select serial console configuration
|
||||
*/
|
||||
#define CONFIG_LH7A40X_SERIAL
|
||||
#define CONFIG_CONSOLE_UART2 /* UART2 LH7A40x for console */
|
||||
|
||||
/* allow to overwrite serial and ethaddr */
|
||||
|
@ -43,6 +43,7 @@
|
||||
/*
|
||||
* select serial console configuration
|
||||
*/
|
||||
#define CONFIG_LH7A40X_SERIAL
|
||||
#define CONFIG_CONSOLE_UART2 /* UART2 LH7A40x for console */
|
||||
|
||||
/* allow to overwrite serial and ethaddr */
|
||||
|
Loading…
Reference in New Issue
Block a user