public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch][edk2-platforms 1/2] Disable PCIe De-emphasis.
@ 2017-09-05  2:11 zwei4
  2017-09-05  2:11 ` [Patch][edk2-platforms 2/2] Change reset type zwei4
  0 siblings, 1 reply; 2+ messages in thread
From: zwei4 @ 2017-09-05  2:11 UTC (permalink / raw)
  To: edk2-devel

Some PCIe device, such as Intel8265NGW/8260NGW WiFi device, disappears after reboot. PCIe root port De-emphasis has to be disabled to fix this issue.

Contributed-under: TianoCore Contribution Agreement 1.1

Signed-off-by: zwei4 <david.wei@intel.com>
---
 .../Common/PlatformSettings/PlatformSetupDxe/SouthClusterConfig.vfi   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/SouthClusterConfig.vfi b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/SouthClusterConfig.vfi
index 35aeb34bf..1b0e93dd9 100644
--- a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/SouthClusterConfig.vfi
+++ b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/SouthClusterConfig.vfi
@@ -1236,8 +1236,8 @@ form formid       = PCIERP2_OPTIONS_FORM_ID,
     oneof varid   = Setup.PcieRootPortSelectableDeemphasis[OFFSET_1],
       prompt   = STRING_TOKEN (STR_PCH_PCIE_SD_PROMPT),
       help     = STRING_TOKEN (STR_PCH_PCIE_SD_HELP),
-      option text = STRING_TOKEN(STR_DISABLE),  value = 0, flags = RESET_REQUIRED;
-      option text = STRING_TOKEN(STR_ENABLE),  value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
+      option text = STRING_TOKEN(STR_DISABLE),  value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
+      option text = STRING_TOKEN(STR_ENABLE),  value = 1, flags = RESET_REQUIRED;
     endoneof;
   endif;
 endform; //End of PCIERP2_OPTIONS_FORM_ID
-- 
2.14.1.windows.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Patch][edk2-platforms 2/2] Change reset type.
  2017-09-05  2:11 [Patch][edk2-platforms 1/2] Disable PCIe De-emphasis zwei4
@ 2017-09-05  2:11 ` zwei4
  0 siblings, 0 replies; 2+ messages in thread
From: zwei4 @ 2017-09-05  2:11 UTC (permalink / raw)
  To: edk2-devel

Contributed-under: TianoCore Contribution Agreement 1.1

Signed-off-by: zwei4 <david.wei@intel.com>
---
 Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Reset/RuntimeDxe/ScReset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Reset/RuntimeDxe/ScReset.c b/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Reset/RuntimeDxe/ScReset.c
index 36ac0e3d0..2bac0a5e3 100644
--- a/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Reset/RuntimeDxe/ScReset.c
+++ b/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Reset/RuntimeDxe/ScReset.c
@@ -296,7 +296,7 @@ IntelScResetSystem (
 
     case EfiResetCold:
       InitialData = V_RST_CNT_HARDSTARTSTATE;
-      OutputData  = V_RST_CNT_FULLRESET;
+      OutputData  = V_RST_CNT_HARDRESET;
       break;
 
     case EfiResetShutdown:
-- 
2.14.1.windows.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-05  2:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-05  2:11 [Patch][edk2-platforms 1/2] Disable PCIe De-emphasis zwei4
2017-09-05  2:11 ` [Patch][edk2-platforms 2/2] Change reset type zwei4

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox