]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/SdMmcPciHcDxe: Check SD's supported bus mode before switch
authorFeng Tian <feng.tian@intel.com>
Tue, 3 May 2016 01:57:55 +0000 (09:57 +0800)
committerFeng Tian <feng.tian@intel.com>
Fri, 6 May 2016 08:10:01 +0000 (16:10 +0800)
commit6263ae931d66d3aaace09e6819e305ef171a806a
tree2b6b55a4fd62d88d57b6fee7c37a7ee179c10670
parent8c983d3e06da799e623a9f46fcaa207455482091
MdeModulePkg/SdMmcPciHcDxe: Check SD's supported bus mode before switch

Before switch to a bus mode, we need check if the SD device supports
this bus mode.

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/SdDevice.c
MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHci.c
MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHci.h