sa1100: move serial driver to drivers/serial
add CONFIG_SA1100_SERIAL to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
b2368754a9
commit
412ab70588
|
@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk
|
||||||
LIB = $(obj)lib$(CPU).a
|
LIB = $(obj)lib$(CPU).a
|
||||||
|
|
||||||
START = start.o
|
START = start.o
|
||||||
COBJS = serial.o interrupts.o cpu.o
|
COBJS = interrupts.o cpu.o
|
||||||
|
|
||||||
SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
||||||
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
|
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
|
||||||
|
|
|
@ -37,6 +37,7 @@ COBJS-$(CONFIG_IXP_SERIAL) += serial_ixp.o
|
||||||
COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o
|
COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o
|
||||||
COBJS-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
|
COBJS-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
|
||||||
COBJS-$(CONFIG_PL011_SERIAL) += serial_pl01x.o
|
COBJS-$(CONFIG_PL011_SERIAL) += serial_pl01x.o
|
||||||
|
COBJS-$(CONFIG_SA1100_SERIAL) += serial_sa1100.o
|
||||||
COBJS-$(CONFIG_S3C44B0_SERIAL) += serial_s3c44b0.o
|
COBJS-$(CONFIG_S3C44B0_SERIAL) += serial_s3c44b0.o
|
||||||
COBJS-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o
|
COBJS-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o
|
||||||
COBJS-$(CONFIG_SCIF_CONSOLE) += serial_sh.o
|
COBJS-$(CONFIG_SCIF_CONSOLE) += serial_sh.o
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
/*
|
/*
|
||||||
* select serial console configuration
|
* select serial console configuration
|
||||||
*/
|
*/
|
||||||
|
#define CONFIG_SA1100_SERIAL
|
||||||
#define CONFIG_SERIAL1 1 /* we use SERIAL 1 on Intel Assabet */
|
#define CONFIG_SERIAL1 1 /* we use SERIAL 1 on Intel Assabet */
|
||||||
|
|
||||||
/* allow to overwrite serial and ethaddr */
|
/* allow to overwrite serial and ethaddr */
|
||||||
|
|
|
@ -59,6 +59,7 @@
|
||||||
/*
|
/*
|
||||||
* select serial console configuration
|
* select serial console configuration
|
||||||
*/
|
*/
|
||||||
|
#define CONFIG_SA1100_SERIAL
|
||||||
#define CONFIG_SERIAL1 1 /* we use SERIAL 1 */
|
#define CONFIG_SERIAL1 1 /* we use SERIAL 1 */
|
||||||
|
|
||||||
/* allow to overwrite serial and ethaddr */
|
/* allow to overwrite serial and ethaddr */
|
||||||
|
|
|
@ -70,6 +70,7 @@
|
||||||
/*
|
/*
|
||||||
* select serial console configuration
|
* select serial console configuration
|
||||||
*/
|
*/
|
||||||
|
#define CONFIG_SA1100_SERIAL
|
||||||
#define CONFIG_SERIAL3 1 /* we use SERIAL 3 on ADS GCPlus */
|
#define CONFIG_SERIAL3 1 /* we use SERIAL 3 on ADS GCPlus */
|
||||||
|
|
||||||
/* allow to overwrite serial and ethaddr */
|
/* allow to overwrite serial and ethaddr */
|
||||||
|
|
|
@ -52,6 +52,7 @@
|
||||||
/*
|
/*
|
||||||
* select serial console configuration
|
* select serial console configuration
|
||||||
*/
|
*/
|
||||||
|
#define CONFIG_SA1100_SERIAL
|
||||||
#define CONFIG_SERIAL3 1 /* we use SERIAL 3 on LART */
|
#define CONFIG_SERIAL3 1 /* we use SERIAL 3 on LART */
|
||||||
|
|
||||||
/* allow to overwrite serial and ethaddr */
|
/* allow to overwrite serial and ethaddr */
|
||||||
|
|
|
@ -59,6 +59,7 @@
|
||||||
/*
|
/*
|
||||||
* select serial console configuration
|
* select serial console configuration
|
||||||
*/
|
*/
|
||||||
|
#define CONFIG_SA1100_SERIAL
|
||||||
#define CONFIG_SERIAL3 1 /* we use SERIAL 3 */
|
#define CONFIG_SERIAL3 1 /* we use SERIAL 3 */
|
||||||
|
|
||||||
/* allow to overwrite serial and ethaddr */
|
/* allow to overwrite serial and ethaddr */
|
||||||
|
|
Loading…
Reference in New Issue