Skip to content
Snippets Groups Projects
Commit 1a6ffbfa authored by Jean-Christophe PLAGNIOL-VILLARD's avatar Jean-Christophe PLAGNIOL-VILLARD
Browse files

serial: move CFG_NS9750_UART to CONFIG_NS9750_UART


move also conditional compilation to Makefile

Signed-off-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
parent 6c58a030
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ LIB := $(obj)libserial.a ...@@ -27,7 +27,7 @@ LIB := $(obj)libserial.a
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-y += ns9750_serial.o COBJS-$(CONFIG_NS9750_UART) += ns9750_serial.o
COBJS-y += ns16550.o COBJS-y += ns16550.o
COBJS-$(CONFIG_DRIVER_S3C4510_UART) += s3c4510b_uart.o COBJS-$(CONFIG_DRIVER_S3C4510_UART) += s3c4510b_uart.o
COBJS-y += serial.o COBJS-y += serial.o
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
#include <common.h> #include <common.h>
#ifdef CFG_NS9750_UART
#include "ns9750_bbus.h" /* for GPIOs */ #include "ns9750_bbus.h" /* for GPIOs */
#include "ns9750_ser.h" /* for serial configuration */ #include "ns9750_ser.h" /* for serial configuration */
...@@ -210,5 +208,3 @@ static unsigned int calcRxCharGapRegister( void ) ...@@ -210,5 +208,3 @@ static unsigned int calcRxCharGapRegister( void )
{ {
return NS9750_SER_RX_CHAR_TIMER_TRUN; return NS9750_SER_RX_CHAR_TIMER_TRUN;
} }
#endif /* CFG_NS9750_UART */
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
/* /*
* Hardware drivers * Hardware drivers
*/ */
#define CFG_NS9750_UART 1 /* use on-chip UART */ #define CONFIG_NS9750_UART 1 /* use on-chip UART */
#define CONFIG_DRIVER_NS9750_ETHERNET 1 /* use on-chip ethernet */ #define CONFIG_DRIVER_NS9750_ETHERNET 1 /* use on-chip ethernet */
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment