mmc: sd: query function modes for uhs cards
authorArindam Nath <arindam.nath@amd.com>
Thu, 5 May 2011 06:48:58 +0000 (12:18 +0530)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 01:04:40 +0000 (21:04 -0400)
SD cards which conform to Physical Layer Spec v3.01 can support
additional Bus Speed Modes, Driver Strength, and Current Limit
other than the default values. We use CMD6 mode 0 to read these
additional card functions. The values read here will be used
during UHS-I initialization steps.

Tested by Zhangfei Gao with a Toshiba uhs card and general hs card,
on mmp2 in SDMA mode.

Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Reviewed-by: Philip Rakity <prakity@marvell.com>
Tested-by: Philip Rakity <prakity@marvell.com>
Acked-by: Zhangfei Gao <zhangfei.gao@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found