]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg: SdMmcPciHcDxe: Fix issue that SD1.0 cards can't be recognized
authorChevron Li (WH) <chevron.li@bayhubtech.com>
Wed, 7 Dec 2022 11:08:39 +0000 (19:08 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 12 Dec 2022 02:43:33 +0000 (02:43 +0000)
commit5890a18409a0e67a491c600b930e6c904ad3b3fd
treea6f4e19b9faa4a2f6c01401657b1701b0b974d9d
parenta6542894391bae58b7704b2624b541a2b8b9ed93
MdeModulePkg: SdMmcPciHcDxe: Fix issue that SD1.0 cards can't be recognized

SD1.0 cards don't support CMD8 and CMD6
CMD8 result can be used to distinguish the card is SD1.0 or not.
CMD8 result can be used to decide following CMD6 is sent or skip.

Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Chevron Li <chevron.li@bayhubtech.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdDevice.c