No, your SD/MMC host controller driver doesn't need be at PCI bus. You just need write a such h/c driver to produce EfiSdMmcPassThruProtocol interface.
EmmcDxe/SdDxe is a common driver to consume EfiSdMmcPassThruProtocol interface to produce BlockIo interface, it's generic for SD/MMC device. Thanks Feng -----Original Message----- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Haojian Zhuang Sent: Tuesday, April 5, 2016 11:54 AM To: Tian, Feng <feng.t...@intel.com> Cc: Ryan Harkin <ryan.har...@linaro.org>; edk2-devel@lists.01.org; Leif Lindholm <leif.lindh...@linaro.org>; Ard Biesheuvel <ard.biesheu...@linaro.org> Subject: Re: [edk2] [PATCH v2 8/9] MmcDxe: set iospeed and bus width in SD stack On 5 April 2016 at 11:25, Tian, Feng <feng.t...@intel.com> wrote: > Hi, HaoJian > > We newly added EDKII SD/MMC stack to EDKII repo. If the SD/MMC host > controller follows SD PCI host controller spec, the whole stack should work. > > But looks like PL180 doesn't follow the SD PCI host controller spec, you > would have to add a new SD host controller driver to produce > EFI_SD_MMC_PASS_THRU_PROTOCOL if you would like to reuse EmmcDxe/SdDxe driver > in MdeModulePkg. > > Thanks > Feng > Hi Feng, Thanks a lot. I'll investigate it. But the SD PCI? Do you mean that my emmc/sd controller must exists in PCI bus? There's no PCI bus in my platform. Does it block me to reuse the EmmcDxe/SdDxe driver? Best Regards Haojian _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel