summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-10Vlv2TbltDevicePkg/PlatformInitPei: Remove the unused variablesGary Lin
Fix the following errors from gcc: Vlv2TbltDevicePkg/PlatformInitPei/PchInitPeim.c: In function 'IchRcrbInit': Vlv2TbltDevicePkg/PlatformInitPei/PchInitPeim.c:513:36: error: variable 'PlatformCpuInfo' set but not used [-Werror=unused-but-set-variable] Vlv2TbltDevicePkg/PlatformInitPei/PchInitPeim.c:512:35: error: variable 'LpcRevisionID' set but not used [-Werror=unused-but-set-variable] Vlv2TbltDevicePkg/PlatformInitPei/MemoryCallback.c: In function 'EndOfPeiPpiNotifyCallback': Vlv2TbltDevicePkg/PlatformInitPei/MemoryCallback.c:64:31: error: variable 'MemoryTop' set but not used [-Werror=unused-but-set-variable] v2: Also remove the variable, Hob, in PchInitPeim.c:IchRcrbInit() since no one really uses it. Cc: David Wei <david.wei@intel.com> Cc: "Lu, ShifeiX A" <shifeix.a.lu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com>
2016-08-10Vlv2TbltDevicePkg/PlatformBdsLib: Remove the unused variableGary Lin
Fix the following error from gcc: Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c: In function ?BdsLockFv?: Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c:2170:31: error: variable ?Data? set but not used [-Werror=unused-but-set-variable] Cc: David Wei <david.wei@intel.com> Cc: "Wu, Hao A" <hao.a.wu@intel.com> Cc: "Lu, ShifeiX A" <shifeix.a.lu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: David Wei <david.wei@intel.com>
2016-08-10Vlv2TbltDevicePkg/PlatformPei: Remove the unused variableGary Lin
Fix the following error from gcc: Vlv2TbltDevicePkg/PlatformPei/MemoryCallback.c: In function ?MemoryDiscoveredPpiNotifyCallback?: Vlv2TbltDevicePkg/PlatformPei/MemoryCallback.c:115:20: error: variable ?Status? set but not used [-Werror=unused-but-set-variable] Cc: David Wei <david.wei@intel.com> Cc: "Wu, Hao A" <hao.a.wu@intel.com> Cc: "Lu, ShifeiX A" <shifeix.a.lu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: David Wei <david.wei@intel.com>
2016-08-10Vlv2TbltDevicePkg/MultiPlatformLib: Remove the unused variablesGary Lin
Fix the following errors from gcc: Vlv2TbltDevicePkg/Library/MultiPlatformLib/MultiPlatformLib.c: In function ?MultiPlatformInfoInit?: Vlv2TbltDevicePkg/Library/MultiPlatformLib/MultiPlatformLib.c:47:14: error: variable ?Status? set but not used [-Werror=unused-but-set-variable] Vlv2TbltDevicePkg/Library/MultiPlatformLib/BoardClkGens/BoardClkGens.c: In function ?ReadClockGeneratorID?: Vlv2TbltDevicePkg/Library/MultiPlatformLib/BoardClkGens/BoardClkGens.c:222:33: error: variable ?Status? set but not used [-Werror=unused-but-set-variable] Vlv2TbltDevicePkg/Library/MultiPlatformLib/BoardClkGens/BoardClkGens.c: In function ?ConfigurePlatformClocks?: Vlv2TbltDevicePkg/Library/MultiPlatformLib/BoardClkGens/BoardClkGens.c:283:33: error: variable ?ClockGenID? set but not used [-Werror=unused-but-set-variable] Also fix the coding style of MultiPlatformInfoInit() Cc: David Wei <david.wei@intel.com> Cc: "Wu, Hao A" <hao.a.wu@intel.com> Cc: "Lu, ShifeiX A" <shifeix.a.lu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: David Wei <david.wei@intel.com>
2016-08-10Vlv2TbltDevicePkg: Only define MDEPKG_NDEBUG for gcc release buildGary Lin
We only enable "-Wno-unused-but-set-variable" for the release build and gcc would complain that the varible passed to ASSERT_EFI_ERROR wasn't used in the debug build. Just don't define MDEPKG_NDEBUG for the debug build to make gcc happy with ASSERT_EFI_ERROR. Suggested-by: Laszlo Ersek <lersek@redhat.com> Cc: David Wei <david.wei@intel.com> CC: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com>
2016-08-10Vlv2TbltDevicePkg: Amend the build scriptGary Lin
Take the gcc version detection from OvmfPkg/build.sh instead of the hardcoded GCC46. Cc: David Wei <david.wei@intel.com> Cc: "Wu, Hao A" <hao.a.wu@intel.com> Cc: "Lu, ShifeiX A" <shifeix.a.lu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: David Wei <david.wei@intel.com>
2016-08-03Enable Spread Spectrum of on-chip devices.david wei
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: David Wei <david.wei@intel.com>
2016-07-30Change RESET_VALUE of FADT to 0x0E.david wei
Change RESET_VALUE of ACPI FADT to 0x0E, which could trigger full reset. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: David Wei <david.wei@intel.com>
2016-07-15Disable Spread Spectrum of On-chip Devices.david wei
Disable Spread Spectrum of on-chip devices temporarily, because it causes hang issue after system resets about 400 cycles. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: David Wei <david.wei@intel.com>
2016-07-15Fixed code logic error.david wei
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: David Wei <david.wei@intel.com>
2016-07-13Vlv2TbltDevicePkg:Fix Gcc Debug image can't boot to Yocto.Lu, ShifeiX A
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex <shifeix.a.lu@intel.com> Reviewed-by: David Wei <david.wei@intel.com>
2016-07-13Vlv2TbltDevicePkg:Fix incompatible pointer with Gcc buildlushifex
Fixed an incompatible pointer issue to pass Gcc build Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex <shifeix.a.lu@intel.com> Reviewed-by: David Wei <david.wei@intel.com>
2016-07-12Vlv2TbltDevicePkg: Enabled spread spectrum controlGuo, Mang
Enabled spread spectrum control and removed setup screen option. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang <mang.guo@intel.com> Reviewed-by: David Wei <david.wei@intel.com>
2016-07-12Vlv2TbltDevicePkg:Update BIOS ID to V0.93.Lu, ShifeiX A
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex <shifeix.a.lu@intel.com> Reviewed-by: David Wei <david.wei@intel.com>
2016-07-08Vlv2TbltDevicePkg:Fixed system can't save time when RTC power failure.Lu, ShifeiX A
This patch re-implemented SetTime runtime service for special usage on MinnowBoard Max which may have no RTC battery present. While user sets system time, SetTime service not only sets the time into RTC, but also saves it in UEFI variable. The next time when power failure occurred and RTC system time is lost, BIOS will read out the system time form UEFI variable and set it into RTC. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex <shifeix.a.lu@intel.com>
2016-07-06Vlv2TbltDevicePkg: Change SEC to new version: 1.0.3.1164.Guo, Mang
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang <mang.guo@intel.com>
2016-07-01Vlv2TbltDevicePkg: Enable PCIE port 2 by default to support dual Ethernet.Guo, Mang
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang <mang.guo@intel.com>
2016-05-28Update the core version string to UEFIzwei4
2.50. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bruce Cran <bruce.cran@gmail.com> Reviewed-by: David Wei <david.wei@intel.com>
2016-05-21Add serial console which is based on serial IO produced by Source Level ↵zwei4
Debug lib. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lu, Shifei <shifeix.a.lu@intel.com> Reviewed-by: Wei, David <david.wei@intel.com>
2016-05-20Vlv2TbltDevicePkg: Update BIOS ID to V0.92.lushifex
Signed-off-by: lushifex <shifeix.a.lu@intel.com>
2016-05-20Vlv2TbltDevicePkg: Fixed an Array overflow issue. Remove some useless debug ↵Guo Mang
message. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang <mang.guo@intel.com>
2016-05-11Vlv2TbltDevicePkg: Modify DSC file to ensure PlatformPkgIA32.dsc is sync ↵Guo Mang
with PlatformPkgX64.dsc. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Mang Guo <mang.guo@intel.com> Reviewed-by: David Wei <david.wei@intel.com>
2016-04-18Vlv2TbltDevicePkg: Update BiosID to V0.91.Tim He
Signed-off-by: Tim He <tim.he@intel.com> Reviewed-by: David Wei <david.wei@intel.com>
2016-04-16Add SMM_DEBUG_ENABLE to control the usage of source level debug of SMM code.zwei4
Signed-off-by: Tim He <tim.he@intel.com>
2016-04-15Vlv2TbltDevicePkg: Fixed build issue when src level debug is ON,Guo Mang
and updated Pismmcpudxesmm build path. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Mang Guo <mang.guo@intel.com> Reviewed-by: Tim He <tim.he@intel.com>
2016-04-13Initialize century of RTC CMOS.zwei4
Initialize century of RTC CMOS, in case that SetTime service does not set it.
2016-04-12Sync from SVN: Add two missing .uni files.Guo Mang
2016-04-12Fixed the issue that failed to add I2C device on 4.4 Linux kernel.He, Tim
[Test] Boot/shutdown/reboot worked well with windows10 and Yocto4.1.8. from Cal’s tested, works well to add I2C device on 4.4 Linux kernel. git-svn-id: https://ssvn.intel.com:80/ssg/csd/tiano/tianoad/Research/Developer/mangguo/MinnowBoardMaxUDK2015Platform@105645 f973567a-9dae-4ef8-9d9d-80fbec5b6bbd
2016-04-12Sync from SVNGuo Mang
2016-04-12Vlv2DeviceRefCodePkg: don't redefine struct typedefstimhe
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bruce Cran <bruce@cran.org.uk> Reviewed-by: Tim He <tim.he@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014.SP1@18147 6f19259b-4bc3-4df7-8a09-765794883524
2016-04-12Vlv2TbltDevicePkg/Vlv2DeviceRefCodePkg:timhe
Add setup option to control _STA of LPE Audio. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shifei Lu <shifeix.a.lu@intel.com> Reviewed-by: David Wei <david.wei@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014.SP1@19704 6f19259b-4bc3-4df7-8a09-765794883524
2016-04-12Add Mor featureLu, ShifeiX A
Issue Description: When SUT boot to Windows 10 (10586), MRC will clear memory when SUT enter into S4, Shutdown, etc... Root Cause: BIOS Platform ASL code Method(_PTS,1) to call “SB.TPM.PTS” method, which include SMI handler code that clears Mor variable, so If the SUT enter S4, S5(shutdown), Restart normally, the BIOS SMI handler code will clear Mor variable. [Test] Windows 10(10586) s3, s4, shutdown, restart, boot, install OS passed Windows 8 s3,s4,boot passed. Yotcot s3, boot passed. git-svn-id: https://ssvn.intel.com:80/ssg/csd/tiano/tianoad/Research/Developer/mangguo/MinnowBoardMaxUDK2015Platform@106312 f973567a-9dae-4ef8-9d9d-80fbec5b6bbd
2016-04-12Enable Capsule update and ESRT feature. Several modules are modified or ↵Guo, Mang
added for the feature. git-svn-id: https://ssvn.intel.com:80/ssg/csd/tiano/tianoad/Research/Developer/mangguo/MinnowBoardMaxUDK2015Platform@106127 f973567a-9dae-4ef8-9d9d-80fbec5b6bbd # Conflicts: # Vlv2TbltDevicePkg/PlatformPkgConfig.dsc # Vlv2TbltDevicePkg/PlatformPkgIA32.dsc
2016-04-12Sync SVN commit: 1. May 8, 2015. Update SEC version and remove vacant ↵Guo Mang
binary. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tim He <tim.he@intel.com> 2. November 12, 2015. Vlv2TbltDevicePkg: Add 'yL' build option to enable SPI lock for MinnowBoard Max. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tim He <tim.he@intel.com> Reviewed-by: David Wei <david.wei@intel.com>
2016-04-12Sync SVN commit: 1. November 13, 2015. Vlv2TbltDevicePkg: Add Microcode for ↵Guo Mang
MinnowBoard Max, and Change Flash size from 3M to 4M. Contributed-under: TianoCore Contribution Agreement 1.0. Signed-off-by: Shifei Lu <shifeix.a.lu@intel.com> Reviewed-by: David Wei <david.wei@intel.com> 2. May 18, 2016. Change the whole flash layout to fix the Fv space is not enough when source level debug enabled. [Test] Windows Build BIOS Boot to Win8.1, yocto passed. S3,S4, shutdown passed. Windows Build BIOS Boot to Win10 passed. shutdown passed. Gcc Build BIOS Boot to Win8.1, yocto passed. S3, S4, shutdown passed. <shifeix.a.lu@intel.com>
2016-04-12Sync UDK2014 SVN commit in January 21, 2016: Add setup option to control ↵Guo Mang
_STA of LPE Audio.
2016-04-11Update override code to UDK2015.Guo, Mang
git-svn-id: https://ssvn.intel.com:80/ssg/csd/tiano/tianoad/Research/Developer/mangguo/MinnowBoardMaxUDK2015Platform@103529 f973567a-9dae-4ef8-9d9d-80fbec5b6bbd
2016-04-11Vlv2TbltDevicePkg: Update the BiosID to V0.90.timhe
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tim He <tim.he@intel.com> Review-by: David Wei <david.wei@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014.SP1@19757 6f19259b-4bc3-4df7-8a09-765794883524
2016-04-11Vlv2TbltDevicePkg: Increase the BiosID to V0.85.timhe
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tim He <tim.he@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014.SP1@19641 6f19259b-4bc3-4df7-8a09-765794883524
2016-04-11Vlv2TbltDevicePkg/Vlv2DeviceRefCodePkg:timhe
Reset BIOS Setup when the jumper is present on Turbot board. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shifei Lu <shifeix.a.lu@intel.com> Reviewed-by: Tim He <tim.he@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014.SP1@19122 6f19259b-4bc3-4df7-8a09-765794883524
2016-04-11Vlv2TbltDevicePkg: Add SsdtUpdate Application totimhe
update Ssdt table to ACPI table. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shifei Lu <shifeix.a.lu@intel.com> Reviewed-by: Tim He <tim.he@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014.SP1@19103 6f19259b-4bc3-4df7-8a09-765794883524
2016-04-11Vlv2TbltDevicePkg/Vlv2DeviceRefCodePkg:timhe
Add "RTC Battery Present" item in setup page. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lu Shifei <shifeix.a.lu@intel.com> Reviewed-by: Tim He <tim.he@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014.SP1@18734 6f19259b-4bc3-4df7-8a09-765794883524
2016-04-07Vlv2TbltDevicePkg: Increase the BiosID to V0.84.timhe
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tim He <tim.he@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014.SP1@18683 6f19259b-4bc3-4df7-8a09-765794883524
2016-04-07Vlv2DeviceRefCodePkg: update some smbios string and macro name for ↵timhe
MinnowBoard Turbot board. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tim He <tim.he@intel.com> Reviewed-by: David Wei <david.wei@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014.SP1@18508 6f19259b-4bc3-4df7-8a09-765794883524
2016-04-07Fixed C-State issue of CPU1 of dual core.zwei4
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shifei Lu <shifeix.a.lu@intel.com> Reviewed-by: David Wei <david.wei@intel.com>
2016-04-07Enhance error handling of XHCI driver.zwei4
Enhance error handling of XHCI driver. After babble error detected, end point needs to be reset to recover from "halt" state. This override is a temp solution. It will be removed after MdeModulePkg/Bus/Pci/XhciDxe driver get enhanced. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: zwei4 <david.wei@intel.com>
2015-09-25UefiCpuPkg/CpuMpPei: Fix wrong CpuData pointerJeff Fan
CpuData buffer should be located in allocated buffer instead of at end of WakeupBuffer. (Sync patch r18550 from main trunk.) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@18552 6f19259b-4bc3-4df7-8a09-765794883524
2015-09-25UefiCpuPkg/CpuMpPei: Add check on Processors number foundJeff Fan
(Sync patch r18549 from main trunk.) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@18551 6f19259b-4bc3-4df7-8a09-765794883524
2015-09-25NetworkPkg:Fix iSCSI driver issue to work with iSCSI LIO targetYe Ting
The patch fixes iSCSI driver can't reinstate itself when configured in AutoConfigure mode and IPv6 stack is actually used. The issue occurs when iSCSI driver communicates with iSCSI LIO target in IPv6 path and the target sends back TCP FIN packets randomly. (Sync patch r18546 from main trunk.) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Fu siyuan <siyuan.fu@intel.com> Reviewed-by: Wu jiaxin <jiaxin.wu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@18548 6f19259b-4bc3-4df7-8a09-765794883524
2015-09-25ShellPkg: Update tftp to build with current tipJaben Carsey
(Sync patch r18543 from main trunk.) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Signed-off-by: Tapan Shah <tapandshah@hpe.com> Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Qiu Shumin <shumin.qiu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@18547 6f19259b-4bc3-4df7-8a09-765794883524