Skip to content

Commit 1431a34

Browse files
committed
virt: Use SDHC_CAPAB_REG_DEFAULT as SDHCI capability value, enables DMA again
1 parent c5fbbb5 commit 1431a34

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

include/hw/arm/virt.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,9 @@ struct VirtMachineState {
178178
#define VIRT_ECAM_ID(high) (high ? VIRT_HIGH_PCIE_ECAM : VIRT_PCIE_ECAM)
179179

180180
/*
181-
* Based on SDHC_CAPAB_REG_DEFAULT
182-
* With SDMA/ADMA1/ADMA2 disabled
181+
* Copied from SDHC_CAPAB_REG_DEFAULT
183182
*/
184-
#define VIRT_SDHCI_CAPABILITIES 0x053034B4
183+
#define VIRT_SDHCI_CAPABILITIES 0x057834b4
185184

186185
#define TYPE_VIRT_MACHINE MACHINE_TYPE_NAME("virt")
187186
OBJECT_DECLARE_TYPE(VirtMachineState, VirtMachineClass, VIRT_MACHINE)

0 commit comments

Comments
 (0)