You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/sd
Jan Kiszka e2d7c1a3cd hw/sd/sdcard: Refactor sd_bootpart_offset
This function provides the offset for any partition in the block image,
not only the boot partitions, therefore rename it. Align the constant
names with the numbering scheme in the standard and use constants for
both boot partitions for consistency reasons. There is also no reason to
return early if boot_part_size is zero because the existing code will
provide the right value in that case as well.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <66e9b07476aad61820c4f42f4f984cc90752ba5e.1756706188.git.jan.kiszka@siemens.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
6 days ago
..
Kconfig hw/sd: Add Cadence SDHCI emulation 5 years ago
allwinner-sdhost.c hw/sd/sdbus: Provide buffer size to sdbus_do_command() 1 month ago
aspeed_sdhci.c qom: Have class_init() take a const data argument 5 months ago
bcm2835_sdhost.c hw/sd/sdbus: Provide buffer size to sdbus_do_command() 1 month ago
cadence_sdhci.c qom: Have class_init() take a const data argument 5 months ago
core.c hw/sd/sdbus: Provide buffer size to sdbus_do_command() 1 month ago
meson.build hw/sd: Remove pxa2xx_mmci.c 11 months ago
npcm7xx_sdhci.c qom: Have class_init() take a const data argument 5 months ago
omap_mmc.c hw/sd/sdbus: Provide buffer size to sdbus_do_command() 1 month ago
pl181.c hw/sd/sdbus: Provide buffer size to sdbus_do_command() 1 month ago
sd.c hw/sd/sdcard: Refactor sd_bootpart_offset 6 days ago
sdhci-internal.h hw: Make class data 'const' 7 months ago
sdhci-pci.c qom: Make InterfaceInfo[] uses const 5 months ago
sdhci.c hw/sd/sdbus: Provide buffer size to sdbus_do_command() 1 month ago
sdmmc-internal.h hw/sd/sdcard: Refactor sd_bootpart_offset 6 days ago
ssi-sd.c hw/sd/ssi-sd: Return noise (dummy byte) when no card connected 4 weeks ago
trace-events hw/sd/sdcard: Remove SDState::mode field 1 month ago
trace.h trace: switch position of headers to what Meson requires 5 years ago