Skip to content

Commit

Permalink
virt: Use SDHC_CAPAB_REG_DEFAULT as SDHCI capability value, enables D…
Browse files Browse the repository at this point in the history
…MA again
  • Loading branch information
driver1998 committed May 12, 2022
1 parent c5fbbb5 commit 1431a34
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/hw/arm/virt.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,9 @@ struct VirtMachineState {
#define VIRT_ECAM_ID(high) (high ? VIRT_HIGH_PCIE_ECAM : VIRT_PCIE_ECAM)

/*
* Based on SDHC_CAPAB_REG_DEFAULT
* With SDMA/ADMA1/ADMA2 disabled
* Copied from SDHC_CAPAB_REG_DEFAULT
*/
#define VIRT_SDHCI_CAPABILITIES 0x053034B4
#define VIRT_SDHCI_CAPABILITIES 0x057834b4

#define TYPE_VIRT_MACHINE MACHINE_TYPE_NAME("virt")
OBJECT_DECLARE_TYPE(VirtMachineState, VirtMachineClass, VIRT_MACHINE)
Expand Down

0 comments on commit 1431a34

Please sign in to comment.