Revert "mmc: subtract boot sectors from disk size for eMMC 4.3+ devices"
authorColin Cross <ccross@android.com>
Fri, 28 Jan 2011 00:12:58 +0000 (16:12 -0800)
committerColin Cross <ccross@android.com>
Fri, 11 Feb 2011 22:03:52 +0000 (14:03 -0800)
commit6b53bad8ac54b3d748c4b0dbe6b0a4ed6e2e60f4
tree0318f0b8fdaa6aa38cef80f2c5f38c343bd1967f
parent5f2e1258ff35f700f5ca9df3047dc5fe19b99017
Revert "mmc: subtract boot sectors from disk size for eMMC 4.3+ devices"

This reverts commit 2cdc235bbeb09b2b78cd02a94ab79c265861aea9.

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: Icc9ddb3d294aa2a1caeddfe8fedd2e12aa7691e1
drivers/mmc/core/mmc.c
include/linux/mmc/mmc.h