From nobody Sun May 5 07:48:50 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.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; dmarc=fail(p=none dis=none) header.from=intel.com Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1530262905508227.95266106122756; Fri, 29 Jun 2018 02:01:45 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 92314203369D1; Fri, 29 Jun 2018 02:01:43 -0700 (PDT) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (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 B2E03202E5477 for ; Fri, 29 Jun 2018 02:01:42 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jun 2018 02:01:42 -0700 Received: from zwei4-mobl1.ccr.corp.intel.com ([10.239.192.56]) by orsmga003.jf.intel.com with ESMTP; 29 Jun 2018 02:01:41 -0700 X-Original-To: edk2-devel@lists.01.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; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.126; helo=mga18.intel.com; envelope-from=david.wei@intel.com; receiver=edk2-devel@lists.01.org X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,285,1526367600"; d="scan'208";a="63134998" From: zwei4 To: edk2-devel@lists.01.org Date: Fri, 29 Jun 2018 17:01:37 +0800 Message-Id: <20180629090137.12416-1-david.wei@intel.com> X-Mailer: git-send-email 2.14.1.windows.1 Subject: [edk2] [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix GCC build error. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 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" Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: zwei4 --- Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLibrary.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLibrary.c = b/Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLibrary.c index 8c1dc152b8..58c0e63f1e 100644 --- a/Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLibrary.c +++ b/Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLibrary.c @@ -267,9 +267,7 @@ VOID UINT32 GpioValue; UINT32 SSUSOffset =3D 0x2000; UINT32 IoBase =3D 0; - UINT32 MmioConf0 =3D 0; UINT32 MmioPadval =3D 0; - UINT32 PConf0Offset =3D 0x210; //GPIO_S5_1 pad= _conf0 register offset UINT32 PValueOffset =3D 0x218; //GPIO_S5_1 pad= _value register offset =20 PciD31F0RegBase =3D MmPciAddress (0, @@ -283,7 +281,6 @@ VOID // // 0xFED0E1E0/0xFED0E0A8 is pad_Conf/pad_val register address of GPIO_S5= _17 // - MmioConf0 =3D IoBase + SSUSOffset + PConf0Offset; MmioPadval =3D IoBase + SSUSOffset + PValueOffset;=20 =20 GpioValue =3D MmioRead32 (MmioPadval); @@ -312,9 +309,7 @@ VOID UINT32 GpioValue; UINT32 SSUSOffset =3D 0x2000; UINT32 IoBase =3D 0; - UINT32 MmioConf0 =3D 0; UINT32 MmioPadval =3D 0; - UINT32 PConf0Offset =3D 0x1E0; //GPIO_S5_2 pad= _conf0 register offset UINT32 PValueOffset =3D 0x1E8; //GPIO_S5_2 pad= _value register offset =20 PciD31F0RegBase =3D MmPciAddress (0, @@ -328,7 +323,6 @@ VOID // // 0xFED0E1E0/0xFED0E0A8 is pad_Conf/pad_val register address of GPIO_S5= _17 // - MmioConf0 =3D IoBase + SSUSOffset + PConf0Offset; MmioPadval =3D IoBase + SSUSOffset + PValueOffset;=20 =20 GpioValue =3D MmioRead32 (MmioPadval); --=20 2.14.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel