diff options
Diffstat (limited to 'arch/blackfin/mach-bf548/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf548/boards/ezkit.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c index 882edd403bd4..d0816817f7c1 100644 --- a/arch/blackfin/mach-bf548/boards/ezkit.c +++ b/arch/blackfin/mach-bf548/boards/ezkit.c | |||
@@ -45,6 +45,7 @@ | |||
45 | #include <asm/nand.h> | 45 | #include <asm/nand.h> |
46 | #include <asm/dpmc.h> | 46 | #include <asm/dpmc.h> |
47 | #include <asm/portmux.h> | 47 | #include <asm/portmux.h> |
48 | #include <asm/bfin_sdh.h> | ||
48 | #include <mach/bf54x_keys.h> | 49 | #include <mach/bf54x_keys.h> |
49 | #include <linux/input.h> | 50 | #include <linux/input.h> |
50 | #include <linux/spi/ad7877.h> | 51 | #include <linux/spi/ad7877.h> |
@@ -504,9 +505,19 @@ static struct platform_device bf5xx_nand_device = { | |||
504 | #endif | 505 | #endif |
505 | 506 | ||
506 | #if defined(CONFIG_SDH_BFIN) || defined(CONFIG_SDH_BFIN_MODULE) | 507 | #if defined(CONFIG_SDH_BFIN) || defined(CONFIG_SDH_BFIN_MODULE) |
508 | |||
509 | static struct bfin_sd_host bfin_sdh_data = { | ||
510 | .dma_chan = CH_SDH, | ||
511 | .irq_int0 = IRQ_SDH_MASK0, | ||
512 | .pin_req = {P_SD_D0, P_SD_D1, P_SD_D2, P_SD_D3, P_SD_CLK, P_SD_CMD, 0}, | ||
513 | }; | ||
514 | |||
507 | static struct platform_device bf54x_sdh_device = { | 515 | static struct platform_device bf54x_sdh_device = { |
508 | .name = "bfin-sdh", | 516 | .name = "bfin-sdh", |
509 | .id = 0, | 517 | .id = 0, |
518 | .dev = { | ||
519 | .platform_data = &bfin_sdh_data, | ||
520 | }, | ||
510 | }; | 521 | }; |
511 | #endif | 522 | #endif |
512 | 523 | ||