From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E50F520082E92 for ; Fri, 9 Jun 2017 01:19:02 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jun 2017 01:20:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,317,1493708400"; d="scan'208";a="978707508" Received: from zwei4-mobl.ccr.corp.intel.com ([10.239.197.147]) by orsmga003.jf.intel.com with ESMTP; 09 Jun 2017 01:20:11 -0700 From: zwei4 To: edk2-devel@lists.01.org Date: Fri, 9 Jun 2017 16:20:06 +0800 Message-Id: <20170609082006.18008-1-david.wei@intel.com> X-Mailer: git-send-email 2.11.0.windows.1 Subject: [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017] Change eMMC device path. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2017 08:19:03 -0000 Signed-off-by: zwei4 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