qemu-e2k/hw/sd
Cédric Le Goater f31e8f1318 aspeed/sdhci: Fix reset sequence
BIT(0) of the ASPEED_SDHCI_INFO register is set by SW and polled until
the bit is cleared by HW.

Use the number of supported slots to define the default value of this
register (The AST2600 eMMC Controller only has one). Fix the reset
sequence by clearing automatically the RESET bit.

Cc: Eddie James <eajames@linux.ibm.com>
Fixes: 2bea128c3d ("hw/sd/aspeed_sdhci: New device")
Reviewed-by: Joel Stanley <joel@jms.id.au>
Message-Id: <20200819100956.2216690-9-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
2020-09-01 14:21:50 +02:00
..
Kconfig hw/sd/sdhci: Move PCI-related code into a separate file 2019-03-12 07:49:04 +01:00
allwinner-sdhost.c hw/sd/allwinner-sdhost: Use AddressSpace for DMA transfers 2020-08-28 10:02:45 +01:00
aspeed_sdhci.c aspeed/sdhci: Fix reset sequence 2020-09-01 14:21:50 +02:00
bcm2835_sdhost.c hw/sd: Rename sdbus_read_data() as sdbus_read_byte() 2020-08-21 16:35:35 +02:00
core.c hw/sd: Add sdbus_read_data() to read multiples bytes on the data line 2020-08-21 16:35:35 +02:00
meson.build meson: convert hw/sd 2020-08-21 06:30:27 -04:00
milkymist-memcard.c hw/sd: Use sdbus_read_data() instead of sdbus_read_byte() when possible 2020-08-21 16:35:35 +02:00
omap_mmc.c hw/sd: Rename read/write_data() as read/write_byte() 2020-08-21 16:35:35 +02:00
pl181.c hw/sd: Rename sdbus_read_data() as sdbus_read_byte() 2020-08-21 16:35:35 +02:00
pxa2xx_mmci.c pxa2xx: Move QOM macros to header 2020-08-27 14:04:55 -04:00
sd.c hw/sd: Correct the maximum size of a Standard Capacity SD Memory Card 2020-08-21 16:49:22 +02:00
sdhci-internal.h sd: sdhci: Implement basic vendor specific register support 2020-06-16 10:32:29 +01:00
sdhci-pci.c sd: Use ERRP_GUARD() 2020-07-10 15:18:09 +02:00
sdhci.c hw/sd: Use sdbus_read_data() instead of sdbus_read_byte() when possible 2020-08-21 16:35:35 +02:00
sdmmc-internal.c sdcard: Display command name when tracing CMD/ACMD 2018-03-09 17:09:44 +00:00
sdmmc-internal.h Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
ssi-sd.c hw/sd: Rename sdbus_read_data() as sdbus_read_byte() 2020-08-21 16:35:35 +02:00
trace-events hw/sd/pl181: Replace disabled fprintf()s by trace events 2020-08-21 16:22:43 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00