aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-02 15:06:04 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-05 23:50:12 +0200
commit3baae281501f6eea879bff2200ca15ee2ff637be (patch)
tree5cbb0c095f1c3a88e1f034759327c59b7665f20b /include/hw
parentf28cfc39d7ed7ef717e49d48e703538692c53238 (diff)
downloadqemu-3baae281501f6eea879bff2200ca15ee2ff637be.zip
qemu-3baae281501f6eea879bff2200ca15ee2ff637be.tar.gz
qemu-3baae281501f6eea879bff2200ca15ee2ff637be.tar.bz2
tests/qtest/npcm7xx_sdhci: Access the card using its published address
Currently setup_sd_card() asks the card its address, but discard the response and use hardcoded 0x4567. Set the SDHC_CMD_RESPONSE bit to have the controller record the bus response, and read the response from the RSPREG0 register. Then we can select the card with its real address. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Message-Id: <20240702140842.54242-4-philmd@linaro.org>
Diffstat (limited to 'include/hw')
0 files changed, 0 insertions, 0 deletions