Re: [PATCH 3/4] tests/qtest/npcm7xx_sdhci: Access the card using its published address

2024-07-02 Thread Cédric Le Goater
On 7/2/24 4:08 PM, Philippe Mathieu-Daudé wrote: 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

[PATCH 3/4] tests/qtest/npcm7xx_sdhci: Access the card using its published address

2024-07-02 Thread Philippe Mathieu-Daudé
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: