aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2012-01-19 10:08:32 -0700
committerJohn Rigby <john.rigby@linaro.org>2012-04-25 07:54:08 -0600
commitee90f5b8099b998d47c4306481a7faa777b4eed0 (patch)
treea2ff4932e72b33a023527f30b39301d71f720ba8 /include
parentd07151d15a386fba60710431b02db6073661221d (diff)
HACK: Bypass normal mmc if CONFIG_SNOWBALL_MMC_HACK
Signed-off-by: John Rigby <john.rigby@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/snowball.h1
-rw-r--r--include/mmc.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/snowball.h b/include/configs/snowball.h
index aa0a69ec6..f71b8831d 100644
--- a/include/configs/snowball.h
+++ b/include/configs/snowball.h
@@ -99,6 +99,7 @@
*/
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
+#define CONFIG_SNOWBALL_MMC_HACK
#define CONFIG_DOS_PARTITION
/*
diff --git a/include/mmc.h b/include/mmc.h
index f52df70ad..c523d6c49 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -23,6 +23,9 @@
* MA 02111-1307 USA
*/
+#ifdef CONFIG_SNOWBALL_MMC_HACK
+#include <mmc_ste.h>
+#else /* CONFIG_SNOWBALL_MMC_HACK */
#ifndef _MMC_H_
#define _MMC_H_
@@ -329,3 +332,4 @@ int mmc_legacy_init(int verbose);
#endif
#endif /* _MMC_H_ */
+#endif /* CONFIG_SNOWBALL_MMC_HACK */