summaryrefslogtreecommitdiffstats
path: root/include/configs/cm-bf537u.h
diff options
context:
space:
mode:
authorHarald Krapfenbauer <harald.krapfenbauer@bluetechnix.com>2011-05-17 15:39:54 -0400
committerMike Frysinger <vapier@gentoo.org>2011-07-12 02:17:45 -0400
commitc94101ae9c75c64ffbc8162302c2a1ce53a59f75 (patch)
tree81d1589e5bf7398b6a1a1bfcd6a1422bd2722d38 /include/configs/cm-bf537u.h
parentfff18bee7ed5973093d809aaa71d71eb2ed63a19 (diff)
downloadtalos-obmc-uboot-c94101ae9c75c64ffbc8162302c2a1ce53a59f75.tar.gz
talos-obmc-uboot-c94101ae9c75c64ffbc8162302c2a1ce53a59f75.zip
Blackfin: cm-bf537e/cm-bf537u/tcm-bf537: enable mmc_spi support
These boards have an mmc/sd slot on them connected over SPI, so enable the driver. Signed-off-by: Harald Krapfenbauer <harald.krapfenbauer@bluetechnix.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/configs/cm-bf537u.h')
-rw-r--r--include/configs/cm-bf537u.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/include/configs/cm-bf537u.h b/include/configs/cm-bf537u.h
index c79192671d..84846efadd 100644
--- a/include/configs/cm-bf537u.h
+++ b/include/configs/cm-bf537u.h
@@ -54,7 +54,7 @@
#define CONFIG_EBIU_AMBCTL0_VAL (B1WAT_7 | B1RAT_11 | B1HT_2 | B1ST_3 | B0WAT_7 | B0RAT_11 | B0HT_2 | B0ST_3)
#define CONFIG_EBIU_AMBCTL1_VAL (B3WAT_7 | B3RAT_11 | B3HT_2 | B3ST_3 | B2WAT_7 | B2RAT_11 | B2HT_2 | B2ST_3)
-#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
+#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
#define CONFIG_SYS_MALLOC_LEN (128 * 1024)
@@ -87,6 +87,13 @@
/*
+ * SPI Settings
+ */
+#define CONFIG_BFIN_SPI
+#define CONFIG_ENV_SPI_MAX_HZ 30000000
+
+
+/*
* Env Storage Settings
*/
#define CONFIG_ENV_IS_IN_FLASH 1
@@ -119,6 +126,13 @@
/*
+ * SPI_MMC Settings
+ */
+#define CONFIG_MMC
+#define CONFIG_GENERIC_MMC
+#define CONFIG_MMC_SPI
+
+/*
* Misc Settings
*/
#define CONFIG_BAUDRATE 115200
OpenPOWER on IntegriCloud