From: zwei4 <david.wei@intel.com>
To: edk2-devel@lists.01.org
Subject: [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017] Change eMMC device path.
Date: Fri, 9 Jun 2017 16:20:06 +0800 [thread overview]
Message-ID: <20170609082006.18008-1-david.wei@intel.com> (raw)
Signed-off-by: zwei4 <david.wei@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
---
.../Sdio/Dxe/MMC/MmcMediaDeviceDxe/MediaDeviceDriver.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Sdio/Dxe/MMC/MmcMediaDeviceDxe/MediaDeviceDriver.c b/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Sdio/Dxe/MMC/MmcMediaDeviceDxe/MediaDeviceDriver.c
index 7f5bd1137..8a27d2563 100644
--- a/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Sdio/Dxe/MMC/MmcMediaDeviceDxe/MediaDeviceDriver.c
+++ b/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Sdio/Dxe/MMC/MmcMediaDeviceDxe/MediaDeviceDriver.c
@@ -425,15 +425,15 @@ MediaDeviceDriverAllPartitionNotPresent (
STATIC
struct {
- DEVICE_LOGICAL_UNIT_DEVICE_PATH LogicalUnit;
+ CONTROLLER_DEVICE_PATH LogicalUnit;
EFI_DEVICE_PATH_PROTOCOL End;
} EmmcDevPathTemplate = {
{
{
- MESSAGING_DEVICE_PATH,
- MSG_DEVICE_LOGICAL_UNIT_DP,
+ HARDWARE_DEVICE_PATH,
+ HW_CONTROLLER_DP,
{
- sizeof (DEVICE_LOGICAL_UNIT_DEVICE_PATH),
+ sizeof (CONTROLLER_DEVICE_PATH),
0
},
},
@@ -494,7 +494,7 @@ MediaDeviceDriverInstallBlockIo (
Partition->Handle = NULL;
Partition->CardData = CardData;
- EmmcDevPathTemplate.LogicalUnit.Lun = Loop;
+ EmmcDevPathTemplate.LogicalUnit.ControllerNumber = Loop;
Partition->DevPath =
AppendDevicePath (
MainPath,
--
2.11.0.windows.1
reply other threads:[~2017-06-09 8:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170609082006.18008-1-david.wei@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox