[U-Boot-Users] [PATCH 21/30] drivers/rtc : move rtc drivers to drivers/rtc

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Oct 6 22:06:14 CEST 2007


>From 279507480731a9e51325424e76a65209bd56929f Mon Sep 17 00:00:00 2001
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
Date: Sat, 6 Oct 2007 19:22:09 +0200
Subject: [PATCH] drivers/rtc : move rtc drivers to drivers/rtc

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 Makefile                           |    6 +++---
 {rtc => drivers/rtc}/Makefile      |    0
 {rtc => drivers/rtc}/bf5xx_rtc.c   |    0
 {rtc => drivers/rtc}/date.c        |    0
 {rtc => drivers/rtc}/ds12887.c     |    0
 {rtc => drivers/rtc}/ds1302.c      |    0
 {rtc => drivers/rtc}/ds1306.c      |    0
 {rtc => drivers/rtc}/ds1307.c      |    0
 {rtc => drivers/rtc}/ds1337.c      |    0
 {rtc => drivers/rtc}/ds1374.c      |    0
 {rtc => drivers/rtc}/ds1556.c      |    0
 {rtc => drivers/rtc}/ds164x.c      |    0
 {rtc => drivers/rtc}/ds174x.c      |    0
 {rtc => drivers/rtc}/ds3231.c      |    0
 {rtc => drivers/rtc}/m41t11.c      |    0
 {rtc => drivers/rtc}/m48t35ax.c    |    0
 {rtc => drivers/rtc}/max6900.c     |    0
 {rtc => drivers/rtc}/mc146818.c    |    0
 {rtc => drivers/rtc}/mcfrtc.c      |    0
 {rtc => drivers/rtc}/mk48t59.c     |    0
 {rtc => drivers/rtc}/mpc5xxx.c     |    0
 {rtc => drivers/rtc}/mpc8xx.c      |    0
 {rtc => drivers/rtc}/pcf8563.c     |    0
 {rtc => drivers/rtc}/rs5c372.c     |    0
 {rtc => drivers/rtc}/s3c24x0_rtc.c |    0
 25 files changed, 3 insertions(+), 3 deletions(-)
 rename {rtc => drivers/rtc}/Makefile (100%)
 rename {rtc => drivers/rtc}/bf5xx_rtc.c (100%)
 rename {rtc => drivers/rtc}/date.c (100%)
 rename {rtc => drivers/rtc}/ds12887.c (100%)
 rename {rtc => drivers/rtc}/ds1302.c (100%)
 rename {rtc => drivers/rtc}/ds1306.c (100%)
 rename {rtc => drivers/rtc}/ds1307.c (100%)
 rename {rtc => drivers/rtc}/ds1337.c (100%)
 rename {rtc => drivers/rtc}/ds1374.c (100%)
 rename {rtc => drivers/rtc}/ds1556.c (100%)
 rename {rtc => drivers/rtc}/ds164x.c (100%)
 rename {rtc => drivers/rtc}/ds174x.c (100%)
 rename {rtc => drivers/rtc}/ds3231.c (100%)
 rename {rtc => drivers/rtc}/m41t11.c (100%)
 rename {rtc => drivers/rtc}/m48t35ax.c (100%)
 rename {rtc => drivers/rtc}/max6900.c (100%)
 rename {rtc => drivers/rtc}/mc146818.c (100%)
 rename {rtc => drivers/rtc}/mcfrtc.c (100%)
 rename {rtc => drivers/rtc}/mk48t59.c (100%)
 rename {rtc => drivers/rtc}/mpc5xxx.c (100%)
 rename {rtc => drivers/rtc}/mpc8xx.c (100%)
 rename {rtc => drivers/rtc}/pcf8563.c (100%)
 rename {rtc => drivers/rtc}/rs5c372.c (100%)
 rename {rtc => drivers/rtc}/s3c24x0_rtc.c (100%)

diff --git a/Makefile b/Makefile
index c2f8e59..9eaacc1 100644
--- a/Makefile
+++ b/Makefile
@@ -205,7 +205,6 @@ LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a
fs/fdos/libfdos.a fs/jffs2/libjffs
     fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
 LIBS += net/libnet.a
 LIBS += disk/libdisk.a
-LIBS += rtc/librtc.a
 LIBS += dtt/libdtt.a
 LIBS += drivers/libdrivers.a
 LIBS += drivers/ata/libata.a
@@ -231,6 +230,7 @@ endif
 ifeq ($(CPU),mpc85xx)
 LIBS += drivers/qe/qe.a
 endif
+LIBS += drivers/rtc/librtc.a
 LIBS += drivers/sata/libsata.a
 LIBS += drivers/scsi/libscsi.a
 LIBS += drivers/serial/libserial.a
@@ -375,7 +375,7 @@ tags ctags:
         ctags -w -o $(OBJTREE)/ctags `find $(SUBDIRS) include \
                 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
                 fs/cramfs fs/fat fs/fdos fs/jffs2 \
-                net disk rtc dtt drivers common \
+                net disk dtt drivers common drivers/rtc \
                 drivers/ata drivers/bios_emulator drivers/block \
                 drivers/char drivers/eeprom drivers/hwmon \
                 drivers/i2c drivers/ide drivers/input \
@@ -390,7 +390,7 @@ etags:
         etags -a -o $(OBJTREE)/etags `find $(SUBDIRS) include \
                 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
                 fs/cramfs fs/fat fs/fdos fs/jffs2 \
