hw/sd: sd: Actually perform the erase operation
authorBin Meng <bin.meng@windriver.com>
Sat, 20 Feb 2021 08:58:13 +0000 (16:58 +0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 22 Mar 2021 14:34:29 +0000 (15:34 +0100)
commit818a5cdcfcf0a55d60b59b2cb74482ef4ba6b205
treed8eda65926bc314b2ec93ef07d2901ad9269d68c
parenta78d9f27b73de3c42f376540bd1d1d0570eb1fa3
hw/sd: sd: Actually perform the erase operation

At present the sd_erase() does not erase the requested range of card
data to 0xFFs. Let's make the erase operation actually happen.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Message-Id: <1613811493-58815-1-git-send-email-bmeng.cn@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/sd/sd.c