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>
Sat, 12 Feb 2011 21:24:26 +0000 (13:24 -0800)
commit1cd64ef5c1becb1c70c432bdcae98fdb686a8173
tree8bce303ccaa59617b7a634f63821f67dbf5eecb8
parent4c0d9cf8d550d5a2b4318f950127fdc086e5b023
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.

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