From 7a9348728ebda63cdbaacffd83099aa71d9d4c54 Mon Sep 17 00:00:00 2001
From: Peter Pearse <peter.pearse@arm.com>
Date: Tue, 23 Oct 2007 10:22:16 +0100
Subject: [PATCH] Move PL01* serial drivers to drivers/serial and adjust
 Makefiles.

---
 drivers/Makefile                    | 2 +-
 drivers/serial/Makefile             | 2 +-
 drivers/{ => serial}/serial_pl010.c | 0
 drivers/{ => serial}/serial_pl011.c | 0
 drivers/{ => serial}/serial_pl011.h | 0
 5 files changed, 2 insertions(+), 2 deletions(-)
 rename drivers/{ => serial}/serial_pl010.c (100%)
 rename drivers/{ => serial}/serial_pl011.c (100%)
 rename drivers/{ => serial}/serial_pl011.h (100%)

diff --git a/drivers/Makefile b/drivers/Makefile
index 6bf05ccad1..1889698bca 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -42,7 +42,7 @@ COBJS	= 3c589.o 5701rls.o ali512x.o at45.o ata_piix.o atmel_usart.o \
 	  s3c4510b_eth.o s3c4510b_uart.o \
 	  sed13806.o sed156x.o \
 	  serial.o serial_max3100.o \
-	  serial_pl010.o serial_pl011.o serial_xuartlite.o \
+	  serial_xuartlite.o \
 	  sil680.o sl811_usb.o sm501.o smc91111.o smiLynxEM.o \
 	  status_led.o sym53c8xx.o systemace.o ahci.o \
 	  ti_pci1410a.o tigon3.o tsec.o \
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile
index 93c68dd2e0..40f3d672ec 100644
--- a/drivers/serial/Makefile
+++ b/drivers/serial/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 LIB 	:= $(obj)libserial.a
 
-COBJS 	:= mcfuart.o
+COBJS 	:= mcfuart.o serial_pl010.o serial_pl011.o
 
 SRCS 	:= $(COBJS:.o=.c)
 OBJS 	:= $(addprefix $(obj),$(COBJS))
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
-- 
2.39.5