qemu-e2k/hw/sd
Bin Meng 89c6700fe7 hw/sd/sdcard: Zero out function selection fields before being populated
The function selection fields (399:376) should be zeroed out to
prevent leftover from being or'ed into the switch function status
data structure.

This fixes the boot failure as seen in the acceptance testing on
the orangepi target.

Fixes: b638627c72 ("hw/sd: Fix incorrect populated function switch status data structure")
Reported-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20201024014954.21330-1-bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2020-10-26 09:23:47 +01:00
..
allwinner-sdhost.c
aspeed_sdhci.c
bcm2835_sdhost.c
cadence_sdhci.c
core.c qdev: add "check if address free" callback for buses 2020-10-12 11:50:50 -04:00
Kconfig
meson.build
milkymist-memcard.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
omap_mmc.c
pl181.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
pxa2xx_mmci.c
sd.c hw/sd/sdcard: Zero out function selection fields before being populated 2020-10-26 09:23:47 +01:00
sdhci-internal.h
sdhci-pci.c
sdhci.c hw/sd/sdhci: Yield if interrupt delivered during multiple transfer 2020-10-21 13:19:02 +02:00
sdmmc-internal.c
sdmmc-internal.h
ssi-sd.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
trace-events hw/sd/sdcard: Make iolen unsigned 2020-10-26 00:36:52 +01:00
trace.h