forked from mirror/qemu
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.
93e2da36ed
Trying to run U-Boot for Cubieboard (Allwinner A10) fails because it cannot access SD card. The problem is that FIFO register in current allwinner-sdhost implementation is at the address corresponding to Allwinner H3, but not A10. Linux kernel is not affected since Linux driver uses DMA access and does not use FIFO register for reading/writing. This patch adds new class parameter `is_sun4i` and based on that parameter uses register at offset 0x100 either as FIFO register (if sun4i) or as threshold register (if not sun4i; in this case register at 0x200 is FIFO register). Tested with U-Boot and Linux kernel image built for Cubieboard and OrangePi PC. Signed-off-by: Strahinja Jankovic <strahinja.p.jankovic@gmail.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20221112214900.24152-1-strahinja.p.jankovic@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org> |
2 years ago | |
---|---|---|
.. | ||
Kconfig | 4 years ago | |
allwinner-sdhost.c | 2 years ago | |
aspeed_sdhci.c | 3 years ago | |
bcm2835_sdhost.c | 3 years ago | |
cadence_sdhci.c | 3 years ago | |
core.c | 4 years ago | |
meson.build | 3 years ago | |
npcm7xx_sdhci.c | 3 years ago | |
omap_mmc.c | 4 years ago | |
pl181.c | 3 years ago | |
pxa2xx_mmci.c | 3 years ago | |
sd.c | 2 years ago | |
sdhci-internal.h | 2 years ago | |
sdhci-pci.c | 4 years ago | |
sdhci.c | 2 years ago | |
sdmmc-internal.c | 7 years ago | |
sdmmc-internal.h | 6 years ago | |
ssi-sd.c | 3 years ago | |
trace-events | 3 years ago | |
trace.h | 4 years ago |