[U-Boot] [PATCH] Blackfin: bfin_sdh: drop dos part hardcode

Mike Frysinger vapier at gentoo.org
Thu Apr 5 06:48:20 CEST 2012


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 at denx.de>
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 drivers/mmc/bfin_sdh.c |    1 -
 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;
 
-- 
1.7.8.5



More information about the U-Boot mailing list