summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCliff Cai <cliff.cai@analog.com>2009-11-20 08:24:43 (GMT)
committerMike Frysinger <vapier@gentoo.org>2010-01-17 14:17:27 (GMT)
commite54c8209913a3f26ae28819e3515df53ec2b4548 (patch)
treea976db1447d2d8d51f8cb15bc0b15f5b59a5fb96 /include
parent17ebd5bf3393144f3ead19384318a6e5b01c4f90 (diff)
downloadu-boot-fsl-qoriq-e54c8209913a3f26ae28819e3515df53ec2b4548.tar.xz
Blackfin: convert bfin_sdh to generic mmc
Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-blackfin/mmc.h1
-rw-r--r--include/asm-blackfin/sdh.h17
-rw-r--r--include/configs/bf518f-ezbrd.h1
-rw-r--r--include/configs/bf548-ezkit.h1
4 files changed, 19 insertions, 1 deletions
diff --git a/include/asm-blackfin/mmc.h b/include/asm-blackfin/mmc.h
deleted file mode 100644
index aa2ac95..0000000
--- a/include/asm-blackfin/mmc.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-avr32/arch-at32ap700x/mmc.h>
diff --git a/include/asm-blackfin/sdh.h b/include/asm-blackfin/sdh.h
new file mode 100644
index 0000000..2c2f63e
--- /dev/null
+++ b/include/asm-blackfin/sdh.h
@@ -0,0 +1,17 @@
+/*
+ * sdh.h, export bfin_mmc_init
+ *
+ * Copyright (c) 2009 Analog Devices Inc.
+ *
+ * Licensed under the GPL-2 or later.
+ */
+
+#ifndef __ASM_SDH_H__
+#define __ASM_SDH_H__
+
+#include <mmc.h>
+#include <asm/u-boot.h>
+
+int bfin_mmc_init(bd_t *bis);
+
+#endif
diff --git a/include/configs/bf518f-ezbrd.h b/include/configs/bf518f-ezbrd.h
index 4928403..234e5a4 100644
--- a/include/configs/bf518f-ezbrd.h
+++ b/include/configs/bf518f-ezbrd.h
@@ -125,6 +125,7 @@
* SDH Settings
*/
#if !defined(__ADSPBF512__)
+#define CONFIG_GENERIC_MMC
#define CONFIG_MMC
#define CONFIG_BFIN_SDH
#endif
diff --git a/include/configs/bf548-ezkit.h b/include/configs/bf548-ezkit.h
index 297c3fd..f9c9711 100644
--- a/include/configs/bf548-ezkit.h
+++ b/include/configs/bf548-ezkit.h
@@ -161,6 +161,7 @@
* SDH Settings
*/
#if !defined(__ADSPBF544__)
+#define CONFIG_GENERIC_MMC
#define CONFIG_MMC
#define CONFIG_BFIN_SDH
#endif