]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MMC] Always use a sector size of 512 bytes
authorPierre Ossman <drzeus-list@drzeus.cx>
Thu, 7 Sep 2006 15:01:30 +0000 (16:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Sep 2006 15:01:30 +0000 (16:01 +0100)
commit6fe9febb8af2f82f9caace1aa1c00cd8de7469ac
tree32af472c52ab5cfabe1a974fe1df92c164a337da
parentd773d7255199a6c8934e197756f54a1115dd127b
[MMC] Always use a sector size of 512 bytes

Both MMC and SD specifications specify (although a bit unclearly in
the MMC case) that a sector size of 512 bytes must always be
supported by the card.

Cards can report larger "native" size than this, and cards >= 2 GB
even must do so. Most other readers use 512 bytes even for these
cards. We should do the same to be compatible.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/mmc_block.c