diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-06-12 19:27:58 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-10 00:05:52 +0200 |
commit | c3bf1ad7baa1b0dd989dedc260b7098b6089ae05 (patch) | |
tree | 60e942785ce5f552951995f87e31ace8aead32ba | |
parent | d2d54ea449639f3d1a6007e333ab9fcc609a18f0 (diff) | |
download | u-boot-imx-c3bf1ad7baa1b0dd989dedc260b7098b6089ae05.zip u-boot-imx-c3bf1ad7baa1b0dd989dedc260b7098b6089ae05.tar.gz u-boot-imx-c3bf1ad7baa1b0dd989dedc260b7098b6089ae05.tar.bz2 |
mmc: Move atmel_mci driver into drivers/mmc
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>
-rw-r--r-- | cpu/at32ap/Makefile | 1 | ||||
-rw-r--r-- | drivers/mmc/Makefile | 2 | ||||
-rw-r--r-- | drivers/mmc/atmel_mci.c (renamed from cpu/at32ap/atmel_mci.c) | 0 | ||||
-rw-r--r-- | drivers/mmc/atmel_mci.h (renamed from cpu/at32ap/atmel_mci.h) | 0 |
4 files changed, 2 insertions, 1 deletions
diff --git a/cpu/at32ap/Makefile b/cpu/at32ap/Makefile index f182330..33dc427 100644 --- a/cpu/at32ap/Makefile +++ b/cpu/at32ap/Makefile @@ -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)) diff --git a/drivers/mmc/Makefile b/drivers/mmc/Makefile index db92424..3dc031b 100644 --- a/drivers/mmc/Makefile +++ b/drivers/mmc/Makefile @@ -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)) diff --git a/cpu/at32ap/atmel_mci.c b/drivers/mmc/atmel_mci.c index 61aa184..61aa184 100644 --- a/cpu/at32ap/atmel_mci.c +++ b/drivers/mmc/atmel_mci.c diff --git a/cpu/at32ap/atmel_mci.h b/drivers/mmc/atmel_mci.h index 5b4f5c9..5b4f5c9 100644 --- a/cpu/at32ap/atmel_mci.h +++ b/drivers/mmc/atmel_mci.h |