]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/SdMmcPciHcDxe: Fix SdMmcHcReset to set only necesery bits
authorTomasz Michalec <tm@semihalf.com>
Tue, 18 Sep 2018 08:59:06 +0000 (16:59 +0800)
committerHao Wu <hao.a.wu@intel.com>
Fri, 21 Sep 2018 02:47:47 +0000 (10:47 +0800)
commit064d301fb07566ab6d3d89010b9666f320698f34
tree233023ee7e4b8bbba3bfe1f0159b668bdd065c7e
parent9062ab47870ea728307e32cdd939586a4ec67fc6
MdeModulePkg/SdMmcPciHcDxe: Fix SdMmcHcReset to set only necesery bits

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

SdMmcHcReset used to set all bits of Software Reset Register to 1
including reserved ones, which on some controllers may result in
timeout.

Now only first bit is set, which means "Software Reset for All".

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c