summaryrefslogtreecommitdiff
path: root/EmbeddedPkg/Drivers
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@arm.com>2020-04-29 20:17:50 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-04-30 08:11:42 +0000
commit2a7a1223d0c6f6ec10076584f92d40abbf6020d1 (patch)
tree010636d0c4c243a81fa378623adb695b44305cc0 /EmbeddedPkg/Drivers
parent13406bdeb5c5bea7f5cee6b3c0dfaff253579710 (diff)
downloadedk2-2a7a1223d0c6f6ec10076584f92d40abbf6020d1.zip
edk2-2a7a1223d0c6f6ec10076584f92d40abbf6020d1.tar.gz
edk2-2a7a1223d0c6f6ec10076584f92d40abbf6020d1.tar.bz2
EmbeddedPkg: rename gEfiMmcHostProtocolGuid to gEmbeddedMmcHostProtocolGuid
In EDK2, identifiers carrying the EFI prefix are reserved for ones that are defined in the UEFI or PI specifications. Since the MMC host protocol defined in EmbeddedPkg is not the one that the UEFI spec defines, and given the confusion around this, let's rename it to from gEfiMmcHostProtocolGuid to gEmbeddedMmcHostProtocolGuid. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Diffstat (limited to 'EmbeddedPkg/Drivers')
-rw-r--r--EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c2
-rw-r--r--EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf2
2 files changed, 2 insertions, 2 deletions
diff --git a/EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c b/EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c
index 68c523a..b95917b 100644
--- a/EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c
+++ b/EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c
@@ -679,7 +679,7 @@ DwEmmcDxeInitialize (
//Publish Component Name, BlockIO protocol interfaces
Status = gBS->InstallMultipleProtocolInterfaces (
&Handle,
- &gEfiMmcHostProtocolGuid, &gMciHost,
+ &gEmbeddedMmcHostProtocolGuid, &gMciHost,
NULL
);
ASSERT_EFI_ERROR (Status);
diff --git a/EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf b/EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf
index 21c372c..cf8e242 100644
--- a/EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf
+++ b/EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf
@@ -37,7 +37,7 @@
[Protocols]
gEfiCpuArchProtocolGuid
gEfiDevicePathProtocolGuid
- gEfiMmcHostProtocolGuid
+ gEmbeddedMmcHostProtocolGuid
[Pcd]
gEmbeddedTokenSpaceGuid.PcdDwEmmcDxeBaseAddress