]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
at91rm9200: move serial driver to drivers/serial
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 27 Mar 2009 22:26:43 +0000 (23:26 +0100)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sat, 4 Apr 2009 18:42:20 +0000 (20:42 +0200)
add CONFIG_AT91RM9200_USART to activate the driver

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
cpu/arm920t/at91rm9200/Makefile
drivers/serial/Makefile
drivers/serial/at91rm9200_usart.c [moved from cpu/arm920t/at91rm9200/serial.c with 100% similarity]
include/configs/at91rm9200dk.h
include/configs/at91rm9200ek.h
include/configs/cmc_pu2.h
include/configs/csb637.h
include/configs/kb9202.h
include/configs/m501sk.h
include/configs/mp2usb.h

index ab4c52c8fb08fccc02f0813eec88b12a57df8b82..67f17fadfeb705519997b1445f1f3585cc7c0da1 100644 (file)
@@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk
 LIB    = $(obj)lib$(SOC).a
 
 COBJS  = bcm5221.o dm9161.o ether.o i2c.o interrupts.o \
-         lxt972.o serial.o usb.o spi.o
+         lxt972.o usb.o spi.o
 SOBJS  = lowlevel_init.o
 
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
index 696d5fbbba91ad83fe4e21d55d05250f6a8a6cc2..bb99a349ac99dde3070befbbef3a086a25f28ae7 100644 (file)
@@ -26,6 +26,7 @@ include $(TOPDIR)/config.mk
 LIB    := $(obj)libserial.a
 
 COBJS-$(CONFIG_ARM_DCC) += arm_dcc.o
+COBJS-$(CONFIG_AT91RM9200_USART) += at91rm9200_usart.o
 COBJS-$(CONFIG_ATMEL_USART) += atmel_usart.o
 COBJS-$(CONFIG_MCFUART) += mcfuart.o
 COBJS-$(CONFIG_NS9750_UART) += ns9750_serial.o
index 5a980d353e88fbbc4a64262f8216b916071368b0..56128c153ee7c59376e5940cc2fc04c92838947b 100644 (file)
@@ -88,6 +88,7 @@
  */
 
 /* define one of these to choose the DBGU, USART0  or USART1 as console */
+#define CONFIG_AT91RM9200_USART
 #define CONFIG_DBGU
 #undef CONFIG_USART0
 #undef CONFIG_USART1
index 692ccdb71b7ff2fbd71ab1680d982171d55360ab..a018873fd685136c7e0345fcd81b856e8c89984d 100644 (file)
  * define one of these to choose the DBGU,
  * USART0 or USART1 as console
  */
+#define CONFIG_AT91RM9200_USART
 #define CONFIG_DBGU
 #undef CONFIG_USART0
 #undef CONFIG_USART1
index e5c74e136fab504b3e9dc71cd31a32bd35bc3dcb..80559bf1919a987e0befa198a6aac8eac098602c 100644 (file)
@@ -88,6 +88,7 @@
  */
 
 /* define one of these to choose the DBGU, USART0  or USART1 as console */
+#define CONFIG_AT91RM9200_USART
 #undef CONFIG_DBGU
 #define CONFIG_USART0
 #undef CONFIG_USART1
index 761c0dca397db46226408fefd1eb35356685b057..e1cdc7f66ec1cb09ec1bf446965e63d61ec13206 100644 (file)
@@ -90,6 +90,7 @@
  */
 
 /* define one of these to choose the DBGU, USART0  or USART1 as console */
+#define CONFIG_AT91RM9200_USART
 #define CONFIG_DBGU
 #undef CONFIG_USART0
 #undef CONFIG_USART1
index 1ce8c6974adf1f648c33fc1d60fb707a0bf00055..7dd81e69cb91c1aa77e96b4e9818ca6961cd1514 100644 (file)
@@ -72,6 +72,7 @@
  */
 
 /* define one of these to choose the DBGU, USART0  or USART1 as console */
+#define CONFIG_AT91RM9200_USART
 #define CONFIG_DBGU
 #undef CONFIG_USART0
 #undef CONFIG_USART1
index a432850519bff6ae4a012dfa750633605bce9a1e..1e7d90ed98dc5af260f9bf8a148b5d4c041ffdbe 100644 (file)
 #define CONFIG_CMC_PU2
 
 /* define one of these to choose the DBGU, USART0  or USART1 as console */
+#define CONFIG_AT91RM9200_USART
 #define CONFIG_DBGU
 #undef CONFIG_USART0
 #undef CONFIG_USART1
index edaa17403fbe18c0e15551736853b294300c43b2..3225ce714ced3ff003e46d174ccfc62af4eb7c91 100644 (file)
@@ -95,6 +95,7 @@
  */
 
 /* define one of these to choose the DBGU, USART0  or USART1 as console */
+#define CONFIG_AT91RM9200_USART
 #define CONFIG_DBGU
 #undef CONFIG_USART0
 #undef CONFIG_USART1