summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-05-16 22:48:46 +0200
committerWolfgang Denk <wd@denx.de>2009-06-12 20:39:52 +0200
commit379be585eb2343d8814a5cee5fb3da930d846bee (patch)
treeee1a692fce02571b87b74dac974ea7993b00b66e
parentad7e8aac6920f8b8a85b3cc2e93bca7458e99aa1 (diff)
pxa: move serial driver to drivers/serial
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-rw-r--r--cpu/pxa/Makefile1
-rw-r--r--drivers/serial/Makefile1
-rw-r--r--drivers/serial/serial_pxa.c (renamed from cpu/pxa/serial.c)0
-rw-r--r--include/configs/cerf250.h1
-rw-r--r--include/configs/cradle.h1
-rw-r--r--include/configs/csb226.h1
-rw-r--r--include/configs/delta.h1
-rw-r--r--include/configs/innokom.h1
-rw-r--r--include/configs/logodl.h1
-rw-r--r--include/configs/lubbock.h1
-rw-r--r--include/configs/pleb2.h1
-rw-r--r--include/configs/pxa255_idp.h1
-rw-r--r--include/configs/trizepsiv.h1
-rw-r--r--include/configs/wepep250.h1
-rw-r--r--include/configs/xaeniax.h1
-rw-r--r--include/configs/xm250.h1
-rw-r--r--include/configs/xsengine.h1
-rw-r--r--include/configs/zylonite.h1
18 files changed, 16 insertions, 1 deletions
diff --git a/cpu/pxa/Makefile b/cpu/pxa/Makefile
index 5dc3a52c8d..07a151a170 100644
--- a/cpu/pxa/Makefile
+++ b/cpu/pxa/Makefile
@@ -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
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile
index 14c818decc..4a35703d22 100644
--- a/drivers/serial/Makefile
+++ b/drivers/serial/Makefile
@@ -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
diff --git a/cpu/pxa/serial.c b/drivers/serial/serial_pxa.c
index 9ba457e75a..9ba457e75a 100644
--- a/cpu/pxa/serial.c
+++ b/drivers/serial/serial_pxa.c
diff --git a/include/configs/cerf250.h b/include/configs/cerf250.h
index 82d1401469..b924758dc2 100644
--- a/include/configs/cerf250.h
+++ b/include/configs/cerf250.h
@@ -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 */
diff --git a/include/configs/cradle.h b/include/configs/cradle.h
index 75c5f9bb3e..b150c221a3 100644
--- a/include/configs/cradle.h
+++ b/include/configs/cradle.h
@@ -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 */
diff --git a/include/configs/csb226.h b/include/configs/csb226.h
index ed1845009e..12bab4702a 100644
--- a/include/configs/csb226.h
+++ b/include/configs/csb226.h
@@ -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 */
diff --git a/include/configs/delta.h b/include/configs/delta.h
index bacbd90b5d..e7186e8399 100644
--- a/include/configs/delta.h
+++ b/include/configs/delta.h
@@ -82,6 +82,7 @@
/*
* select serial console configuration
*/
+#define CONFIG_PXA_SERIAL
#define CONFIG_FFUART 1
/* allow to overwrite serial and ethaddr */
diff --git a/include/configs/innokom.h b/include/configs/innokom.h
index 69654c7c0f..ed03ad32a0 100644
--- a/include/configs/innokom.h
+++ b/include/configs/innokom.h
@@ -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 */
diff --git a/include/configs/logodl.h b/include/configs/logodl.h
index 889a9a344d..5b903f0dcb 100644
--- a/include/configs/logodl.h
+++ b/include/configs/logodl.h
@@ -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 */
diff --git a/include/configs/lubbock.h b/include/configs/lubbock.h
index 2cf9c02815..43913cada9 100644
--- a/include/configs/lubbock.h
+++ b/include/configs/lubbock.h
@@ -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 */
diff --git a/include/configs/pleb2.h b/include/configs/pleb2.h
index ed873faca7..635ef71bc9 100644
--- a/include/configs/pleb2.h
+++ b/include/configs/pleb2.h
@@ -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 */
diff --git a/include/configs/pxa255_idp.h b/include/configs/pxa255_idp.h
index 7485f7241c..2cae8ca9b3 100644
--- a/include/configs/pxa255_idp.h
+++ b/include/configs/pxa255_idp.h
@@ -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 */
diff --git a/include/configs/trizepsiv.h b/include/configs/trizepsiv.h
index 49173181fb..49045fd069 100644
--- a/include/configs/trizepsiv.h
+++ b/include/configs/trizepsiv.h
@@ -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 */
diff --git a/include/configs/wepep250.h b/include/configs/wepep250.h
index 197ac0bbd6..9a20cce457 100644
--- a/include/configs/wepep250.h
+++ b/include/configs/wepep250.h
@@ -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
diff --git a/include/configs/xaeniax.h b/include/configs/xaeniax.h
index 1632d29622..83883f6fd5 100644
--- a/include/configs/xaeniax.h
+++ b/include/configs/xaeniax.h
@@ -55,6 +55,7 @@
/*
* select serial console configuration
*/
+#define CONFIG_PXA_SERIAL
#define CONFIG_BTUART 1 /* we use BTUART on XAENIAX */
diff --git a/include/configs/xm250.h b/include/configs/xm250.h
index c8bdf3186b..f18701abf5 100644
--- a/include/configs/xm250.h
+++ b/include/configs/xm250.h
@@ -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 */
diff --git a/include/configs/xsengine.h b/include/configs/xsengine.h
index 7e2abbf346..2697ccaf62 100644
--- a/include/configs/xsengine.h
+++ b/include/configs/xsengine.h
@@ -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 */
diff --git a/include/configs/zylonite.h b/include/configs/zylonite.h
index 217636a618..15c37087f6 100644
--- a/include/configs/zylonite.h
+++ b/include/configs/zylonite.h
@@ -72,6 +72,7 @@
/*
* select serial console configuration
*/
+#define CONFIG_PXA_SERIAL
#define CONFIG_FFUART 1
/* allow to overwrite serial and ethaddr */