]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers/serial : move serial drivers to drivers/serial
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sat, 24 Nov 2007 18:33:38 +0000 (19:33 +0100)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 25 Nov 2007 22:24:16 +0000 (23:24 +0100)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
13 files changed:
drivers/Makefile
drivers/serial/Makefile
drivers/serial/atmel_usart.c [moved from drivers/atmel_usart.c with 100% similarity]
drivers/serial/atmel_usart.h [moved from drivers/atmel_usart.h with 100% similarity]
drivers/serial/ns16550.c [moved from drivers/ns16550.c with 100% similarity]
drivers/serial/ns9750_serial.c [moved from drivers/ns9750_serial.c with 100% similarity]
drivers/serial/s3c4510b_uart.c [moved from drivers/s3c4510b_uart.c with 100% similarity]
drivers/serial/s3c4510b_uart.h [moved from drivers/s3c4510b_uart.h with 100% similarity]
drivers/serial/serial.c [moved from drivers/serial.c with 100% similarity]
drivers/serial/serial_max3100.c [moved from drivers/serial_max3100.c with 100% similarity]
drivers/serial/serial_xuartlite.c [moved from drivers/serial_xuartlite.c with 100% similarity]
drivers/serial/usbtty.c [moved from drivers/usbtty.c with 100% similarity]
drivers/serial/usbtty.h [moved from drivers/usbtty.h with 100% similarity]

index 4b6f5f017f49b0586bb9324116a8cc4d6e446420..cf8b584c7247a5e74aa14aaa7c4306bd585e7733 100755 (executable)
@@ -48,18 +48,11 @@ COBJS-y += systemace.o
 #
 # Console Drivers
 #
-COBJS-y += atmel_usart.o
 COBJS-y += i8042.o
 COBJS-y += keyboard.o
-COBJS-y += ns16550.o
 COBJS-y += pc_keyb.o
 COBJS-y += ps2ser.o
 COBJS-y += ps2mult.o
-COBJS-y += s3c4510b_uart.o
-COBJS-y += serial.o
-COBJS-y += serial_max3100.o
-COBJS-y += serial_xuartlite.o
-COBJS-y += usbtty.o
 
 #
 # USB Drivers
index 40f3d672ec9e9361a56af944e02fd6b276df3346..735c630006bd4751561cbc043ed5a1355a595523 100644 (file)
@@ -25,8 +25,19 @@ include $(TOPDIR)/config.mk
 
 LIB    := $(obj)libserial.a
 
-COBJS  := mcfuart.o serial_pl010.o serial_pl011.o
-
+COBJS-y += atmel_usart.o
+COBJS-y += mcfuart.o
+COBJS-y += ns9750_serial.o
+COBJS-y += ns16550.o
+COBJS-y += s3c4510b_uart.o
+COBJS-y += serial.o
+COBJS-y += serial_max3100.o
+COBJS-y += serial_pl010.o
+COBJS-y += serial_pl011.o
+COBJS-y += serial_xuartlite.o
+COBJS-y += usbtty.o
+
+COBJS  := $(COBJS-y)
 SRCS   := $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
 
similarity index 100%
rename from drivers/ns16550.c
rename to drivers/serial/ns16550.c
similarity index 100%
rename from drivers/serial.c
rename to drivers/serial/serial.c
similarity index 100%
rename from drivers/usbtty.c
rename to drivers/serial/usbtty.c
similarity index 100%
rename from drivers/usbtty.h
rename to drivers/serial/usbtty.h