summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-02-26 13:50:45 -0500
committerMike Frysinger <vapier@gentoo.org>2012-04-22 13:00:19 -0400
commit51d0f7c694816e459aff81816502d72619c9feb3 (patch)
tree1bb0826bf09bb5af1c34a70df43ce814981bf04e /drivers/mmc
parenta4932d78774a96bef65c5ae3c76538d4949dc9eb (diff)
downloadu-boot-imx-51d0f7c694816e459aff81816502d72619c9feb3.zip
u-boot-imx-51d0f7c694816e459aff81816502d72619c9feb3.tar.gz
u-boot-imx-51d0f7c694816e459aff81816502d72619c9feb3.tar.bz2
Blackfin: bfin_sdh: drop dos part hardcode
No other driver sets up the part type to DOS in their init, and it doesn't seem to be needed as `mmcinfo` and `mmc part` stll work, so drop it. Reported-by: Marek Vasut <marex@denx.de> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/bfin_sdh.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/bfin_sdh.c b/drivers/mmc/bfin_sdh.c
index 08fc5c1..8d59d46 100644
--- a/drivers/mmc/bfin_sdh.c
+++ b/drivers/mmc/bfin_sdh.c
@@ -256,7 +256,6 @@ int bfin_mmc_init(bd_t *bis)
mmc->voltages = MMC_VDD_32_33 | MMC_VDD_33_34;
mmc->f_max = get_sclk();
mmc->f_min = mmc->f_max >> 9;
- mmc->block_dev.part_type = PART_TYPE_DOS;
mmc->b_max = 0;