Revert "mmc: subtract boot sectors from disk size for eMMC 4.3+ devices"
authorColin Cross <ccross@android.com>
Sat, 12 Feb 2011 21:21:32 +0000 (13:21 -0800)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:07:05 +0000 (12:07 -0800)
commitc135de16a3cc8244aced16c69c06c6bfbae44291
treee3193d0df4f024999a91c56a88a6e5360360b2fa
parent1e1c53e4a3fabf66b759b4da3b0628a3d9e9358a
Revert "mmc: subtract boot sectors from disk size for eMMC 4.3+ devices"

This reverts commit f0b0e4bec1e89014f3dcef4da8bcf95428cc771c.

The reverted commit incorrectly calculates the size of eMMC
devices in some (all?) cases.

This revert may cause problems in cases where the bootloader was
bug-compatible and puts a GPT partition at the incorrect end of
the eMMC device.

Signed-off-by: Colin Cross <ccross@android.com>
drivers/mmc/core/mmc.c
include/linux/mmc/mmc.h