From: zwei4 <david.wei@intel.com>
To: edk2-devel@lists.01.org
Subject: [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix GCC build error.
Date: Fri, 29 Jun 2018 17:01:37 +0800 [thread overview]
Message-ID: <20180629090137.12416-1-david.wei@intel.com> (raw)
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: zwei4 <david.wei@intel.com>
---
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 = 0x2000;
UINT32 IoBase = 0;
- UINT32 MmioConf0 = 0;
UINT32 MmioPadval = 0;
- UINT32 PConf0Offset = 0x210; //GPIO_S5_1 pad_conf0 register offset
UINT32 PValueOffset = 0x218; //GPIO_S5_1 pad_value register offset
PciD31F0RegBase = MmPciAddress (0,
@@ -283,7 +281,6 @@ VOID
//
// 0xFED0E1E0/0xFED0E0A8 is pad_Conf/pad_val register address of GPIO_S5_17
//
- MmioConf0 = IoBase + SSUSOffset + PConf0Offset;
MmioPadval = IoBase + SSUSOffset + PValueOffset;
GpioValue = MmioRead32 (MmioPadval);
@@ -312,9 +309,7 @@ VOID
UINT32 GpioValue;
UINT32 SSUSOffset = 0x2000;
UINT32 IoBase = 0;
- UINT32 MmioConf0 = 0;
UINT32 MmioPadval = 0;
- UINT32 PConf0Offset = 0x1E0; //GPIO_S5_2 pad_conf0 register offset
UINT32 PValueOffset = 0x1E8; //GPIO_S5_2 pad_value register offset
PciD31F0RegBase = MmPciAddress (0,
@@ -328,7 +323,6 @@ VOID
//
// 0xFED0E1E0/0xFED0E0A8 is pad_Conf/pad_val register address of GPIO_S5_17
//
- MmioConf0 = IoBase + SSUSOffset + PConf0Offset;
MmioPadval = IoBase + SSUSOffset + PValueOffset;
GpioValue = MmioRead32 (MmioPadval);
--
2.14.1.windows.1
reply other threads:[~2018-06-29 9:01 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=20180629090137.12416-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