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)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:09:53 +0000 (09:09 -0700)
commit6bb1acf2eba2dd5200bd935286b3d9f130b71c3b
tree3bfa0eca5b6a0df013c76dd8acd6188ad84526bb
parent28e23cf73c26d2bb13451804e328797a55f471e4
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