-                net disk rtc dtt drivers common \
+                net disk dtt drivers common drivers/rtc \
                 drivers/ata drivers/bios_emulator drivers/block \
                 drivers/char drivers/eeprom drivers/hwmon \
                 drivers/i2c drivers/ide drivers/input \
diff --git a/rtc/Makefile b/drivers/rtc/Makefile
similarity index 100%
rename from rtc/Makefile
rename to drivers/rtc/Makefile
diff --git a/rtc/bf5xx_rtc.c b/drivers/rtc/bf5xx_rtc.c
similarity index 100%
rename from rtc/bf5xx_rtc.c
rename to drivers/rtc/bf5xx_rtc.c
diff --git a/rtc/date.c b/drivers/rtc/date.c
similarity index 100%
rename from rtc/date.c
rename to drivers/rtc/date.c
diff --git a/rtc/ds12887.c b/drivers/rtc/ds12887.c
similarity index 100%
rename from rtc/ds12887.c
rename to drivers/rtc/ds12887.c
diff --git a/rtc/ds1302.c b/drivers/rtc/ds1302.c
similarity index 100%
rename from rtc/ds1302.c
rename to drivers/rtc/ds1302.c
diff --git a/rtc/ds1306.c b/drivers/rtc/ds1306.c
similarity index 100%
rename from rtc/ds1306.c
rename to drivers/rtc/ds1306.c
diff --git a/rtc/ds1307.c b/drivers/rtc/ds1307.c
similarity index 100%
rename from rtc/ds1307.c
rename to drivers/rtc/ds1307.c
diff --git a/rtc/ds1337.c b/drivers/rtc/ds1337.c
similarity index 100%
rename from rtc/ds1337.c
rename to drivers/rtc/ds1337.c
diff --git a/rtc/ds1374.c b/drivers/rtc/ds1374.c
similarity index 100%
rename from rtc/ds1374.c
rename to drivers/rtc/ds1374.c
diff --git a/rtc/ds1556.c b/drivers/rtc/ds1556.c
similarity index 100%
rename from rtc/ds1556.c
rename to drivers/rtc/ds1556.c
diff --git a/rtc/ds164x.c b/drivers/rtc/ds164x.c
similarity index 100%
rename from rtc/ds164x.c
rename to drivers/rtc/ds164x.c
diff --git a/rtc/ds174x.c b/drivers/rtc/ds174x.c
similarity index 100%
rename from rtc/ds174x.c
rename to drivers/rtc/ds174x.c
diff --git a/rtc/ds3231.c b/drivers/rtc/ds3231.c
similarity index 100%
rename from rtc/ds3231.c
rename to drivers/rtc/ds3231.c
diff --git a/rtc/m41t11.c b/drivers/rtc/m41t11.c
similarity index 100%
rename from rtc/m41t11.c
rename to drivers/rtc/m41t11.c
diff --git a/rtc/m48t35ax.c b/drivers/rtc/m48t35ax.c
similarity index 100%
rename from rtc/m48t35ax.c
rename to drivers/rtc/m48t35ax.c
diff --git a/rtc/max6900.c b/drivers/rtc/max6900.c
similarity index 100%
rename from rtc/max6900.c
rename to drivers/rtc/max6900.c
diff --git a/rtc/mc146818.c b/drivers/rtc/mc146818.c
similarity index 100%
rename from rtc/mc146818.c
rename to drivers/rtc/mc146818.c
diff --git a/rtc/mcfrtc.c b/drivers/rtc/mcfrtc.c
similarity index 100%
rename from rtc/mcfrtc.c
rename to drivers/rtc/mcfrtc.c
diff --git a/rtc/mk48t59.c b/drivers/rtc/mk48t59.c
similarity index 100%
rename from rtc/mk48t59.c
rename to drivers/rtc/mk48t59.c
diff --git a/rtc/mpc5xxx.c b/drivers/rtc/mpc5xxx.c
similarity index 100%
rename from rtc/mpc5xxx.c
rename to drivers/rtc/mpc5xxx.c
diff --git a/rtc/mpc8xx.c b/drivers/rtc/mpc8xx.c
similarity index 100%
rename from rtc/mpc8xx.c
rename to drivers/rtc/mpc8xx.c
diff --git a/rtc/pcf8563.c b/drivers/rtc/pcf8563.c
similarity index 100%
rename from rtc/pcf8563.c
rename to drivers/rtc/pcf8563.c
diff --git a/rtc/rs5c372.c b/drivers/rtc/rs5c372.c
similarity index 100%
rename from rtc/rs5c372.c
rename to drivers/rtc/rs5c372.c
diff --git a/rtc/s3c24x0_rtc.c b/drivers/rtc/s3c24x0_rtc.c
similarity index 100%
rename from rtc/s3c24x0_rtc.c
rename to drivers/rtc/s3c24x0_rtc.c
-- 
1.5.3.2







More information about the U-Boot mailing list