[U-Boot-Users] [PATCH] drivers/i2c : move i2c drivers to drivers/i2c
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Thu Oct 11 10:32:11 CEST 2007
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
drivers/Makefile | 8 --------
drivers/i2c/Makefile | 5 ++++-
drivers/{ => i2c}/fsl_i2c.c | 0
drivers/{ => i2c}/omap1510_i2c.c | 0
drivers/{ => i2c}/omap24xx_i2c.c | 0
drivers/{ => i2c}/tsi108_i2c.c | 0
6 files changed, 4 insertions(+), 9 deletions(-)
rename drivers/{ => i2c}/fsl_i2c.c (100%)
rename drivers/{ => i2c}/omap1510_i2c.c (100%)
rename drivers/{ => i2c}/omap24xx_i2c.c (100%)
rename drivers/{ => i2c}/tsi108_i2c.c (100%)
diff --git a/drivers/Makefile b/drivers/Makefile
index 6742b6c..cc758d7 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -62,14 +62,6 @@ COBJS-y += usbtty.o
COBJS-y += videomodes.o
#
-# I2C Drivers
-#
-COBJS-y += omap1510_i2c.o
-COBJS-y += omap24xx_i2c.o
-COBJS-y += tsi108_i2c.o
-COBJS-y += fsl_i2c.o
-
-#
# Network Drivers
#
COBJS-y += 3c589.o
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile
index 7595572..4400a16 100644
--- a/drivers/i2c/Makefile
+++ b/drivers/i2c/Makefile
@@ -25,7 +25,10 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libi2c.a
-COBJS-y +=
+COBJS-y += fsl_i2c.o
+COBJS-y += omap1510_i2c.o
+COBJS-y += omap24xx_i2c.o
+COBJS-y += tsi108_i2c.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
diff --git a/drivers/fsl_i2c.c b/drivers/i2c/fsl_i2c.c
similarity index 100%
rename from drivers/fsl_i2c.c
rename to drivers/i2c/fsl_i2c.c
diff --git a/drivers/omap1510_i2c.c b/drivers/i2c/omap1510_i2c.c
similarity index 100%
rename from drivers/omap1510_i2c.c
rename to drivers/i2c/omap1510_i2c.c
diff --git a/drivers/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c
similarity index 100%
rename from drivers/omap24xx_i2c.c
rename to drivers/i2c/omap24xx_i2c.c
diff --git a/drivers/tsi108_i2c.c b/drivers/i2c/tsi108_i2c.c
similarity index 100%
rename from drivers/tsi108_i2c.c
rename to drivers/i2c/tsi108_i2c.c
--
1.5.3.2
More information about the U-Boot
mailing list