[edk2] [PATCH 3/3] patch3_add_support_bh720_chip

2019-01-28 Thread Mike Li (WH)
--- .../Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c | 918 +- .../Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.h | 159 ++- 2 files changed, 519 insertions(+), 558 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c b/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci

[edk2] [PATCH 2/2] add support bh720+emmc chip

2019-01-28 Thread Mike Li (WH)
--- MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdDevice.c | 147 ++ .../Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.c | 130 +++- 2 files changed, 174 insertions(+), 103 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdDevice.c b/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/S

[edk2] [PATCH] patch1_add_support_bh720_emmc_chip

2019-01-27 Thread Mike Li (WH)
--- .../Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c| 253 -- .../Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.h | 47 +--- 2 files changed, 178 insertions(+), 122 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c b/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.

Re: [edk2] [patch_3] make EDK Driver Support BH720+EMMC chip

2019-01-23 Thread Mike Li (WH)
ntrollerVer & 0xFF) == 0) || ((ControllerVer & 0xFF) == 1)) { S18r = FALSE; } else { ASSERT (FALSE); @@ -1065,7 +1153,7 @@ SdCardIdentification ( goto Error; } - SdMmcHcInitClockFreq (PciIo, Slot, Private->BaseClkFreq[Slot], Private->ControllerVersion[Sl

Re: [edk2] [patch_2] make EDK Driver Support BH720+EMMC chip

2019-01-23 Thread Mike Li (WH)
ClockFreq, IsDdr, BusWidth); + } + else { + DbgMsg(L"switch to HS200 100MHZ failed, but emmc chip didn't support hs mode\n"); + } +} + } +}

[edk2] [patch_1] make EDK Driver Support BH720+EMMC chip

2019-01-23 Thread Mike Li (WH)
Hi, all The following modifications are made to enable EDK Driver Support BH720 CHIP. --- /c/MyWorkspace/edk2-vUDK2018/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c 2019-01-10 14:35:21.342736200 -0800 +++ /c/yx/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c 2019-