]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: Move atmel_mci driver into drivers/mmc
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Thu, 12 Jun 2008 17:27:58 +0000 (19:27 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 9 Jul 2008 22:05:52 +0000 (00:05 +0200)
This makes it easier to use the driver on other platforms.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Acked-by: Jean-Chritophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
cpu/at32ap/Makefile
drivers/mmc/Makefile
drivers/mmc/atmel_mci.c [moved from cpu/at32ap/atmel_mci.c with 100% similarity]
drivers/mmc/atmel_mci.h [moved from cpu/at32ap/atmel_mci.h with 100% similarity]

index f1823300a86adab5449e6065b586cd629cbc2297..33dc427681516961e9a71f2ed58127b416fc11ab 100644 (file)
@@ -35,7 +35,6 @@ COBJS-y                       += exception.o
 COBJS-y                        += cache.o
 COBJS-y                        += interrupts.o
 COBJS-y                        += pio.o
-COBJS-$(CONFIG_ATMEL_MCI) += atmel_mci.o
 
 SRCS   := $(START-y:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
 OBJS   := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
index db924245853353824df373255d2a7da62a810926..3dc031b438d6c8b845e1103f9c1d3ecb4bcfea19 100644 (file)
@@ -25,6 +25,8 @@ include $(TOPDIR)/config.mk
 
 LIB    := $(obj)libmmc.a
 
+COBJS-$(CONFIG_ATMEL_MCI) += atmel_mci.o
+
 COBJS  := $(COBJS-y)
 SRCS   := $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))