From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.2895.1588186040792929224 for ; Wed, 29 Apr 2020 11:47:20 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ard.biesheuvel@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 53EF81063; Wed, 29 Apr 2020 11:47:20 -0700 (PDT) Received: from e123331-lin.home (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A34D13F73D; Wed, 29 Apr 2020 11:47:19 -0700 (PDT) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: leif@nuviainc.com, Ard Biesheuvel Subject: [PATCH edk2-platforms 1/2] Silicon/TexasInstruments/Omap35xxPkg: switch to new MMC host protocol name Date: Wed, 29 Apr 2020 20:47:04 +0200 Message-Id: <20200429184705.20934-1-ard.biesheuvel@arm.com> X-Mailer: git-send-email 2.17.1 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 --- 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