]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/SdMmcPciHcDxe: Remove clock stop from HS200 switch
authorAlbecki, Mateusz <mateusz.albecki@intel.com>
Thu, 26 Sep 2019 14:27:42 +0000 (22:27 +0800)
committerHao A Wu <hao.a.wu@intel.com>
Sun, 29 Sep 2019 01:11:16 +0000 (09:11 +0800)
commit206783aa7f96870cc7d252d8ff93128c33b0a927
treeed6f246f5665bb437106339c13d14edf1428deee
parente86664d2b03d0a84b8b952f3d5111424b3e9c916
MdeModulePkg/SdMmcPciHcDxe: Remove clock stop from HS200 switch

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

Stopping the SD clock before switching host controller
bus timing is only necessary if preset value enable is
set in host controller. Code that performs switch to
HS200 doesn't check this condition right now and we also
don't do the SD clock stop before any other bus timing switch
in host controller. Since the driver is generally not ready to support
host controller with preset value enable set we removed this
code.

Signed-off-by: Mateusz Albecki <mateusz.albecki@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Tested-by: Hao A Wu <hao.a.wu@intel.com>
Tested-by: Marcin Wojtas <mw@semihalf.com>
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c