public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 1/4]GPIO configuration.
@ 2017-07-03  8:54 zwei4
  2017-07-03  8:54 ` [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 2/4]RTC configuration zwei4
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zwei4 @ 2017-07-03  8:54 UTC (permalink / raw)
  To: edk2-devel

Change GPIO configuration for LED and buttons.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: zwei4 <david.wei@intel.com>
---
 .../Board/MinnowBoard3/BoardInitPostMem/BoardGpios.h   | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPostMem/BoardGpios.h b/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPostMem/BoardGpios.h
index 88044926d..674617e84 100644
--- a/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPostMem/BoardGpios.h
+++ b/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPostMem/BoardGpios.h
@@ -63,12 +63,12 @@ BXT_GPIO_PAD_INIT  mBXT_GpioInitData_N[] =
   //
   //                  Group Pin#:  pad_name,    PMode,GPIO_Config,HostSw,GPO_STATE,INT_Trigger,  Wake_Enabled ,Term_H_L,Inverted, GPI_ROUT, IOSstae, IOSTerm,     MMIO_Offset  ,Community
   //
-  BXT_GPIO_PAD_CONF(L"GPIO_0",                   M0   ,    GPO   ,  NA   ,   HI    ,   NA      , Wake_Disabled,  P_5K_L ,   NA    ,    NA,NA        ,  NA  ,    GPIO_PADBAR+0x0000,  NORTH),
-  BXT_GPIO_PAD_CONF(L"GPIO_1",                   M0   ,    GPO   ,  NA   ,   HI    ,   NA      , Wake_Disabled,  P_5K_L ,   NA    ,    NA,NA        ,  NA  ,    GPIO_PADBAR+0x0008,  NORTH),
-  BXT_GPIO_PAD_CONF(L"GPIO_2",                   M1   ,    NA    ,  NA   ,  NA    ,   NA       , Wake_Disabled, P_20K_L,   NA    ,    NA,   HizRx0I,   SAME, GPIO_PADBAR+0x0010,  NORTH),
-  BXT_GPIO_PAD_CONF(L"GPIO_3",                   M1   ,    NA    ,  NA   ,  NA    ,   NA       , Wake_Disabled, P_20K_L,   NA    ,    NA,   HizRx0I,   SAME, GPIO_PADBAR+0x0018,  NORTH),
-  BXT_GPIO_PAD_CONF(L"GPIO_4",                   M1   ,    NA    ,  NA   ,  NA    ,   NA       , Wake_Disabled, P_20K_L,   NA    ,    NA,   HizRx0I,   SAME, GPIO_PADBAR+0x0020,  NORTH),
-  BXT_GPIO_PAD_CONF(L"GPIO_5",                   M1   ,    NA    ,  NA   ,  NA    ,   NA       , Wake_Disabled, P_20K_L,   NA    ,    NA,   HizRx0I,   SAME, GPIO_PADBAR+0x0028,  NORTH),//Mux with CSE_PG based on the SW3 switch
+  BXT_GPIO_PAD_CONF(L"GPIO_0",                   M0   ,    GPO   ,  NA   ,   HI    ,   NA      , Wake_Disabled,  P_5K_L ,   NA    ,    NA,   NA        ,  NA, GPIO_PADBAR+0x0000,  NORTH),
+  BXT_GPIO_PAD_CONF(L"GPIO_1",                   M0   ,    GPO   ,  NA   ,   HI    ,   NA      , Wake_Disabled,  P_5K_L ,   NA    ,    NA,   NA        ,  NA, GPIO_PADBAR+0x0008,  NORTH),
+  BXT_GPIO_PAD_CONF(L"GPIO_2",                   M0   ,    GPO   ,  NA   ,   LO    ,   NA      , Wake_Disabled, P_20K_L,    NA    ,    NA,   NA,          NA, GPIO_PADBAR+0x0010,  NORTH),
+  BXT_GPIO_PAD_CONF(L"GPIO_3",                   M0   ,    GPO   ,  NA   ,   LO    ,   NA      , Wake_Disabled, P_20K_L,    NA    ,    NA,   NA,          NA, GPIO_PADBAR+0x0018,  NORTH),
+  BXT_GPIO_PAD_CONF(L"GPIO_4",                   M0   ,    GPO   ,  NA   ,   LO    ,   NA      , Wake_Disabled, P_20K_L,    NA    ,    NA,   NA,          NA, GPIO_PADBAR+0x0020,  NORTH),
+  BXT_GPIO_PAD_CONF(L"GPIO_5",                   M1   ,    NA    ,  NA   ,  NA    ,    NA       , Wake_Disabled, P_20K_L,   NA    ,    NA,   HizRx0I,   SAME, GPIO_PADBAR+0x0028,  NORTH),//Mux with CSE_PG based on the SW3 switch
   BXT_GPIO_PAD_CONF(L"GPIO_6",                   M1   ,    NA    ,  NA   ,  NA    ,   NA       , Wake_Disabled, P_20K_L,   NA    ,    NA,   HizRx0I,   SAME, GPIO_PADBAR+0x0030,  NORTH),//Mux with DISP1_RST_N based on the SW3 switch
   BXT_GPIO_PAD_CONF(L"GPIO_7",                   M1   ,    NA    ,  NA   ,  NA    ,   NA       , Wake_Disabled, P_20K_L,   NA    ,    NA,   HizRx0I,   SAME, GPIO_PADBAR+0x0038,  NORTH),//Mux with DISP1_TOUCH_INT_N based on the SW3 switch
   BXT_GPIO_PAD_CONF(L"GPIO_8",                   M1   ,    NA    ,  NA   ,  NA    ,   NA       , Wake_Disabled, P_20K_L,   NA    ,    NA,   HizRx0I,   SAME, GPIO_PADBAR+0x0040,  NORTH),//Mux with DISP1_TOUCH_RST_N based on the SW3 switch
@@ -81,15 +81,15 @@ BXT_GPIO_PAD_INIT  mBXT_GpioInitData_N[] =
   BXT_GPIO_PAD_CONF(L"GPIO_15",                  M1   ,    NA    , NA    ,  NA    ,   NA       , Wake_Disabled, P_20K_L,    NA   ,    NA     ,NA   ,     NA, GPIO_PADBAR+0x0078,  NORTH),//Feature: LB
   BXT_GPIO_PAD_CONF(L"GPIO_16",                  M0   ,    GPI   ,  NA   ,  NA    ,   Edge     , Wake_Disabled, P_20K_H, Inverted,IOAPIC,  HizRx0I ,DisPuPd, GPIO_PADBAR+0x0080,  NORTH),//Feature:SIM Card Detect        Net in Sch: SIM_CON_CD1, falling edge trigger
   BXT_GPIO_PAD_CONF(L"GPIO_17",                  M1   ,    NA    , NA    ,  NA    ,   NA       , Wake_Disabled, P_20K_H,    NA   ,    NA,     NA   ,     NA, GPIO_PADBAR+0x0088,  NORTH),//Feature: LB
-  BXT_GPIO_PAD_CONF(L"GPIO_18",                  M1   ,    NA    , NA    ,  NA    ,   NA       , Wake_Disabled, P_20K_H,    NA   ,    NA,     NA   ,     NA, GPIO_PADBAR+0x0090,  NORTH),//Feature: LB
-  BXT_GPIO_PAD_CONF(L"GPIO_19",                  M1   ,    NA    , NA    ,  NA    ,   NA       , Wake_Disabled, P_20K_H,    NA   ,    NA,     NA   ,     NA, GPIO_PADBAR+0x0098,  NORTH),//Feature: LB
+  BXT_GPIO_PAD_CONF(L"GPIO_18",                  M0   ,    GPI   , NA    ,  NA    ,   NA       , Wake_Disabled, P_20K_H,    NA   ,    NA,     NA   ,     NA, GPIO_PADBAR+0x0090,  NORTH),//Feature: LB
+  BXT_GPIO_PAD_CONF(L"GPIO_19",                  M0   ,    GPI   , NA    ,  NA    ,   NA       , Wake_Disabled, P_20K_H,    NA   ,    NA,     NA   ,     NA, GPIO_PADBAR+0x0098,  NORTH),//Feature: LB
   BXT_GPIO_PAD_CONF(L"GPIO_20",                  M1   ,    NA    , NA    ,  NA    ,   NA       , Wake_Disabled, P_20K_L,    NA   ,    NA,     NA   ,     NA, GPIO_PADBAR+0x00A0,  NORTH),//Feature: LB
   BXT_GPIO_PAD_CONF(L"GPIO_21",                  M1   ,    NA    , NA    ,  NA    ,   NA       , Wake_Disabled, P_20K_L,    NA   ,    NA,     NA   ,     NA, GPIO_PADBAR+0x00A8,  NORTH),//Feature: LB
   BXT_GPIO_PAD_CONF(L"GPIO_23",                  M0   ,    GPO   , NA   ,   HI    ,   NA      ,  Wake_Disabled, P_20K_L,    NA   ,    NA,     NA   ,     NA, GPIO_PADBAR+0x00B8,  NORTH),//Feature: LB USB Power in LFH
   BXT_GPIO_PAD_CONF(L"GPIO_24",                  M5   ,    NA    ,  NA   ,  NA    ,   NA       , Wake_Disabled, P_20K_H,   NA    ,    NA,     NA   ,     NA, GPIO_PADBAR+0x00C0,  NORTH),//SATA_DEVSLP0
   BXT_GPIO_PAD_CONF(L"GPIO_25",                  M0   ,    GPI   , ACPI_D,  NA    ,   Level    , Wake_Disabled, P_20K_H, Inverted,   SCI,     NA   ,     NA, GPIO_PADBAR+0x00C8,  NORTH),//Feature:ODD MD/DA SCI          Net in Sch: SATA_ODD_DA_IN
   BXT_GPIO_PAD_CONF(L"GPIO_26",                  M5   ,    NA    ,  NA   ,  NA    ,   NA       , Wake_Disabled, P_20K_L,   NA    ,    NA,     NA   ,     NA, GPIO_PADBAR+0x00D0,  NORTH),//SATA_LEDN
-  BXT_GPIO_PAD_CONF(L"GPIO_27",                  M0   ,    GPO   , GPIO_D,  HI    ,   NA       , Wake_Disabled, P_20K_L,   NA    ,    NA,     NA   ,     NA, GPIO_PADBAR+0x00D8,  NORTH),//Feature:DFU                    Net in Sch: NFC_DFU
+  BXT_GPIO_PAD_CONF(L"GPIO_27",                  M0   ,    GPI   ,  NA   ,  NA    ,   NA       , Wake_Disabled, P_20K_L,   NA    ,    NA,     NA   ,     NA, GPIO_PADBAR+0x00D8,  NORTH),//Feature:DFU                    Net in Sch: NFC_DFU
   BXT_GPIO_PAD_CONF(L"GPIO_28",                  M2   ,    NA    ,  NA   ,  NA    ,   NA       , Wake_Disabled, P_20K_L,   NA    ,    NA,IOS_Masked,   SAME, GPIO_PADBAR+0x00E0,  NORTH),//                               Net in Sch: ISH_GPIO10
   BXT_GPIO_PAD_CONF(L"GPIO_29",                  M2   ,    NA    ,  NA   ,  NA    ,   NA       , Wake_Disabled, P_20K_L,   NA    ,    NA,IOS_Masked,   SAME, GPIO_PADBAR+0x00E8,  NORTH),//                               Net in Sch: ISH_GPIO11
   BXT_GPIO_PAD_CONF(L"GPIO_30",                  M1   ,    NA    ,  NA   ,  NA    ,   NA       , Wake_Disabled, P_20K_L,   NA    ,    NA,IOS_Masked,   SAME, GPIO_PADBAR+0x00F0,  NORTH),//                               Net in Sch: ISH_GPIO12
-- 
2.11.0.windows.1



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

* [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 2/4]RTC configuration.
  2017-07-03  8:54 [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 1/4]GPIO configuration zwei4
@ 2017-07-03  8:54 ` zwei4
  2017-07-03  8:54 ` [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 3/4]Setup Change zwei4
  2017-07-03  8:54 ` [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 4/4]VBT change for HDMI zwei4
  2 siblings, 0 replies; 4+ messages in thread
From: zwei4 @ 2017-07-03  8:54 UTC (permalink / raw)
  To: edk2-devel

Cleanup RTC initialization code.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: zwei4 <david.wei@intel.com>
---
 .../Common/Library/PlatformSecLib/PlatformSecLib.c                | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/Platform/BroxtonPlatformPkg/Common/Library/PlatformSecLib/PlatformSecLib.c b/Platform/BroxtonPlatformPkg/Common/Library/PlatformSecLib/PlatformSecLib.c
index e4bee35fb..98e18d4b5 100644
--- a/Platform/BroxtonPlatformPkg/Common/Library/PlatformSecLib/PlatformSecLib.c
+++ b/Platform/BroxtonPlatformPkg/Common/Library/PlatformSecLib/PlatformSecLib.c
@@ -1,7 +1,7 @@
 /** @file
   Null instance of Sec Platform Hook Lib.
 
-  Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>
 
   This program and the accompanying materials
   are licensed and made available under the terms and conditions of the BSD License
@@ -43,12 +43,6 @@ PlatformSecLibConstructor (
 
   DefaultsRestored = FALSE;
 
-  //
-  // Perform a checksum computation and verify if the checksum is correct. If the checksum is incorrect
-  // initialize all the CMOS location to their default values and recalculate the checksum.
-  //
-  InitCmos (FALSE, &DefaultsRestored);
-
   return EFI_SUCCESS;
 }
 
-- 
2.11.0.windows.1



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

* [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 3/4]Setup Change.
  2017-07-03  8:54 [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 1/4]GPIO configuration zwei4
  2017-07-03  8:54 ` [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 2/4]RTC configuration zwei4
@ 2017-07-03  8:54 ` zwei4
  2017-07-03  8:54 ` [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 4/4]VBT change for HDMI zwei4
  2 siblings, 0 replies; 4+ messages in thread
From: zwei4 @ 2017-07-03  8:54 UTC (permalink / raw)
  To: edk2-devel

Change default values of several setup options.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: zwei4 <david.wei@intel.com>
---
 .../Common/PlatformSettings/PlatformSetupDxe/CpuPower.vfi             | 4 ++--
 .../Common/PlatformSettings/PlatformSetupDxe/SouthClusterConfig.vfi   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/CpuPower.vfi b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/CpuPower.vfi
index fe6ba6814..5d5f305f8 100644
--- a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/CpuPower.vfi
+++ b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/CpuPower.vfi
@@ -40,8 +40,8 @@ form formid = CPU_PWR_CONFIGURATION_FORM_ID,
   oneof varid  = Setup.TurboModeEnable,
     prompt = STRING_TOKEN(STR_PROCESSOR_TURBO_MODE),
     help = STRING_TOKEN(STR_PROCESSOR_TURBO_MODE_HELP),
-    option text = STRING_TOKEN(STR_DISABLE),  value = 0, flags = RESET_REQUIRED;
-    option text = STRING_TOKEN(STR_ENABLE),   value = 1, flags = MANUFACTURING |DEFAULT | RESET_REQUIRED;
+    option text = STRING_TOKEN(STR_DISABLE),  value = 0, flags = MANUFACTURING |DEFAULT | RESET_REQUIRED;
+    option text = STRING_TOKEN(STR_ENABLE),   value = 1, flags = RESET_REQUIRED;
   endoneof;
   endif;
 
diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/SouthClusterConfig.vfi b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/SouthClusterConfig.vfi
index f2a09c236..9290c607c 100644
--- a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/SouthClusterConfig.vfi
+++ b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/SouthClusterConfig.vfi
@@ -3010,8 +3010,8 @@ form formid     = HDAUDIO_OPTIONS_FORM_ID,
   oneof varid   = Setup.ScHdAudioIoBufferOwnership,
     prompt      = STRING_TOKEN(STR_HDA_IO_BUFF_PROMPT),
     help        = STRING_TOKEN(STR_HDA_IO_BUFF_HELP),
-    option text = STRING_TOKEN(STR_HDA_HDALINK), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
-    option text = STRING_TOKEN(STR_HDA_I2S), value = 3, flags = RESET_REQUIRED;
+    option text = STRING_TOKEN(STR_HDA_HDALINK), value = 0, flags =  RESET_REQUIRED;
+    option text = STRING_TOKEN(STR_HDA_I2S), value = 3, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
   endoneof;
 
   oneof varid   = Setup.ScHdAudioBiosCfgLockDown,
-- 
2.11.0.windows.1



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

* [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 4/4]VBT change for HDMI.
  2017-07-03  8:54 [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 1/4]GPIO configuration zwei4
  2017-07-03  8:54 ` [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 2/4]RTC configuration zwei4
  2017-07-03  8:54 ` [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 3/4]Setup Change zwei4
@ 2017-07-03  8:54 ` zwei4
  2 siblings, 0 replies; 4+ messages in thread
From: zwei4 @ 2017-07-03  8:54 UTC (permalink / raw)
  To: edk2-devel

VBT change to support HDMI audio.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: zwei4 <david.wei@intel.com>
---
 .../Common/Binaries/Vbt/VbtBxtMipi.bin                | Bin 5632 -> 5632 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/Platform/BroxtonPlatformPkg/Common/Binaries/Vbt/VbtBxtMipi.bin b/Platform/BroxtonPlatformPkg/Common/Binaries/Vbt/VbtBxtMipi.bin
index 21a89410ed949fc862534f3480e1f7c7be2114c7..cc6f2e509af449b0f2eb8adf9536cb1bc6d17702 100644
GIT binary patch
delta 59
zcmZqBY0#M<#k_>UU~(X%@J53IM*d3)3<3fSuQ(VO6c`v77$>i16o-oafr>G0zRIXA
F0syn14M6|^

delta 59
zcmZqBY0#M<#XNz*U~(X%@J53IM*eFF3<3fSuQ(VO6c`v7*e9=N6o-oafr@c#zRIXA
F0syf<4M6|^

-- 
2.11.0.windows.1



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

end of thread, other threads:[~2017-07-03  8:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-03  8:54 [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 1/4]GPIO configuration zwei4
2017-07-03  8:54 ` [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 2/4]RTC configuration zwei4
2017-07-03  8:54 ` [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 3/4]Setup Change zwei4
2017-07-03  8:54 ` [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017 4/4]VBT change for HDMI zwei4

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