summaryrefslogtreecommitdiff
path: root/cpu/at32ap/atmel_mci.c
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-05-21 13:01:09 +0200
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-05-27 15:27:31 +0200
commit48ea623eae8674793372e3e7c95e72e5a44d7a95 (patch)
treec857ba09054cfed5ef90ebea7ee82c53aa245eca /cpu/at32ap/atmel_mci.c
parente92a5bf8330654e33ac13f6b3058634e58f5d1c0 (diff)
downloadu-boot-imx-48ea623eae8674793372e3e7c95e72e5a44d7a95.zip
u-boot-imx-48ea623eae8674793372e3e7c95e72e5a44d7a95.tar.gz
u-boot-imx-48ea623eae8674793372e3e7c95e72e5a44d7a95.tar.bz2
avr32: Compile atmel_mci.o conditionally
Remove #ifdef CONFIG_MMC from the source file and use conditional compilation in the Makefile instead. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'cpu/at32ap/atmel_mci.c')
-rw-r--r--cpu/at32ap/atmel_mci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cpu/at32ap/atmel_mci.c b/cpu/at32ap/atmel_mci.c
index 226b5c0..3795add 100644
--- a/cpu/at32ap/atmel_mci.c
+++ b/cpu/at32ap/atmel_mci.c
@@ -21,8 +21,6 @@
*/
#include <common.h>
-#ifdef CONFIG_MMC
-
#include <part.h>
#include <mmc.h>
@@ -548,5 +546,3 @@ int mmc2info(ulong addr)
{
return 0;
}
-
-#endif /* CONFIG_MMC */