mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-02 09:36:15 +00:00
at91rm9200: move serial driver to drivers/serial
add CONFIG_AT91RM9200_USART to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
cb82a53266
commit
beebd851cd
10 changed files with 9 additions and 1 deletions
|
@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk
|
||||||
LIB = $(obj)lib$(SOC).a
|
LIB = $(obj)lib$(SOC).a
|
||||||
|
|
||||||
COBJS = bcm5221.o dm9161.o ether.o i2c.o interrupts.o \
|
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
|
SOBJS = lowlevel_init.o
|
||||||
|
|
||||||
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
||||||
|
|
|
@ -26,6 +26,7 @@ include $(TOPDIR)/config.mk
|
||||||
LIB := $(obj)libserial.a
|
LIB := $(obj)libserial.a
|
||||||
|
|
||||||
COBJS-$(CONFIG_ARM_DCC) += arm_dcc.o
|
COBJS-$(CONFIG_ARM_DCC) += arm_dcc.o
|
||||||
|
COBJS-$(CONFIG_AT91RM9200_USART) += at91rm9200_usart.o
|
||||||
COBJS-$(CONFIG_ATMEL_USART) += atmel_usart.o
|
COBJS-$(CONFIG_ATMEL_USART) += atmel_usart.o
|
||||||
COBJS-$(CONFIG_MCFUART) += mcfuart.o
|
COBJS-$(CONFIG_MCFUART) += mcfuart.o
|
||||||
COBJS-$(CONFIG_NS9750_UART) += ns9750_serial.o
|
COBJS-$(CONFIG_NS9750_UART) += ns9750_serial.o
|
||||||
|
|
|
@ -88,6 +88,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* define one of these to choose the DBGU, USART0 or USART1 as console */
|
/* define one of these to choose the DBGU, USART0 or USART1 as console */
|
||||||
|
#define CONFIG_AT91RM9200_USART
|
||||||
#define CONFIG_DBGU
|
#define CONFIG_DBGU
|
||||||
#undef CONFIG_USART0
|
#undef CONFIG_USART0
|
||||||
#undef CONFIG_USART1
|
#undef CONFIG_USART1
|
||||||
|
|
|
@ -112,6 +112,7 @@
|
||||||
* define one of these to choose the DBGU,
|
* define one of these to choose the DBGU,
|
||||||
* USART0 or USART1 as console
|
* USART0 or USART1 as console
|
||||||
*/
|
*/
|
||||||
|
#define CONFIG_AT91RM9200_USART
|
||||||
#define CONFIG_DBGU
|
#define CONFIG_DBGU
|
||||||
#undef CONFIG_USART0
|
#undef CONFIG_USART0
|
||||||
#undef CONFIG_USART1
|
#undef CONFIG_USART1
|
||||||
|
|
|
@ -88,6 +88,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* define one of these to choose the DBGU, USART0 or USART1 as console */
|
/* define one of these to choose the DBGU, USART0 or USART1 as console */
|
||||||
|
#define CONFIG_AT91RM9200_USART
|
||||||
#undef CONFIG_DBGU
|
#undef CONFIG_DBGU
|
||||||
#define CONFIG_USART0
|
#define CONFIG_USART0
|
||||||
#undef CONFIG_USART1
|
#undef CONFIG_USART1
|
||||||
|
|
|
@ -90,6 +90,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* define one of these to choose the DBGU, USART0 or USART1 as console */
|
/* define one of these to choose the DBGU, USART0 or USART1 as console */
|
||||||
|
#define CONFIG_AT91RM9200_USART
|
||||||
#define CONFIG_DBGU
|
#define CONFIG_DBGU
|
||||||
#undef CONFIG_USART0
|
#undef CONFIG_USART0
|
||||||
#undef CONFIG_USART1
|
#undef CONFIG_USART1
|
||||||
|
|
|
@ -72,6 +72,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* define one of these to choose the DBGU, USART0 or USART1 as console */
|
/* define one of these to choose the DBGU, USART0 or USART1 as console */
|
||||||
|
#define CONFIG_AT91RM9200_USART
|
||||||
#define CONFIG_DBGU
|
#define CONFIG_DBGU
|
||||||
#undef CONFIG_USART0
|
#undef CONFIG_USART0
|
||||||
#undef CONFIG_USART1
|
#undef CONFIG_USART1
|
||||||
|
|
|
@ -110,6 +110,7 @@
|
||||||
#define CONFIG_CMC_PU2
|
#define CONFIG_CMC_PU2
|
||||||
|
|
||||||
/* define one of these to choose the DBGU, USART0 or USART1 as console */
|
/* define one of these to choose the DBGU, USART0 or USART1 as console */
|
||||||
|
#define CONFIG_AT91RM9200_USART
|
||||||
#define CONFIG_DBGU
|
#define CONFIG_DBGU
|
||||||
#undef CONFIG_USART0
|
#undef CONFIG_USART0
|
||||||
#undef CONFIG_USART1
|
#undef CONFIG_USART1
|
||||||
|
|
|
@ -95,6 +95,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* define one of these to choose the DBGU, USART0 or USART1 as console */
|
/* define one of these to choose the DBGU, USART0 or USART1 as console */
|
||||||
|
#define CONFIG_AT91RM9200_USART
|
||||||
#define CONFIG_DBGU
|
#define CONFIG_DBGU
|
||||||
#undef CONFIG_USART0
|
#undef CONFIG_USART0
|
||||||
#undef CONFIG_USART1
|
#undef CONFIG_USART1
|
||||||
|
|
Loading…
Add table
Reference in a new issue