summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-24 12:53:47 -0500
committerMike Frysinger <vapier@gentoo.org>2011-04-25 02:02:50 -0400
commit14dda9df190b4db602623f06cfc71771fb081e27 (patch)
tree41e3314042e9c12ef34d4a078058bf35e14a9e6c
parentf02efacc515e35695e52ecd08762835c8a74a463 (diff)
Blackfin: bf537-stamp/bf527-ad7160-eval: convert to mmc_spi
Switch to the new common mmc_spi driver. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--include/configs/bf527-ad7160-eval.h5
-rw-r--r--include/configs/bf537-stamp.h3
-rw-r--r--include/configs/bfin_adi_common.h4
3 files changed, 8 insertions, 4 deletions
diff --git a/include/configs/bf527-ad7160-eval.h b/include/configs/bf527-ad7160-eval.h
index 889bfde2c4d..9c35f2d0b78 100644
--- a/include/configs/bf527-ad7160-eval.h
+++ b/include/configs/bf527-ad7160-eval.h
@@ -128,9 +128,8 @@
* SPI_MMC Settings
*/
#define CONFIG_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_SPI_MMC
-#define CONFIG_SPI_MMC_DEFAULT_CS (MAX_CTRL_CS + GPIO_PH3)
+#define CONFIG_GENERIC_MMC
+#define CONFIG_MMC_SPI
/*
diff --git a/include/configs/bf537-stamp.h b/include/configs/bf537-stamp.h
index 3da23752ebe..c31e914f86f 100644
--- a/include/configs/bf537-stamp.h
+++ b/include/configs/bf537-stamp.h
@@ -137,7 +137,8 @@
* SPI_MMC Settings
*/
#define CONFIG_MMC
-#define CONFIG_SPI_MMC
+#define CONFIG_GENERIC_MMC
+#define CONFIG_MMC_SPI
/*
diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h
index a9c66be4599..9e61542983e 100644
--- a/include/configs/bfin_adi_common.h
+++ b/include/configs/bfin_adi_common.h
@@ -34,10 +34,14 @@
# define CONFIG_DOS_PARTITION
# endif
# ifdef CONFIG_MMC
+# define CONFIG_CMD_EXT2
# define CONFIG_CMD_FAT
# define CONFIG_CMD_MMC
# define CONFIG_DOS_PARTITION
# endif
+# ifdef CONFIG_MMC_SPI
+# define CONFIG_CMD_MMC_SPI
+# endif
# ifdef CONFIG_USB
# define CONFIG_CMD_EXT2
# define CONFIG_CMD_FAT