pxa: move serial driver to drivers/serial
PATCH 1/2 pxa: move serial driver to drivers/serial
Signed-off-by Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
--- cpu/pxa/Makefile | 1 - drivers/serial/Makefile | 1 + cpu/pxa/serial.c => drivers/serial/serial_pxa.c | 0 include/configs/cerf250.h | 1 + include/configs/cradle.h | 1 + include/configs/csb226.h | 1 + include/configs/delta.h | 1 + include/configs/innokom.h | 1 + include/configs/logodl.h | 1 + include/configs/lubbock.h | 1 + include/configs/pleb2.h | 1 + include/configs/pxa255_idp.h | 1 + include/configs/trizepsiv.h | 1 + include/configs/wepep250.h | 1 + include/configs/xaeniax.h | 1 + include/configs/xm250.h | 1 + include/configs/xsengine.h | 1 + include/configs/zylonite.h | 1 + 18 files changed, 16 insertions(+), 1 deletions(-) rename cpu/pxa/serial.c => drivers/serial/serial_pxa.c (100%)
cpu/pxa/Makefile +0 -1
@@ -30,7 +30,6 @@ START = start.o COBJS += cpu.o COBJS += i2c.o COBJS += pxafb.o -COBJS += serial.o COBJS += timer.o COBJS += usb.o
drivers/serial/Makefile +1 -0
@@ -44,6 +44,7 @@ COBJS-$(CONFIG_MX31_UART) += serial_mx31.o COBJS-$(CONFIG_NETARM_SERIAL) += serial_netarm.o COBJS-$(CONFIG_PL010_SERIAL) += serial_pl01x.o COBJS-$(CONFIG_PL011_SERIAL) += serial_pl01x.o +COBJS-$(CONFIG_PXA_SERIAL) += serial_pxa.o COBJS-$(CONFIG_SA1100_SERIAL) += serial_sa1100.o COBJS-$(CONFIG_S3C24X0_SERIAL) += serial_s3c24x0.o COBJS-$(CONFIG_S3C44B0_SERIAL) += serial_s3c44b0.o
drivers/serial/serial_pxa.c renamed from cpu/pxa/serial.c +0 -0
include/configs/cerf250.h +1 -0
@@ -60,6 +60,7 @@/* * select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_FFUART 1/* we use FFUART on CERF PXA */ /* allow to overwrite serial and ethaddr */
include/configs/cradle.h +1 -0
@@ -57,6 +57,7 @@/* * select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_FFUART 1/* we use FFUART on LUBBOCK */ /* allow to overwrite serial and ethaddr */
include/configs/csb226.h +1 -0
@@ -53,6 +53,7 @@/* * select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_FFUART 1/* we use FFUART on CSB226 */ /* allow to overwrite serial and ethaddr */
include/configs/delta.h +1 -0
@@ -82,6 +82,7 @@/* * select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_FFUART 1/* allow to overwrite serial and ethaddr */
include/configs/innokom.h +1 -0
@@ -50,6 +50,7 @@/* * select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_FFUART 1/* we use FFUART on CSB226 */ /* allow to overwrite serial and ethaddr */
include/configs/logodl.h +1 -0
@@ -50,6 +50,7 @@/* * select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_FFUART 1/* we use FFUART */ /* allow to overwrite serial and ethaddr */
include/configs/lubbock.h +1 -0
@@ -64,6 +64,7 @@/* * select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_FFUART 1/* we use FFUART on LUBBOCK */ /* allow to overwrite serial and ethaddr */
include/configs/pleb2.h +1 -0
@@ -62,6 +62,7 @@/* * select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_FFUART 1/* we use FFUART on PLEB 2 */ /* allow to overwrite serial and ethaddr */
include/configs/pxa255_idp.h +1 -0
@@ -100,6 +100,7 @@/* * select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_FFUART 1/* we use FFUART on LUBBOCK */ /* allow to overwrite serial and ethaddr */
include/configs/trizepsiv.h +1 -0
@@ -65,6 +65,7 @@/* * select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_SERIAL_MULTI #define CONFIG_FFUART 1/* we use FFUART on Conxs */ #define CONFIG_BTUART 1/* we use BTUART on Conxs */
include/configs/wepep250.h +1 -0
@@ -33,6 +33,7 @@/* * Select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_BTUART 1/* BTUART is default on WEP dev board */ #define CONFIG_BAUDRATE 115200
include/configs/xaeniax.h +1 -0
@@ -55,6 +55,7 @@/* * select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_BTUART 1/* we use BTUART on XAENIAX */
include/configs/xm250.h +1 -0
@@ -77,6 +77,7 @@/* * select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_FFUART 1/* we use FFUART */ /* allow to overwrite serial and ethaddr */
include/configs/xsengine.h +1 -0
@@ -99,6 +99,7 @@#define CONFIG_SMC_USE_32_BIT 1/* select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_FFUART 1/* allow to overwrite serial and ethaddr */
include/configs/zylonite.h +1 -0
@@ -72,6 +72,7 @@/* * select serial console configuration */ +#define CONFIG_PXA_SERIAL #define CONFIG_FFUART 1/* allow to overwrite serial and ethaddr */
Signature · 1 line
1.6.2.4
PATCH 2/2 lh7a40x: move serial driver to drivers/serial
Signed-off-by Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
--- cpu/lh7a40x/Makefile | 2 +- drivers/serial/Makefile | 1 + .../serial.c => drivers/serial/serial_lh7a40x.c | 0 include/configs/lpd7a400.h | 1 + include/configs/lpd7a404.h | 1 + 5 files changed, 4 insertions(+), 1 deletions(-) rename cpu/lh7a40x/serial.c => drivers/serial/serial_lh7a40x.c (100%)
cpu/lh7a40x/Makefile +1 -1
@@ -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))
drivers/serial/Makefile +1 -0
@@ -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
drivers/serial/serial_lh7a40x.c renamed from cpu/lh7a40x/serial.c +0 -0
include/configs/lpd7a400.h +1 -0
@@ -43,6 +43,7 @@/* * select serial console configuration */ +#define CONFIG_SERIAL_LH7A40X #define CONFIG_CONSOLE_UART2 /* UART2 LH7A40x for console */ /* allow to overwrite serial and ethaddr */
include/configs/lpd7a404.h +1 -0
@@ -43,6 +43,7 @@/* * select serial console configuration */ +#define CONFIG_SERIAL_LH7A40X #define CONFIG_CONSOLE_UART2 /* UART2 LH7A40x for console */ /* allow to overwrite serial and ethaddr */
Signature · 1 line
1.6.2.4