]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/SdMmcPciHcDxe: Use 16/32-bit IO widths
authorEdgar Handal <ehandal@nvidia.com>
Tue, 19 Feb 2019 17:06:56 +0000 (01:06 +0800)
committerHao Wu <hao.a.wu@intel.com>
Wed, 20 Feb 2019 01:07:27 +0000 (09:07 +0800)
commitf168816c49e388dcd097dd62d766d63f73aaabb3
tree4a67cf45d4df3ffc9cb08dff2b7daa9ed843edb4
parent195f673f6270aaf73dd34b75f1da26451b63c316
MdeModulePkg/SdMmcPciHcDxe: Use 16/32-bit IO widths

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1537

Use 16-bit and 32-bit IO widths for SDMMC MMIO to prevent all register
accesses from being split up into 8-bit accesses.

The SDHCI specification states that the registers shall be accessible in
byte, word, and double word accesses. (SD Host Controller Simplified
Specification 4.20 Section 1.2)

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jeff Brasen <jbrasen@nvidia.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c