Blackfin: bfin_sdh: drop dos part hardcode
authorMike Frysinger <vapier@gentoo.org>
Sun, 26 Feb 2012 18:50:45 +0000 (13:50 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 22 Apr 2012 17:00:19 +0000 (13:00 -0400)
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>
drivers/mmc/bfin_sdh.c

index 08fc5c1d3e61d66d4daac74f0b5086917f2ce4a7..8d59d46c646878b866834bf72eb9649c1e2b5f4f 100644 (file)
@@ -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;