From nobody Sat May 4 06:41:38 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1496996416814966.846052140964; Fri, 9 Jun 2017 01:20:16 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 76B7820945540; Fri, 9 Jun 2017 01:19:04 -0700 (PDT) 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 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 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,317,1493708400"; d="scan'208";a="978707508" 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: [edk2] [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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" 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/MmcM= ediaDeviceDxe/MediaDeviceDriver.c b/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCl= uster/Sdio/Dxe/MMC/MmcMediaDeviceDxe/MediaDeviceDriver.c index 7f5bd1137..8a27d2563 100644 --- a/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Sdio/Dxe/MMC/MmcMediaDev= iceDxe/MediaDeviceDriver.c +++ b/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Sdio/Dxe/MMC/MmcMediaDev= iceDxe/MediaDeviceDriver.c @@ -425,15 +425,15 @@ MediaDeviceDriverAllPartitionNotPresent ( =20 STATIC struct { - DEVICE_LOGICAL_UNIT_DEVICE_PATH LogicalUnit; + CONTROLLER_DEVICE_PATH LogicalUnit; EFI_DEVICE_PATH_PROTOCOL End; } EmmcDevPathTemplate =3D { { { - 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 =3D NULL; Partition->CardData =3D CardData; =20 - EmmcDevPathTemplate.LogicalUnit.Lun =3D Loop; + EmmcDevPathTemplate.LogicalUnit.ControllerNumber =3D Loop; Partition->DevPath =3D AppendDevicePath ( MainPath, --=20 2.11.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel