s3c24x0: move serial driver to drivers/serial
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
942ba9969b
commit
300f99f453
@ -25,8 +25,7 @@ include $(TOPDIR)/config.mk
|
||||
|
||||
LIB = $(obj)lib$(SOC).a
|
||||
|
||||
COBJS = i2c.o interrupts.o serial.o speed.o \
|
||||
usb.o usb_ohci.o nand.o
|
||||
COBJS = i2c.o interrupts.o speed.o usb.o usb_ohci.o nand.o
|
||||
|
||||
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
||||
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
|
||||
|
@ -44,6 +44,7 @@ COBJS-$(CONFIG_NETARM_SERIAL) += serial_netarm.o
|
||||
COBJS-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
|
||||
COBJS-$(CONFIG_PL011_SERIAL) += serial_pl01x.o
|
||||
COBJS-$(CONFIG_SA1100_SERIAL) += serial_sa1100.o
|
||||
COBJS-$(CONFIG_S3C24X0_SERIAL) += serial_s3c24x0.o
|
||||
COBJS-$(CONFIG_S3C44B0_SERIAL) += serial_s3c44b0.o
|
||||
COBJS-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o
|
||||
COBJS-$(CONFIG_SCIF_CONSOLE) += serial_sh.o
|
||||
|
@ -19,8 +19,6 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#if defined(CONFIG_S3C2400) || defined (CONFIG_S3C2410) || defined (CONFIG_TRAB)
|
||||
|
||||
#if defined(CONFIG_S3C2400) || defined(CONFIG_TRAB)
|
||||
#include <s3c2400.h>
|
||||
#elif defined(CONFIG_S3C2410)
|
||||
@ -300,5 +298,3 @@ struct serial_device s3c24xx_serial2_device =
|
||||
INIT_S3C_SERIAL_STRUCTURE(2, "s3ser2", "S3UART3");
|
||||
|
||||
#endif /* CONFIG_SERIAL_MULTI */
|
||||
|
||||
#endif /* defined(CONFIG_S3C2400) || defined (CONFIG_S3C2410) || defined (CONFIG_TRAB) */
|
@ -117,6 +117,7 @@
|
||||
/*
|
||||
* select serial console configuration
|
||||
*/
|
||||
#define CONFIG_S3C24X0_SERIAL
|
||||
#define CONFIG_SERIAL1 1 /* we use SERIAL 1 on VCMA9 */
|
||||
|
||||
/************************************************************
|
||||
|
@ -70,6 +70,7 @@
|
||||
/*
|
||||
* select serial console configuration
|
||||
*/
|
||||
#define CONFIG_S3C24X0_SERIAL
|
||||
#define CONFIG_SERIAL1 1 /* we use SERIAL 1 on SBC2410X */
|
||||
|
||||
/************************************************************
|
||||
|
@ -63,6 +63,7 @@
|
||||
/*
|
||||
* select serial console configuration
|
||||
*/
|
||||
#define CONFIG_S3C24X0_SERIAL
|
||||
#define CONFIG_SERIAL1 1 /* we use SERIAL 1 on SAMSUNG */
|
||||
|
||||
#undef CONFIG_HWFLOW /* include RTS/CTS flow control support */
|
||||
|
@ -60,6 +60,7 @@
|
||||
/*
|
||||
* select serial console configuration
|
||||
*/
|
||||
#define CONFIG_S3C24X0_SERIAL
|
||||
#define CONFIG_SERIAL1 1 /* we use SERIAL 1 on SMDK2410 */
|
||||
|
||||
/************************************************************
|
||||
|
@ -111,6 +111,7 @@
|
||||
/*
|
||||
* select serial console configuration
|
||||
*/
|
||||
#define CONFIG_S3C24X0_SERIAL
|
||||
#define CONFIG_SERIAL1 1 /* we use SERIAL 1 on TRAB */
|
||||
|
||||
#define CONFIG_HWFLOW /* include RTS/CTS flow control support */
|
||||
|
Loading…
Reference in New Issue
Block a user