hw/sd: Introduce a "sd-card" SPI variant model
commitc3287c0f70dae07dd12322c5c8663f7b878826e7
authorCédric Le Goater <clg@kaod.org>
Mon, 3 Jul 2023 06:00:08 +0000 (3 08:00 +0200)
committerCédric Le Goater <clg@kaod.org>
Fri, 1 Sep 2023 09:40:04 +0000 (1 11:40 +0200)
treeac45434495199a079e0770dc6122f48e284dcfab
parent6380cd20528bf994d7a8d0cd6660230df217d374
hw/sd: Introduce a "sd-card" SPI variant model

and replace the SDState::spi attribute with a test checking the
SDProto array of commands.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/arm/stellaris.c
hw/riscv/sifive_u.c
hw/sd/sd.c
include/hw/sd/sd.h