]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/SdMmcPciHcDxe: Use BaseClk if the target clock is larger
authorFeng Tian <feng.tian@intel.com>
Fri, 29 Apr 2016 06:39:30 +0000 (14:39 +0800)
committerFeng Tian <feng.tian@intel.com>
Fri, 6 May 2016 08:09:59 +0000 (16:09 +0800)
commitcb9cb9e2aaec95f89f3c0dfc411226aa6c42461a
tree36fe78994ab6714715f5abdb99ad8403ccdc3c03
parentc25ddd0134be8756ff249cb5467a917a6a50c307
MdeModulePkg/SdMmcPciHcDxe: Use BaseClk if the target clock is larger

The original code has a bug to calculate which clock freq should be
used when the target clock freq is larger than the BaseClock Freq
provided by the system.

Cc: Wu, Hao A <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c
MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c
MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHci.c