[edk2-devel] [PATCH edk2-platforms 1/2] Silicon/TexasInstruments/Omap35xxPkg: switch to new MMC host protocol name
Ard Biesheuvel
ard.biesheuvel at arm.com
Wed Apr 29 18:47:04 UTC 2020
The protocol name for EmbeddedPkg's version of the MMC host protocol was
changed to reflect that this protocol is not the one that the UEFI spec
defines. So update OMAP3's MMC host DXE driver accordingly.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel at arm.com>
---
Silicon/TexasInstruments/Omap35xxPkg/MmcHostDxe/MmcHostDxe.c | 2 +-
Silicon/TexasInstruments/Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Silicon/TexasInstruments/Omap35xxPkg/MmcHostDxe/MmcHostDxe.c b/Silicon/TexasInstruments/Omap35xxPkg/MmcHostDxe/MmcHostDxe.c
index 410fed9366a8..413392908914 100644
--- a/Silicon/TexasInstruments/Omap35xxPkg/MmcHostDxe/MmcHostDxe.c
+++ b/Silicon/TexasInstruments/Omap35xxPkg/MmcHostDxe/MmcHostDxe.c
@@ -662,7 +662,7 @@ MMCInitialize (
Status = gBS->InstallMultipleProtocolInterfaces (
&Handle,
- &gEfiMmcHostProtocolGuid, &gMMCHost,
+ &gEdkiiMmcHostProtocolGuid, &gMMCHost,
NULL
);
ASSERT_EFI_ERROR (Status);
diff --git a/Silicon/TexasInstruments/Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf b/Silicon/TexasInstruments/Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf
index 28e78ee646cd..c05d0d1cd913 100644
--- a/Silicon/TexasInstruments/Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf
+++ b/Silicon/TexasInstruments/Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf
@@ -37,7 +37,7 @@ [Protocols]
gEfiCpuArchProtocolGuid
gEfiDevicePathProtocolGuid
gEmbeddedExternalDeviceProtocolGuid
- gEfiMmcHostProtocolGuid
+ gEdkiiMmcHostProtocolGuid
[Pcd]
gOmap35xxTokenSpaceGuid.PcdOmap35xxMMCHS1Base
--
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#58324): https://edk2.groups.io/g/devel/message/58324
Mute This Topic: https://groups.io/mt/73359632/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list