[U-Boot-Users] [PATCH] drivers/video : move video drivers to drivers/video

Jean-Christophe PLAGNIOL-VILLARD
2007-10-11T08:32:20Z

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
drivers/Makefile | 8 --------
drivers/video/Makefile | 9 ++++++++-
drivers/{ => video}/ati_ids.h | 0
drivers/{ => video}/ati_radeon_fb.c | 0
drivers/{ => video}/ati_radeon_fb.h | 0
drivers/{ => video}/cfb_console.c | 0
drivers/{ => video}/ct69000.c | 0
drivers/{ => video}/sed13806.c | 0
drivers/{ => video}/sed156x.c | 0
drivers/{ => video}/sm501.c | 0
drivers/{ => video}/smiLynxEM.c | 0
drivers/{ => video}/videomodes.c | 0
drivers/{ => video}/videomodes.h | 0
13 files changed, 8 insertions(+), 9 deletions(-)
rename drivers/{ => video}/ati_ids.h (100%)
rename drivers/{ => video}/ati_radeon_fb.c (100%)
rename drivers/{ => video}/ati_radeon_fb.h (100%)
rename drivers/{ => video}/cfb_console.c (100%)
rename drivers/{ => video}/ct69000.c (100%)
rename drivers/{ => video}/sed13806.c (100%)
rename drivers/{ => video}/sed156x.c (100%)
rename drivers/{ => video}/sm501.c (100%)
rename drivers/{ => video}/smiLynxEM.c (100%)
rename drivers/{ => video}/videomodes.c (100%)
rename drivers/{ => video}/videomodes.h (100%)

diff --git a/drivers/Makefile b/drivers/Makefile
index a1f3221..fe9c5f1 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -30,24 +30,16 @@ LIB = $(obj)libdrivers.a
#
# Console Drivers
#
-COBJS-y += ati_radeon_fb.o
COBJS-y += atmel_usart.o
-COBJS-y += cfb_console.o
-COBJS-y += ct69000.o
COBJS-y += netconsole.o
COBJS-y += ns16550.o
COBJS-y += s3c4510b_uart.o
-COBJS-y += sed13806.o
-COBJS-y += sed156x.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 += sm501.o
-COBJS-y += smiLynxEM.o
COBJS-y += usbtty.o
-COBJS-y += videomodes.o

#
# Network Drivers
diff --git a/drivers/video/Makefile b/drivers/video/Makefile
index f26ead9..aa0d299 100644
--- a/drivers/video/Makefile
+++ b/drivers/video/Makefile
@@ -25,7 +25,14 @@ include $(TOPDIR)/config.mk

LIB := $(obj)libvideo.a

-COBJS-y +=
+COBJS-y += ati_radeon_fb.o
+COBJS-y += cfb_console.o
+COBJS-y += ct69000.o
+COBJS-y += sed13806.o
+COBJS-y += sed156x.o
+COBJS-y += sm501.o
+COBJS-y += smiLynxEM.o
+COBJS-y += videomodes.o

COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
diff --git a/drivers/ati_ids.h b/drivers/video/ati_ids.h
similarity index 100%
rename from drivers/ati_ids.h
rename to drivers/video/ati_ids.h
diff --git a/drivers/ati_radeon_fb.c b/drivers/video/ati_radeon_fb.c
similarity index 100%
rename from drivers/ati_radeon_fb.c
rename to drivers/video/ati_radeon_fb.c
diff --git a/drivers/ati_radeon_fb.h b/drivers/video/ati_radeon_fb.h
similarity index 100%
rename from drivers/ati_radeon_fb.h
rename to drivers/video/ati_radeon_fb.h
diff --git a/drivers/cfb_console.c b/drivers/video/cfb_console.c
similarity index 100%
rename from drivers/cfb_console.c
rename to drivers/video/cfb_console.c
diff --git a/drivers/ct69000.c b/drivers/video/ct69000.c
similarity index 100%
rename from drivers/ct69000.c
rename to drivers/video/ct69000.c
diff --git a/drivers/sed13806.c b/drivers/video/sed13806.c
similarity index 100%
rename from drivers/sed13806.c
rename to drivers/video/sed13806.c
diff --git a/drivers/sed156x.c b/drivers/video/sed156x.c
similarity index 100%
rename from drivers/sed156x.c
rename to drivers/video/sed156x.c
diff --git a/drivers/sm501.c b/drivers/video/sm501.c
similarity index 100%
rename from drivers/sm501.c
rename to drivers/video/sm501.c
diff --git a/drivers/smiLynxEM.c b/drivers/video/smiLynxEM.c
similarity index 100%
rename from drivers/smiLynxEM.c
rename to drivers/video/smiLynxEM.c
diff --git a/drivers/videomodes.c b/drivers/video/videomodes.c
similarity index 100%
rename from drivers/videomodes.c
rename to drivers/video/videomodes.c
diff --git a/drivers/videomodes.h b/drivers/video/videomodes.h
similarity index 100%
rename from drivers/videomodes.h
rename to drivers/video/videomodes.h
--
1.5.3.2