summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpu/at32ap/Makefile1
-rw-r--r--drivers/mmc/Makefile2
-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 f1823300a..33dc42768 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 db9242458..3dc031b43 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 61aa1849c..61aa1849c 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 5b4f5c99b..5b4f5c99b 100644
--- a/cpu/at32ap/atmel_mci.h
+++ b/drivers/mmc/atmel_mci.h