summaryrefslogtreecommitdiffstats
path: root/savevm.c
diff options
context:
space:
mode:
authorIgor Mitsyanko2012-10-30 08:45:12 +0100
committerPeter Maydell2012-10-30 08:45:12 +0100
commitf2d189d38436a8ccdedd94de01673b04aa008e11 (patch)
tree7fe289b1116341c3193f508b6c345e1e03b23ecf /savevm.c
parentpflash_cfi01: Fix debug mode printfery (diff)
downloadqemu-f2d189d38436a8ccdedd94de01673b04aa008e11.tar.gz
qemu-f2d189d38436a8ccdedd94de01673b04aa008e11.tar.xz
qemu-f2d189d38436a8ccdedd94de01673b04aa008e11.zip
hw/sd.c: Fix erase for high capacity cards
Standard capacity cards SDSC use byte unit address while SDHC and SDXC cards use block unit address (512 bytes) when setting ERASE_START and ERASE_END with CMD32 and CMD33, we have to account for this. Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'savevm.c')
0 files changed, 0 insertions, 0 deletions