From 9ed21f1ebb3d0b1f7e99aa0089fd660ab2674aa3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 7 Jan 2009 23:14:39 +0800 Subject: [PATCH] --- yaml --- r: 127156 b: refs/heads/master c: 8d8921a2243d7355d6ac3a42908c87999bf09295 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/blackfin/mach-bf548/boards/cm_bf548.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 09a18e7e6cde..57c8466d5c9c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b339dc79b49841eff0aeecfc444cbb7b26007649 +refs/heads/master: 8d8921a2243d7355d6ac3a42908c87999bf09295 diff --git a/trunk/arch/blackfin/mach-bf548/boards/cm_bf548.c b/trunk/arch/blackfin/mach-bf548/boards/cm_bf548.c index cd6b8a3594ef..f53ad682530b 100644 --- a/trunk/arch/blackfin/mach-bf548/boards/cm_bf548.c +++ b/trunk/arch/blackfin/mach-bf548/boards/cm_bf548.c @@ -43,6 +43,7 @@ #include #include #include +#include #include #include #include @@ -449,9 +450,18 @@ static struct platform_device bf5xx_nand_device = { #endif #if defined(CONFIG_SDH_BFIN) || defined(CONFIG_SDH_BFIN_MODULE) +static struct bfin_sd_host bfin_sdh_data = { + .dma_chan = CH_SDH, + .irq_int0 = IRQ_SDH_MASK0, + .pin_req = {P_SD_D0, P_SD_D1, P_SD_D2, P_SD_D3, P_SD_CLK, P_SD_CMD, 0}, +}; + static struct platform_device bf54x_sdh_device = { .name = "bfin-sdh", .id = 0, + .dev = { + .platform_data = &bfin_sdh_data, + }, }; #endif