diff options
author | Philip Rakity <prakity@marvell.com> | 2011-02-13 23:13:09 -0800 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-16 12:30:25 -0400 |
commit | b676f0391a5f6816c047cbd1e2ad2a897f3c161a (patch) | |
tree | e054461c7796123904f57fe4969134e94c2eb8ec /drivers/mmc/host/sh_mmcif.c | |
parent | 2f94e55ae5ddad83e661002985d2ea11b6d51d3d (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