[U-Boot-Users] [PATCH 17/30] drivers/serial : move serial drivers to drivers/serial
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Sat Oct 6 15:31:36 CEST 2007
>From 081d96cf9ec3154bae1f9bdf9c92a8e488bfce8d Mon Sep 17 00:00:00 2001
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
Date: Sun, 23 Sep 2007 03:41:36 +0200
Subject: [PATCH] drivers/serial : move serial drivers to drivers/serial
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
drivers/Makefile | 9 +++------
drivers/serial/Makefile | 4 +++-
drivers/{ => serial}/atmel_usart.c | 0
drivers/{ => serial}/atmel_usart.h | 0
drivers/{ => serial}/ns16550.c | 0
drivers/{ => serial}/ns9750_serial.c | 0
drivers/{ => serial}/s3c4510b_uart.c | 0
drivers/{ => serial}/s3c4510b_uart.h | 0
drivers/{ => serial}/serial.c | 0
drivers/{ => serial}/serial_max3100.c | 0
drivers/{ => serial}/serial_pl010.c | 0
drivers/{ => serial}/serial_pl011.c | 0
drivers/{ => serial}/serial_pl011.h | 0
drivers/{ => serial}/serial_xuartlite.c | 0
drivers/{ => serial}/usbtty.c | 0
drivers/{ => serial}/usbtty.h | 0
16 files changed, 6 insertions(+), 7 deletions(-)
rename drivers/{ => serial}/atmel_usart.c (100%)
rename drivers/{ => serial}/atmel_usart.h (100%)
rename drivers/{ => serial}/ns16550.c (100%)
rename drivers/{ => serial}/ns9750_serial.c (100%)
rename drivers/{ => serial}/s3c4510b_uart.c (100%)
rename drivers/{ => serial}/s3c4510b_uart.h (100%)
rename drivers/{ => serial}/serial.c (100%)
rename drivers/{ => serial}/serial_max3100.c (100%)
rename drivers/{ => serial}/serial_pl010.c (100%)
rename drivers/{ => serial}/serial_pl011.c (100%)
rename drivers/{ => serial}/serial_pl011.h (100%)
rename drivers/{ => serial}/serial_xuartlite.c (100%)
rename drivers/{ => serial}/usbtty.c (100%)
rename drivers/{ => serial}/usbtty.h (100%)
diff --git a/drivers/Makefile b/drivers/Makefile
index cd832ce..635ce64 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -27,23 +27,20 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libdrivers.a
-COBJS = 3c589.o 5701rls.o ali512x.o atmel_usart.o \
+COBJS = 3c589.o 5701rls.o ali512x.o \
bcm570x.o bcm570x_autoneg.o \
cs8900.o dc2114x.o dm9000x.o \
e1000.o eepro100.o enc28j60.o \
inca-ip_sw.o \
lan91c96.o macb.o \
natsemi.o ne2000.o netarm_eth.o netconsole.o \
- ns16550.o ns8382x.o ns87308.o ns7520_eth.o \
+ ns8382x.o ns87308.o ns7520_eth.o \
pcnet.o plb2800_eth.o \
rtl8019.o rtl8139.o rtl8169.o \
- s3c4510b_eth.o s3c4510b_uart.o \
- serial.o serial_max3100.o \
- serial_pl010.o serial_pl011.o serial_xuartlite.o \
+ s3c4510b_eth.o \
smc91111.o \
ti_pci1410a.o tigon3.o tsec.o \
tsi108_eth.o \
- usbtty.o \
ks8695eth.o
SRCS := $(COBJS:.o=.c)
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile
index 93c68dd..f805fe2 100644
--- a/drivers/serial/Makefile
+++ b/drivers/serial/Makefile
@@ -25,7 +25,9 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libserial.a
-COBJS := mcfuart.o
+COBJS := atmel_usart.o mcfuart.o ns16550.o ns9750_serial.o \
+ s3c4510b_uart.o serial.o serial_max3100.o serial_pl010.o \
+ serial_pl011.o serial_xuartlite.o usbtty.o
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
diff --git a/drivers/atmel_usart.c b/drivers/serial/atmel_usart.c
similarity index 100%
rename from drivers/atmel_usart.c
rename to drivers/serial/atmel_usart.c
diff --git a/drivers/atmel_usart.h b/drivers/serial/atmel_usart.h
similarity index 100%
rename from drivers/atmel_usart.h
rename to drivers/serial/atmel_usart.h
diff --git a/drivers/ns16550.c b/drivers/serial/ns16550.c
similarity index 100%
rename from drivers/ns16550.c
rename to drivers/serial/ns16550.c
diff --git a/drivers/ns9750_serial.c b/drivers/serial/ns9750_serial.c
similarity index 100%
rename from drivers/ns9750_serial.c
rename to drivers/serial/ns9750_serial.c
diff --git a/drivers/s3c4510b_uart.c b/drivers/serial/s3c4510b_uart.c
similarity index 100%
rename from drivers/s3c4510b_uart.c
rename to drivers/serial/s3c4510b_uart.c
diff --git a/drivers/s3c4510b_uart.h b/drivers/serial/s3c4510b_uart.h
similarity index 100%
rename from drivers/s3c4510b_uart.h
rename to drivers/serial/s3c4510b_uart.h
diff --git a/drivers/serial.c b/drivers/serial/serial.c
similarity index 100%
rename from drivers/serial.c
rename to drivers/serial/serial.c
diff --git a/drivers/serial_max3100.c b/drivers/serial/serial_max3100.c
similarity index 100%
rename from drivers/serial_max3100.c
rename to drivers/serial/serial_max3100.c
diff --git a/drivers/serial_pl010.c b/drivers/serial/serial_pl010.c
similarity index 100%
rename from drivers/serial_pl010.c
rename to drivers/serial/serial_pl010.c
diff --git a/drivers/serial_pl011.c b/drivers/serial/serial_pl011.c
similarity index 100%
rename from drivers/serial_pl011.c
rename to drivers/serial/serial_pl011.c
diff --git a/drivers/serial_pl011.h b/drivers/serial/serial_pl011.h
similarity index 100%
rename from drivers/serial_pl011.h
rename to drivers/serial/serial_pl011.h
diff --git a/drivers/serial_xuartlite.c b/drivers/serial/serial_xuartlite.c
similarity index 100%
rename from drivers/serial_xuartlite.c
rename to drivers/serial/serial_xuartlite.c
diff --git a/drivers/usbtty.c b/drivers/serial/usbtty.c
similarity index 100%
rename from drivers/usbtty.c
rename to drivers/serial/usbtty.c
diff --git a/drivers/usbtty.h b/drivers/serial/usbtty.h
similarity index 100%
rename from drivers/usbtty.h
rename to drivers/serial/usbtty.h
--
1.5.3.2
More information about the U-Boot
mailing list