]> git.openfabrics.org - ~emulex/infiniband.git/commit
mmc: block: Allow disabling 512B sector size emulation
authorSaugata Das <saugata.das@linaro.org>
Thu, 17 May 2012 11:02:21 +0000 (16:32 +0530)
committerChris Ball <cjb@laptop.org>
Thu, 17 May 2012 13:35:21 +0000 (09:35 -0400)
commita5075eb94837edde6833fd5e0277fc2370cf8b39
treee37957d108c9a01fc78dc9bdc4d914b382905a34
parent6801c41a77123712accfde898820972a1f6fc117
mmc: block: Allow disabling 512B sector size emulation

This patch adds support for large sector size of 4KB by disabling
emulation.  This patch passes eMMC DATA_SECTOR_SIZE as the logical
block size during mmc_blk_alloc_req.

In order to use this patch for 4KB sector size, ensure that
USE_NATIVE_SECTOR is enabled, partition table is 4KB sector size
aligned and file system block and sector size are 4KB multiples.

Signed-off-by: Saugata Das <saugata.das@linaro.org>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Reviewed-by: Namjae Jeon <linkinjeon@gmail.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/block.c
drivers/mmc/core/mmc.c