[U-Boot-Users] [PATCH 7/30] drivers/i2c : move i2c drivers to drivers/i2c

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Oct 6 15:10:21 CEST 2007


>From c8f7a978176d3ac6c44bfb899facf523985073a7 Mon Sep 17 00:00:00 2001
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
Date: Sun, 23 Sep 2007 02:44:55 +0200
Subject: [PATCH] drivers/i2c : move i2c drivers to drivers/i2c

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 drivers/Makefile                 |    8 ++++----
 drivers/i2c/Makefile             |    2 +-
 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, 5 insertions(+), 5 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 a50d881..b4a6692 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -34,8 +34,8 @@ COBJS    = 3c589.o 5701rls.o ali512x.o at45.o
atmel_usart.o \
       i8042.o inca-ip_sw.o isp116x-hcd.o keyboard.o \
       lan91c96.o macb.o \
       natsemi.o ne2000.o netarm_eth.o netconsole.o \
-      ns16550.o ns8382x.o ns87308.o ns7520_eth.o omap1510_i2c.o \
-      omap24xx_i2c.o pci.o pci_auto.o pci_indirect.o \
+      ns16550.o ns8382x.o ns87308.o ns7520_eth.o \
+      pci.o pci_auto.o pci_indirect.o \
       pcnet.o plb2800_eth.o \
       rtl8019.o rtl8139.o rtl8169.o \
       s3c4510b_eth.o s3c4510b_uart.o \
@@ -45,7 +45,7 @@ COBJS    = 3c589.o 5701rls.o ali512x.o at45.o
atmel_usart.o \
       sil680.o sl811_usb.o sm501.o smc91111.o smiLynxEM.o \
       status_led.o sym53c8xx.o ahci.o \
       ti_pci1410a.o tigon3.o tsec.o \
-      tsi108_eth.o tsi108_i2c.o tsi108_pci.o \
+      tsi108_eth.o tsi108_pci.o \
       usb_ohci.o \
       usbdcore.o usbdcore_ep0.o usbdcore_mpc8xx.o usbdcore_omap1510.o \
       usbtty.o \
@@ -53,7 +53,7 @@ COBJS    = 3c589.o 5701rls.o ali512x.o at45.o
atmel_usart.o \
       ks8695eth.o \
       pxa_pcmcia.o mpc8xx_pcmcia.o tqm8xx_pcmcia.o    \
       rpx_pcmcia.o \
-      fsl_i2c.o fsl_pci_init.o ati_radeon_fb.o
+      fsl_pci_init.o ati_radeon_fb.o
 
 SRCS    := $(COBJS:.o=.c)
 OBJS    := $(addprefix $(obj),$(COBJS))
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile
index adc20e6..1996feb 100644
--- a/drivers/i2c/Makefile
+++ b/drivers/i2c/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 LIB     := $(obj)libi2c.a
 
-COBJS     := 
+COBJS     := fsl_i2c.o omap1510_i2c.o omap24xx_i2c.o tsi108_i2c.o
 
 SRCS     := $(COBJS:.o=.c)
 OBJS     := $(addprefix $(obj),$(COBJS))
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