aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/blackfin/mach-bf548/boards/cm_bf548.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf548/boards/cm_bf548.c b/arch/blackfin/mach-bf548/boards/cm_bf548.c
index cd6b8a3594ef..f53ad682530b 100644
--- a/arch/blackfin/mach-bf548/boards/cm_bf548.c
+++ b/arch/blackfin/mach-bf548/boards/cm_bf548.c
@@ -43,6 +43,7 @@
43#include <asm/gpio.h> 43#include <asm/gpio.h>
44#include <asm/nand.h> 44#include <asm/nand.h>
45#include <asm/portmux.h> 45#include <asm/portmux.h>
46#include <asm/bfin_sdh.h>
46#include <mach/bf54x_keys.h> 47#include <mach/bf54x_keys.h>
47#include <asm/dpmc.h> 48#include <asm/dpmc.h>
48#include <linux/input.h> 49#include <linux/input.h>
@@ -449,9 +450,18 @@ static struct platform_device bf5xx_nand_device = {
449#endif 450#endif
450 451
451#if defined(CONFIG_SDH_BFIN) || defined(CONFIG_SDH_BFIN_MODULE) 452#if defined(CONFIG_SDH_BFIN) || defined(CONFIG_SDH_BFIN_MODULE)
453static struct bfin_sd_host bfin_sdh_data = {
454 .dma_chan = CH_SDH,
455 .irq_int0 = IRQ_SDH_MASK0,
456 .pin_req = {P_SD_D0, P_SD_D1, P_SD_D2, P_SD_D3, P_SD_CLK, P_SD_CMD, 0},
457};
458
452static struct platform_device bf54x_sdh_device = { 459static struct platform_device bf54x_sdh_device = {
453 .name = "bfin-sdh", 460 .name = "bfin-sdh",
454 .id = 0, 461 .id = 0,
462 .dev = {
463 .platform_data = &bfin_sdh_data,
464 },
455}; 465};
456#endif 466#endif
457 467