Skip to content

Commit

Permalink
Blackfin: bfin_sdh: drop dos part hardcode
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
  • Loading branch information
vapier committed Apr 22, 2012
1 parent a4932d7 commit 51d0f7c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mmc/bfin_sdh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 51d0f7c

Please sign in to comment.