summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sh_mmcif.c
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@marvell.com>2011-02-13 23:13:09 -0800
committerChris Ball <cjb@laptop.org>2011-03-16 12:30:25 -0400
commitb676f0391a5f6816c047cbd1e2ad2a897f3c161a (patch)
treee054461c7796123904f57fe4969134e94c2eb8ec /drivers/mmc/host/sh_mmcif.c
parent2f94e55ae5ddad83e661002985d2ea11b6d51d3d (diff)
mmc: check if mmc cards < 2GB do sector addressing
Some TOSHIBA MMC cards only support sector addressing even though the size is < 2GB. According to JEDEC Spec JESD84-A441-1 the ocr register (bits 30, 29) determine byte/sector mode. Use them. Signed-off-by: Philip Rakity <prakity@marvell.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sh_mmcif.c')
0 files changed, 0 insertions, 0 deletions