summaryrefslogtreecommitdiff
path: root/Silicon
diff options
context:
space:
mode:
authorzwei4 <david.wei@intel.com>2017-06-09 16:20:06 +0800
committerzwei4 <david.wei@intel.com>2017-06-13 16:49:53 +0800
commitbbf0718661e4aea7fccd55c97c20375552eb1e31 (patch)
tree68e0df4212e76006b6fcd264fba4fb44f0224d81 /Silicon
parent778d8ba5997a4fbf0e3b18a24111ac2f98378989 (diff)
downloadedk2-platforms-bbf0718661e4aea7fccd55c97c20375552eb1e31.tar.xz
Change eMMC device path.
Signed-off-by: zwei4 <david.wei@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0
Diffstat (limited to 'Silicon')
-rw-r--r--Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Sdio/Dxe/MMC/MmcMediaDeviceDxe/MediaDeviceDriver.c10
1 files 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 7f5bd11379..8a27d25634 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,