Skip to content

Commit c5fbbb5

Browse files
committed
virt: Disable DMA in platform SDHCI
1 parent 81fda9c commit c5fbbb5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

include/hw/arm/virt.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,11 @@ struct VirtMachineState {
177177

178178
#define VIRT_ECAM_ID(high) (high ? VIRT_HIGH_PCIE_ECAM : VIRT_PCIE_ECAM)
179179

180-
/* Copied from EXYNOS4210_SDHCI_CAPABILITIES */
181-
#define VIRT_SDHCI_CAPABILITIES 0x05E80080
180+
/*
181+
* Based on SDHC_CAPAB_REG_DEFAULT
182+
* With SDMA/ADMA1/ADMA2 disabled
183+
*/
184+
#define VIRT_SDHCI_CAPABILITIES 0x053034B4
182185

183186
#define TYPE_VIRT_MACHINE MACHINE_TYPE_NAME("virt")
184187
OBJECT_DECLARE_TYPE(VirtMachineState, VirtMachineClass, VIRT_MACHINE)

0 commit comments

Comments
 (0)