| commit | 40b242884ed7aeb30613dd42eca6e8712d607c46 | [log] [tgz] |
|---|---|---|
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | Thu Jul 31 11:44:28 2025 +0200 |
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | Tue Aug 05 16:05:56 2025 +0200 |
| tree | 79deb6a17da7e03a68a96799c29956273823c054 | |
| parent | 823d9b00452b62dcee1b0692c578c6fa5eef517e [diff] |
hw/sd/sdcard: Remove SDState::mode field
SD card mode is a superset of its state (SDState::state),
no need to migrate it.
Use sd_mode() to get the SDCardModes from the SDCardStates.
Fixes: 50a5be6c3d5 ("hw/sd.c: add SD card save/load support")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250804133406.17456-11-philmd@linaro.org>