[U-Boot-Users] [PATCH 11/30] drivers/mtd : move mtd drivers to drivers/mtd

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


>From 7604b47be92571bf2c882627153c8f42a09c646e Mon Sep 17 00:00:00 2001
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
Date: Sun, 23 Sep 2007 02:58:18 +0200
Subject: [PATCH] drivers/mtd : move mtd drivers to drivers/mtd

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 drivers/Makefile              |    6 +++---
 drivers/mtd/Makefile          |    2 +-
 drivers/{ => mtd}/at45.c      |    0
 drivers/{ => mtd}/cfi_flash.c |    0
 drivers/{ => mtd}/dataflash.c |    0
 5 files changed, 4 insertions(+), 4 deletions(-)
 rename drivers/{ => mtd}/at45.c (100%)
 rename drivers/{ => mtd}/cfi_flash.c (100%)
 rename drivers/{ => mtd}/dataflash.c (100%)

diff --git a/drivers/Makefile b/drivers/Makefile
index 4dbc368..6f11a0f 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -27,9 +27,9 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)libdrivers.a
 
-COBJS    = 3c589.o 5701rls.o ali512x.o at45.o atmel_usart.o \
-      bcm570x.o bcm570x_autoneg.o cfb_console.o cfi_flash.o \
-      cs8900.o ct69000.o dataflash.o dc2114x.o dm9000x.o \
+COBJS    = 3c589.o 5701rls.o ali512x.o atmel_usart.o \
+      bcm570x.o bcm570x_autoneg.o cfb_console.o \
+      cs8900.o ct69000.o dc2114x.o dm9000x.o \
       e1000.o eepro100.o enc28j60.o \
       inca-ip_sw.o isp116x-hcd.o \
       lan91c96.o macb.o \
diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile
index bc9bbde..d7de13c 100644
--- a/drivers/mtd/Makefile
+++ b/drivers/mtd/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 LIB     := $(obj)libmtd.a
 
-COBJS     := 
+COBJS     := at45.o cfi_flash.o dataflash.o
 
 SRCS     := $(COBJS:.o=.c)
 OBJS     := $(addprefix $(obj),$(COBJS))
diff --git a/drivers/at45.c b/drivers/mtd/at45.c
similarity index 100%
rename from drivers/at45.c
rename to drivers/mtd/at45.c
diff --git a/drivers/cfi_flash.c b/drivers/mtd/cfi_flash.c
similarity index 100%
rename from drivers/cfi_flash.c
rename to drivers/mtd/cfi_flash.c
diff --git a/drivers/dataflash.c b/drivers/mtd/dataflash.c
similarity index 100%
rename from drivers/dataflash.c
rename to drivers/mtd/dataflash.c
-- 
1.5.3.2







More information about the U-Boot mailing list