]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.h
MdeModulePkg/SdMmcPciHcDxe: break cmd exec if the card isn't identified
authorFeng Tian <feng.tian@intel.com>
Fri, 29 Apr 2016 06:31:36 +0000 (14:31 +0800)
committerFeng Tian <feng.tian@intel.com>
Fri, 6 May 2016 08:09:58 +0000 (16:09 +0800)
commitc25ddd0134be8756ff249cb5467a917a6a50c307
tree1114f0ba0ee74b87f871b950c2d437519208ab20
parent36fbc6973cbde855502b6f07fa80207e2bf0536b
MdeModulePkg/SdMmcPciHcDxe: break cmd exec if the card isn't identified

Check if the card is identified/initialized correctly. if not, break
the following cmd execution through PassThru()/ResetDevice().

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/SdMmcPciHcDxe.c
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.h