Home | History | Annotate | Download | only in PlatformSetupDxe
      1 //
      2 //
      3 // Copyright (c) 2004  - 2015, Intel Corporation. All rights reserved.<BR>
      4 //                                                                                  

      6 // This program and the accompanying materials are licensed and made available under

      8 // the terms and conditions of the BSD License that accompanies this distribution.  

     10 // The full text of the license may be found at                                     

     12 // http://opensource.org/licenses/bsd-license.php.                                  

     14 //                                                                                  

     16 // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,            

     18 // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.    

     20 //                                                                                  

     22 //
     23 //
     24 //
     25 // Module Name:
     26 //
     27 //   SourthClusterConfig.vfi
     28 //
     29 // Abstract:
     30 //
     31 //   Driver Setup formset.
     32 //
     33 //Revision History:
     34 //  ------------------------------------------------------------------------------
     35 //  Rev   Date<MM/DD/YYYY>    Name    Description
     36 //  ------------------------------------------------------------------------------
     37 
     38 // --*/
     39 
     40 //
     41 // South Cluster Configuration Form
     42 //
     43 
     44 form formid = SOUTH_CLUSTER_FORM_ID,
     45   title    = STRING_TOKEN(STR_SOUTH_CLUSTER_TITLE);
     46 
     47   subtitle text = STRING_TOKEN(STR_NULL_STRING);
     48 
     49   //
     50   // Jump to PCIe Configuration Form
     51   //
     52   goto PCIE_DEVICE_OPTIONS_FORM_ID,
     53     prompt = STRING_TOKEN(STR_PCIE_OPTIONS_FORM_TITLE),
     54     help = STRING_TOKEN(STR_PCIE_OPTIONS_FORM_HELP);
     55 
     56   //
     57   // Jump to USB Configuration Form
     58   //
     59   goto USB_OPTIONS_FORM_ID,
     60     prompt = STRING_TOKEN(STR_USB_OPTIONS_FORM_TITLE),
     61     help = STRING_TOKEN(STR_USB_OPTIONS_FORM_HELP);
     62   //
     63   // Jump to Azalia Configuration Form
     64   //
     65   goto AZALIA_OPTIONS_FORM_ID,
     66     prompt = STRING_TOKEN(STR_AZALIA_OPTIONS_FORM_TITLE),
     67     help   = STRING_TOKEN(STR_AZALIA_OPTIONS_FORM_HELP);
     68 
     69   //
     70   // Jump to Drive Configuration Form
     71   //
     72   goto DRIVE_CONFIGURATION_ID,
     73     prompt = STRING_TOKEN(STR_IDE_FORM_TITLE),
     74     help   = STRING_TOKEN(STR_IDE_FORM_HELP);
     75   //
     76   // Jump to LAN Configuration Form
     77   //
     78 
     79   //
     80   // Jump to LPSS Configuration Form
     81   //
     82   goto LPSS_CONFIGURATION_ID,
     83     prompt = STRING_TOKEN(STR_LPSS_SCC_FORM_TITLE),
     84     help   = STRING_TOKEN(STR_LPSS_SCC_FORM_HELP);
     85 
     86   //
     87   // Jump to Misc Configuration Form
     88   //
     89   goto MISC_OPTIONS_FORM_ID,
     90     prompt = STRING_TOKEN(STR_MISC_OPTION_FORM_TITLE),
     91     help   = STRING_TOKEN(STR_MISC_OPTION_FORM_HELP);
     92 endform;
     93 
     94 form formid = PCIE_DEVICE_OPTIONS_FORM_ID,
     95 
     96   title    = STRING_TOKEN(STR_PCIE_OPTIONS_FORM_TITLE);
     97 
     98   subtitle text = STRING_TOKEN(STR_NULL_STRING);
     99 
    100     oneof varid   = Setup.PcieRootPortSpeed[0],
    101       prompt      = STRING_TOKEN (STR_PCIE_SPEED_PROMPT0),
    102       help        = STRING_TOKEN (STR_PCIE_SPEED_HELP),
    103       option text = STRING_TOKEN (STR_AUTO), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    104       option text = STRING_TOKEN (STR_GEN1), value = 1, flags = RESET_REQUIRED;
    105       option text = STRING_TOKEN (STR_GEN2), value = 2, flags = RESET_REQUIRED;
    106     endoneof;
    107     oneof varid   = Setup.PcieRootPortSpeed[1],
    108       prompt      = STRING_TOKEN (STR_PCIE_SPEED_PROMPT1),
    109       help        = STRING_TOKEN (STR_PCIE_SPEED_HELP),
    110       option text = STRING_TOKEN (STR_AUTO), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    111       option text = STRING_TOKEN (STR_GEN1), value = 1, flags = RESET_REQUIRED;
    112       option text = STRING_TOKEN (STR_GEN2), value = 2, flags = RESET_REQUIRED;
    113     endoneof;
    114     oneof varid   = Setup.PcieRootPortSpeed[2],
    115       prompt      = STRING_TOKEN (STR_PCIE_SPEED_PROMPT2),
    116       help        = STRING_TOKEN (STR_PCIE_SPEED_HELP),
    117       option text = STRING_TOKEN (STR_AUTO), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    118       option text = STRING_TOKEN (STR_GEN1), value = 1, flags = RESET_REQUIRED;
    119       option text = STRING_TOKEN (STR_GEN2), value = 2, flags = RESET_REQUIRED;
    120     endoneof;
    121     oneof varid   = Setup.PcieRootPortSpeed[3],
    122       prompt      = STRING_TOKEN (STR_PCIE_SPEED_PROMPT3),
    123       help        = STRING_TOKEN (STR_PCIE_SPEED_HELP),
    124       option text = STRING_TOKEN (STR_AUTO), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    125       option text = STRING_TOKEN (STR_GEN1), value = 1, flags = RESET_REQUIRED;
    126       option text = STRING_TOKEN (STR_GEN2), value = 2, flags = RESET_REQUIRED;
    127     endoneof;
    128   //
    129   //PCIe Port
    130   //
    131   oneof varid  = Setup.IchPciExp[0],
    132     prompt   = STRING_TOKEN(STR_ICH_PCIERP1_PROMPT),
    133     help     = STRING_TOKEN(STR_ICH_PCIERP_HELP),
    134     option text = STRING_TOKEN(STR_ENABLE), value=1, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
    135     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 | RESET_REQUIRED;
    136   endoneof;
    137 
    138   suppressif ideqval Setup.IchPciExp[0] == 0x0;
    139     oneof varid    = Setup.IchPciExp[1],
    140       prompt   = STRING_TOKEN(STR_ICH_PCIERP2_PROMPT),
    141       help     = STRING_TOKEN(STR_ICH_PCIERP_HELP),
    142       option text = STRING_TOKEN(STR_ENABLE), value=1, flags= RESET_REQUIRED;
    143       option text = STRING_TOKEN(STR_DISABLE), value=0, flags= DEFAULT | MANUFACTURING | RESET_REQUIRED;
    144     endoneof;
    145   endif;
    146 
    147   suppressif NOT ideqval Setup.IchPciExp[0] == 0x0;
    148   text
    149     help   = STRING_TOKEN(STR_ICH_PCIERP_HELP),
    150     text   = STRING_TOKEN(STR_ICH_PCIERP2_PROMPT),
    151     text   = STRING_TOKEN(STR_ICH_PCIERP_DISABLE_HELP),
    152     flags  = 0,
    153     key    = 0;
    154   endif;
    155 
    156   suppressif ideqval Setup.IchPciExp[0] == 0x0;
    157     oneof varid    = Setup.IchPciExp[2],
    158       prompt   = STRING_TOKEN(STR_ICH_PCIERP3_PROMPT),
    159       help     = STRING_TOKEN(STR_ICH_PCIERP_HELP),
    160       option text = STRING_TOKEN(STR_ENABLE), value=1, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
    161       option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 | RESET_REQUIRED;
    162     endoneof;
    163   endif;
    164 
    165   suppressif NOT ideqval Setup.IchPciExp[0] == 0x0;
    166   text
    167     help   = STRING_TOKEN(STR_ICH_PCIERP_HELP),
    168     text   = STRING_TOKEN(STR_ICH_PCIERP3_PROMPT),
    169     text   = STRING_TOKEN(STR_ICH_PCIERP_DISABLE_HELP),
    170     flags  = 0,
    171     key    = 0;
    172   endif;
    173 
    174   suppressif ideqval Setup.IchPciExp[0] == 0x0;
    175     oneof varid    = Setup.IchPciExp[3],
    176       prompt   = STRING_TOKEN(STR_ICH_PCIERP4_PROMPT),
    177       help     = STRING_TOKEN(STR_ICH_PCIERP_HELP),
    178       option text = STRING_TOKEN(STR_ENABLE), value=1, flags= DEFAULT | MANUFACTURING | RESET_REQUIRED;
    179       option text = STRING_TOKEN(STR_DISABLE), value=0, flags= 0 | RESET_REQUIRED;
    180     endoneof;
    181   endif;
    182 
    183   suppressif NOT ideqval Setup.IchPciExp[0] == 0x0;
    184   text
    185     help   = STRING_TOKEN(STR_ICH_PCIERP_HELP),
    186     text   = STRING_TOKEN(STR_ICH_PCIERP4_PROMPT),
    187     text   = STRING_TOKEN(STR_ICH_PCIERP_DISABLE_HELP),
    188     flags  = 0,
    189     key    = 0;
    190   endif;
    191 
    192 
    193 endform;
    194 
    195 form formid = USB_OPTIONS_FORM_ID,
    196 
    197   title    = STRING_TOKEN(STR_USB_OPTIONS_FORM_TITLE);
    198 
    199   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    200 
    201   oneof   varid   = Setup.UsbAutoMode,
    202     questionid  = 0x123A,
    203     prompt      = STRING_TOKEN(STR_USB_AUTO_MODE_PROMPT),
    204     help        = STRING_TOKEN(STR_USB_AUTO_MODE_HELP),
    205     flags       = INTERACTIVE,
    206     option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    207     option text = STRING_TOKEN(STR_DISABLE), value = 0, flags =  RESET_REQUIRED;
    208   endoneof;
    209 
    210   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    211   //
    212   //XHCI support
    213   //
    214   grayoutif ideqval Setup.UsbAutoMode == 0x1;
    215   	grayoutif ideqval Setup.PchUsb20 == 0x1;
    216     	oneof   varid   = Setup.UsbXhciSupport,
    217     	  questionid  = 0x123B,
    218       	prompt      = STRING_TOKEN(STR_USB_XHCI_SUPPORT_PROMPT),
    219       	help        = STRING_TOKEN(STR_USB_XHCI_SUPPORT_HELP),
    220       	flags       = INTERACTIVE,
    221       	option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    222       	option text = STRING_TOKEN(STR_DISABLE), value = 0, flags =  RESET_REQUIRED;
    223     	endoneof;
    224 
    225       suppressif ideqval Setup.UsbXhciSupport == 0x0;
    226       	oneof   varid   = Setup.Hsic0,
    227         	prompt      = STRING_TOKEN(STR_USB_HSIC_0_PROMPT),
    228         	help        = STRING_TOKEN(STR_USB_HSIC_0_HELP),
    229         	option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = RESET_REQUIRED;
    230         	option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    231       	endoneof;
    232     	endif;
    233 
    234     	oneof varid   = Setup.PchUsb30Mode,
    235       	prompt      = STRING_TOKEN(STR_PCH_USB30_MODE_PROMPT),
    236       	help        = STRING_TOKEN(STR_PCH_USB30_MODE_HELP),
    237       	option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING |RESET_REQUIRED;
    238       	option text = STRING_TOKEN(STR_DISABLE), value = 0, flags =  RESET_REQUIRED;
    239     	endoneof;
    240 
    241 	oneof   varid   = Setup.UsbXhciLpmSupport,
    242       	prompt      = STRING_TOKEN(STR_USB_XHCI_LPM_SUPPORT_PROMPT),
    243       	help        = STRING_TOKEN(STR_USB_XHCI_LPM_SUPPORT_HELP),
    244 
    245       	option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    246       	option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    247 
    248     	endoneof;
    249   	endif;
    250   endif;
    251 
    252   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    253 
    254   oneof varid   = Setup.PchUsbOtg,
    255     prompt      = STRING_TOKEN(STR_PCH_USB_OTG_PROMPT),
    256     help        = STRING_TOKEN(STR_PCH_USB_OTG_HELP),
    257     option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = DEFAULT | MANUFACTURING |RESET_REQUIRED;
    258     option text = STRING_TOKEN(STR_PCI_MODE_STRING), value = 1, flags =  RESET_REQUIRED;
    259   endoneof;
    260 
    261   oneof varid   = Setup.PchUsbVbusOn,
    262     prompt      = STRING_TOKEN(STR_PCH_USB_VBUS_PROMPT),
    263     help        = STRING_TOKEN(STR_PCH_USB_VBUS_HELP),
    264     option text = STRING_TOKEN(STR_OFF), value = 0, flags = RESET_REQUIRED;
    265     option text = STRING_TOKEN(STR_ON), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    266     option text = STRING_TOKEN(STR_AUTO), value = 2, flags = RESET_REQUIRED;
    267   endoneof;
    268   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    269 
    270   //
    271   //EHCI support
    272   //
    273   grayoutif ideqval Setup.UsbAutoMode == 0x1;
    274     grayoutif ideqval Setup.UsbXhciSupport == 0x1;
    275       oneof   varid   = Setup.PchUsb20,
    276         questionid  = 0x123C,
    277         prompt   = STRING_TOKEN(STR_PCH_USB21_PROMPT),
    278         help     = STRING_TOKEN(STR_PCH_USB2_HELP),
    279         flags    = INTERACTIVE,
    280         option text = STRING_TOKEN(STR_ENABLE), value = 1, flags =  RESET_REQUIRED;
    281         option text = STRING_TOKEN(STR_DISABLE), value= 0, flags= DEFAULT | MANUFACTURING |RESET_REQUIRED;
    282       endoneof;
    283 
    284       oneof varid  = Setup.PchUsbRmh,
    285         prompt   = STRING_TOKEN(STR_PCH_USBRMH_PROMPT),
    286         help     = STRING_TOKEN(STR_PCH_USBRMH_HELP),
    287         option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    288         option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    289       endoneof;
    290 
    291       oneof varid  = Setup.PchEhciDebug,
    292         prompt   = STRING_TOKEN(STR_PCH_USB_EHCIDEBUG_PROMPT),
    293         help     = STRING_TOKEN(STR_PCH_USB_EHCIDEBUG_HELP),
    294         option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    295         option text = STRING_TOKEN(STR_ENABLE),  value = 1, flags = RESET_REQUIRED;
    296       endoneof;
    297 
    298       suppressif TRUE;
    299         oneof varid   = Setup.EhciPllCfgEnable,
    300         prompt      = STRING_TOKEN(STR_EHCI_PLL_CFG_PROMPT),
    301         help        = STRING_TOKEN(STR_EHCI_PLL_CFG_RTD3_DIS_HELP),
    302         option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    303         option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    304         endoneof;
    305       endif;
    306     endif;
    307 
    308     //
    309     // Usb ports per-port disable control enable
    310     //
    311     oneof varid   = Setup.PchUsbPerPortCtl,
    312       prompt      = STRING_TOKEN(STR_PCH_USB_PER_PORT_PROMPT),
    313       help        = STRING_TOKEN(STR_PCH_USB_PER_PORT_HELP),
    314       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    315       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    316     endoneof;
    317 
    318     suppressif ideqval Setup.PchUsbPerPortCtl == 0x0;
    319       oneof varid  = Setup.PchUsbPort[0],
    320       prompt   = STRING_TOKEN(STR_PCH_USB_PORT0_PROMPT),
    321       help     = STRING_TOKEN(STR_PCH_USB_PORT_DIS_HELP),
    322       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    323       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    324       endoneof;
    325 
    326       oneof varid  = Setup.PchUsbPort[1],
    327       prompt   = STRING_TOKEN(STR_PCH_USB_PORT1_PROMPT),
    328       help     = STRING_TOKEN(STR_PCH_USB_PORT_DIS_HELP),
    329       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    330       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    331       endoneof;
    332 
    333       oneof varid  = Setup.PchUsbPort[2],
    334       prompt   = STRING_TOKEN(STR_PCH_USB_PORT2_PROMPT),
    335       help     = STRING_TOKEN(STR_PCH_USB_PORT_DIS_HELP),
    336       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    337       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    338       endoneof;
    339 
    340       oneof varid  = Setup.PchUsbPort[3],
    341       prompt   = STRING_TOKEN(STR_PCH_USB_PORT3_PROMPT),
    342       help     = STRING_TOKEN(STR_PCH_USB_PORT_DIS_HELP),
    343       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    344       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    345       endoneof;
    346     endif;
    347 
    348 
    349   endif;
    350 
    351 endform;
    352 
    353 //
    354 // SATA Controller
    355 //
    356 form formid = DRIVE_CONFIGURATION_ID,
    357 
    358   title    = STRING_TOKEN(STR_IDE_FORM_TITLE);
    359 
    360   //
    361   // Title on Drive Configuration Page
    362   //
    363   text
    364     help   = STRING_TOKEN(STR_NULL_STRING),
    365     text   = STRING_TOKEN(STR_IDE_FORM_TITLE),
    366     text   = STRING_TOKEN(STR_NULL_STRING),
    367     flags  = 0,
    368     key    = 0;
    369 
    370   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    371 
    372   subtitle text = STRING_TOKEN(STR_CHIPSET_SATA_STRING);
    373 
    374   oneof varid   = Setup.Sata,
    375     prompt      = STRING_TOKEN(STR_SATA_PROMPT),
    376     help        = STRING_TOKEN(STR_SATA_HELP),
    377     option text = STRING_TOKEN(STR_ENABLE), value=1, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
    378     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 | RESET_REQUIRED;
    379   endoneof;
    380 
    381     oneof varid   = Setup.SataTestMode,
    382       prompt      = STRING_TOKEN(STR_SATA_TEST_MODE_PROMPT),
    383       help        = STRING_TOKEN(STR_SATA_TEST_MODE_HELP),
    384       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = RESET_REQUIRED;
    385       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    386     endoneof;
    387 
    388   suppressif ideqval Setup.Sata == 0x00;
    389     oneof varid   = Setup.SataType,
    390       prompt      = STRING_TOKEN(STR_SATA_TYPE_PROMPT),
    391       help        = STRING_TOKEN(STR_SATA_TYPE_HELP1),
    392       option text = STRING_TOKEN(STR_SATA_IDE), value = 0, flags = RESET_REQUIRED;
    393       option text = STRING_TOKEN(STR_SATA_AHCI), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    394     endoneof;
    395 
    396     text
    397       help   = STRING_TOKEN(STR_NULL_STRING),
    398       text   = STRING_TOKEN(STR_SATA0_STRING),
    399       text   = STRING_TOKEN(STR_SATA0_NAME),
    400       flags  = 0,
    401       key    = 0;
    402 
    403     text
    404       help   = STRING_TOKEN(STR_NULL_STRING),
    405       text   = STRING_TOKEN(STR_SATA1_STRING),
    406       text   = STRING_TOKEN(STR_SATA1_NAME),
    407       flags  = 0,
    408       key    = 0;
    409 
    410     suppressif ideqval Setup.SataType == 0x0;
    411       oneof varid   = Setup.Sata0HotPlugCap,
    412         prompt      = STRING_TOKEN(STR_SATA0_HOTPLUG_CAP_PROMPT),
    413         help        = STRING_TOKEN(STR_SATA_HOTPLUG_CAP_HELP),
    414         option text = STRING_TOKEN(STR_ENABLE), value= 1, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
    415         option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 | RESET_REQUIRED;
    416       endoneof;
    417 
    418       oneof varid   = Setup.Sata1HotPlugCap,
    419         prompt      = STRING_TOKEN(STR_SATA1_HOTPLUG_CAP_PROMPT),
    420         help        = STRING_TOKEN(STR_SATA_HOTPLUG_CAP_HELP),
    421         option text = STRING_TOKEN(STR_ENABLE), value= 1, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
    422         option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 | RESET_REQUIRED;
    423       endoneof;
    424     endif;
    425 
    426   endif;  //SATA enable
    427 
    428 endform;
    429 
    430 form formid = LPSS_CONFIGURATION_ID,
    431 
    432   title    = STRING_TOKEN(STR_LPSS_SCC_FORM_TITLE);
    433 
    434   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    435   oneof varid   = Setup.LpssPciModeEnabled,
    436     prompt      = STRING_TOKEN(STR_LPSS_PCI_PROMPT),
    437     help        = STRING_TOKEN(STR_LPSS_PCI_HELP),
    438     option text = STRING_TOKEN(STR_ACPI_MODE), value=0, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
    439     option text = STRING_TOKEN(STR_PCI_MODE), value=1, flags=0| RESET_REQUIRED;
    440   endoneof;
    441   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    442 
    443   subtitle text = STRING_TOKEN(STR_SCC_SETTING_SUBTITLE);
    444   oneof varid   = Setup.eMMCBootMode,
    445     prompt      = STRING_TOKEN(STR_EMMC_BOOT_PROMPT),
    446     help        = STRING_TOKEN(STR_EMMC_BOOT_HELP),
    447     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 | RESET_REQUIRED;
    448     option text = STRING_TOKEN(STR_AUTO_DETECT), value=1, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
    449     option text = STRING_TOKEN(STR_EMMC_BOOT_41), value=2, flags=0 | RESET_REQUIRED;
    450     option text = STRING_TOKEN(STR_EMMC_BOOT_45), value=3, flags=0 | RESET_REQUIRED;
    451   endoneof;
    452 
    453 
    454 
    455    oneof varid   = Setup.SecureErase,
    456     questionid  = 0x1240,
    457     prompt      = STRING_TOKEN(STR_SECURE_ERASE_PROMPT),
    458     help        = STRING_TOKEN(STR_SECURE_ERASE_HELP),
    459     flags       = INTERACTIVE,
    460     option text = STRING_TOKEN(STR_DISABLE), value=0, flags= DEFAULT |MANUFACTURING | RESET_REQUIRED;
    461     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= RESET_REQUIRED;
    462   endoneof;
    463 
    464 
    465 
    466    subtitle text = STRING_TOKEN(STR_NULL_STRING);
    467 grayoutif NOT ideqval Setup.eMMCBootMode == 0x3;
    468   oneof varid   = Setup.LpsseMMC45Enabled,
    469     prompt      = STRING_TOKEN(STR_SCC_EMMC45_PROMPT),
    470     help        = STRING_TOKEN(STR_SCC_EMMC45_HELP),
    471     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 | MANUFACTURING | RESET_REQUIRED;
    472     option text = STRING_TOKEN(STR_ENABLE), value=1, flags=DEFAULT | RESET_REQUIRED;
    473   endoneof;
    474   oneof varid   = Setup.LpsseMMC45DDR50Enabled,
    475     prompt      = STRING_TOKEN(STR_SCC_EMMC45_DDR50_PROMPT),
    476     help        = STRING_TOKEN(STR_SCC_EMMC45_DDR50_HELP),
    477     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 | MANUFACTURING | RESET_REQUIRED;
    478     option text = STRING_TOKEN(STR_ENABLE), value=1, flags=DEFAULT | RESET_REQUIRED;
    479   endoneof;
    480     oneof varid   = Setup.LpsseMMC45HS200Enabled,
    481     prompt      = STRING_TOKEN(STR_SCC_EMMC45_HS200_PROMPT),
    482     help        = STRING_TOKEN(STR_SCC_EMMC45_HS200_HELP),
    483     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 | MANUFACTURING | RESET_REQUIRED;
    484     option text = STRING_TOKEN(STR_ENABLE), value=1, flags=DEFAULT| RESET_REQUIRED;
    485   endoneof;
    486 
    487   grayoutif ideqval Setup.LpsseMMC45DDR50Enabled == 0x1;
    488   oneof varid  = Setup.LpsseMMC45RetuneTimerValue,
    489     prompt = STRING_TOKEN(STR_SCC_EMMC45_RE_TUNE_TIMER_VALUE),
    490     help   = STRING_TOKEN(STR_SCC_EMMC45_RE_TUNE_TIMER_VALUE_HELP),
    491     option text = STRING_TOKEN(STR_EMMC45_TIMER_0), value = 0, flags = RESET_REQUIRED;
    492     option text = STRING_TOKEN(STR_EMMC45_TIMER_1), value =1, flags = RESET_REQUIRED;
    493     option text = STRING_TOKEN(STR_EMMC45_TIMER_2), value =2, flags = RESET_REQUIRED;
    494     option text = STRING_TOKEN(STR_EMMC45_TIMER_3), value =3, flags = RESET_REQUIRED;
    495     option text = STRING_TOKEN(STR_EMMC45_TIMER_4), value =4, flags = RESET_REQUIRED;
    496     option text = STRING_TOKEN(STR_EMMC45_TIMER_5), value =5, flags = RESET_REQUIRED;
    497     option text = STRING_TOKEN(STR_EMMC45_TIMER_6), value =6, flags = RESET_REQUIRED;
    498     option text = STRING_TOKEN(STR_EMMC45_TIMER_7), value =7, flags = RESET_REQUIRED;
    499     option text = STRING_TOKEN(STR_EMMC45_TIMER_8), value =8, flags = MANUFACTURING| DEFAULT|RESET_REQUIRED;
    500     option text = STRING_TOKEN(STR_EMMC45_TIMER_9), value =9, flags = RESET_REQUIRED;
    501     option text = STRING_TOKEN(STR_EMMC45_TIMER_10), value =10, flags = RESET_REQUIRED;
    502     option text = STRING_TOKEN(STR_EMMC45_TIMER_11), value =11, flags = RESET_REQUIRED;
    503     option text = STRING_TOKEN(STR_EMMC45_TIMER_12), value =12, flags = RESET_REQUIRED;
    504     option text = STRING_TOKEN(STR_EMMC45_TIMER_13), value =13, flags = RESET_REQUIRED;
    505     option text = STRING_TOKEN(STR_EMMC45_TIMER_14), value =14, flags = RESET_REQUIRED;
    506     option text = STRING_TOKEN(STR_EMMC45_TIMER_15), value =15, flags = RESET_REQUIRED;
    507   endoneof;
    508   endif;    // grayoutif ideqval Setup.LpsseMMC45DDR50Enabled == 0x1;
    509  endif;     // grayoutif NOT ideqval Setup.eMMCBootMode == 0x1;
    510 
    511   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    512   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    513   oneof varid   = Setup.LpssSdioEnabled,
    514     prompt      = STRING_TOKEN(STR_SCC_SDIO_PROMPT),
    515     help        = STRING_TOKEN(STR_SCC_SDIO_HELP),
    516     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 | RESET_REQUIRED;
    517     option text = STRING_TOKEN(STR_ENABLE), value=1, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
    518   endoneof;
    519 
    520   oneof varid   = Setup.LpssSdcardEnabled,
    521     prompt      = STRING_TOKEN(STR_SCC_SDCARD_PROMPT),
    522     help        = STRING_TOKEN(STR_SCC_SDCARD_HELP),
    523     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 | RESET_REQUIRED;
    524     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= DEFAULT|MANUFACTURING | RESET_REQUIRED;
    525   endoneof;
    526 
    527 
    528 grayoutif NOT ideqval Setup.LpssSdcardEnabled == 0x1;
    529   grayoutif ideqval Setup.LpssSdCardDDR50Enabled == 0x1;
    530   oneof varid   = Setup.LpssSdCardSDR25Enabled,
    531     prompt      = STRING_TOKEN(STR_SCC_SD_SDR25_PROMPT),
    532     help        = STRING_TOKEN(STR_SCC_SD_SDR25_HELP),
    533     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
    534     option text = STRING_TOKEN(STR_ENABLE), value=1, flags=0 | RESET_REQUIRED;
    535   endoneof;
    536   endif; // grayoutif ideqval Setup.LpsseMMC45DDR50Enabled == 0x1;
    537 
    538   grayoutif ideqval Setup.LpssSdCardSDR25Enabled == 0x1;
    539     oneof varid   = Setup.LpssSdCardDDR50Enabled,
    540     prompt      = STRING_TOKEN(STR_SCC_SD_DDR50_PROMPT),
    541     help        = STRING_TOKEN(STR_SCC_SD_DDR50_HELP),
    542     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
    543     option text = STRING_TOKEN(STR_ENABLE), value=1, flags=0 | RESET_REQUIRED;
    544     endoneof;
    545   endif; // grayoutif ideqval Setup.LpssSdCardSDR25Enabled == 0x1;
    546 
    547   oneof varid   = Setup.SdCardRemovable,
    548     prompt      = STRING_TOKEN(STR_SCC_SDCARD_REMOVABILITY),
    549     help        = STRING_TOKEN(STR_SCC_SDCARD_REMOVABILITY_HELP),
    550     option text = STRING_TOKEN(STR_SCC_SDCARD_NON_REMOVABLE), value=0, flags=0 | RESET_REQUIRED;
    551     option text = STRING_TOKEN(STR_SCC_SDCARD_REMOVABLE), value=1, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
    552   endoneof;
    553 
    554 endif;     // grayoutif NOT ideqval Setup.LpssSdcardEnabled == 0x1;
    555 
    556 
    557 
    558   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    559 
    560   subtitle text = STRING_TOKEN(STR_LPSS1_SETTING_SUBTITLE);
    561 
    562   oneof varid   = Setup.LpssDma0Enabled,
    563     prompt      = STRING_TOKEN(STR_LPSS_DMA1_PROMPT),
    564     help        = STRING_TOKEN(STR_LPSS_DMA1_HELP),
    565     flags       = INTERACTIVE,
    566     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 | RESET_REQUIRED;
    567     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= DEFAULT | MANUFACTURING | RESET_REQUIRED;
    568   endoneof;
    569 
    570   grayoutif ideqval Setup.LpssDma0Enabled == 0x00;
    571   oneof varid   = Setup.LpssHsuart0Enabled,
    572     prompt      = STRING_TOKEN(STR_LPSS_HSUART1_PROMPT),
    573     help        = STRING_TOKEN(STR_LPSS_HSUART1_HELP_ENBDT_DEV_LIST),
    574     option text = STRING_TOKEN(STR_DISABLE), value=0, flags= MANUFACTURING  | RESET_REQUIRED;
    575     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= 0 | DEFAULT | RESET_REQUIRED;
    576   endoneof;
    577   endif;
    578 
    579   //Add control flow
    580   grayoutif ideqval Setup.LpssHsuart0Enabled == 0x00;
    581   oneof varid   = Setup.LpssHsuart0FlowControlEnabled,
    582     prompt      = STRING_TOKEN(STR_LPSS_HSUART1_FLOWCONTROL_PROMPT),
    583     help        = STRING_TOKEN(STR_LPSS_HSUART1_HELP_ENBDT_DEV_LIST),
    584     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 |DEFAULT | RESET_REQUIRED;
    585     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= MANUFACTURING  | RESET_REQUIRED;
    586   endoneof;
    587   endif;
    588 
    589   grayoutif ideqval Setup.LpssDma0Enabled == 0x00;
    590   oneof varid   = Setup.LpssHsuart1Enabled,
    591     prompt      = STRING_TOKEN(STR_LPSS_HSUART2_PROMPT),
    592     help        = STRING_TOKEN(STR_LPSS_HSUART2_HELP_ENBDT_DEV_LIST),
    593     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=MANUFACTURING  | RESET_REQUIRED;
    594     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= 0 | DEFAULT | RESET_REQUIRED;
    595   endoneof;
    596   endif;
    597 
    598   //Add control flow
    599   grayoutif ideqval Setup.LpssHsuart1Enabled == 0x00;
    600   oneof varid   = Setup.LpssHsuart1FlowControlEnabled,
    601     prompt      = STRING_TOKEN(STR_LPSS_HSUART2_FLOWCONTROL_PROMPT),
    602     help        = STRING_TOKEN(STR_LPSS_HSUART1_HELP_ENBDT_DEV_LIST),
    603     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 |DEFAULT | RESET_REQUIRED;
    604     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= MANUFACTURING  | RESET_REQUIRED;
    605   endoneof;
    606   endif;
    607 
    608 
    609   grayoutif ideqval Setup.LpssDma0Enabled == 0x00;
    610   oneof varid   = Setup.LpssPwm0Enabled,
    611     prompt      = STRING_TOKEN(STR_PWM1_PROMPT),
    612     help        = STRING_TOKEN(STR_PWM1_HELP),
    613     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=MANUFACTURING  | RESET_REQUIRED;
    614     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= 0 | DEFAULT | RESET_REQUIRED;
    615   endoneof;
    616   endif;
    617 
    618   grayoutif ideqval Setup.LpssDma0Enabled == 0x00;
    619   oneof varid   = Setup.LpssPwm1Enabled,
    620     prompt      = STRING_TOKEN(STR_PWM2_PROMPT),
    621     help        = STRING_TOKEN(STR_PWM2_HELP),
    622     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=MANUFACTURING  | RESET_REQUIRED;
    623     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= 0 | DEFAULT | RESET_REQUIRED;
    624   endoneof;
    625   endif;
    626 
    627   grayoutif ideqval Setup.LpssDma0Enabled == 0x00;
    628   oneof varid   = Setup.LpssSpiEnabled,
    629     prompt      = STRING_TOKEN(STR_LPSS_SPI_PROMPT),
    630     help        = STRING_TOKEN(STR_LPSS_SPI_HELP),
    631     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=MANUFACTURING  | RESET_REQUIRED;
    632     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= 0 |DEFAULT | RESET_REQUIRED;
    633   endoneof;
    634   endif;
    635 
    636   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    637 
    638   subtitle text = STRING_TOKEN(STR_LPSS2_SETTING_SUBTITLE);
    639 
    640   oneof varid   = Setup.LpssDma1Enabled,
    641     prompt      = STRING_TOKEN(STR_LPSS_DMA2_PROMPT),
    642     help        = STRING_TOKEN(STR_LPSS_DMA2_HELP),
    643     flags       = INTERACTIVE,
    644     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 |RESET_REQUIRED;
    645     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= DEFAULT | MANUFACTURING | RESET_REQUIRED;
    646   endoneof;
    647 
    648 /*
    649   grayoutif ideqval Setup.LpssDma1Enabled == 0x00;
    650   oneof varid   = Setup.LpssI2C0Enabled,
    651     prompt      = STRING_TOKEN(STR_LPSS_I2C1_PROMPT),
    652     help        = STRING_TOKEN(STR_LPSS_I2C1_HELP_ENBDT_DEV_LIST),
    653     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 |DEFAULT |RESET_REQUIRED;
    654     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= MANUFACTURING | RESET_REQUIRED;
    655   endoneof;
    656   endif;
    657 
    658 
    659   grayoutif ideqval Setup.LpssDma1Enabled == 0x00;
    660   oneof varid   = Setup.LpssI2C1Enabled,
    661     prompt      = STRING_TOKEN(STR_LPSS_I2C2_PROMPT),
    662     help        = STRING_TOKEN(STR_LPSS_I2C2_HELP_ENBDT_DEV_LIST),
    663     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 |DEFAULT | RESET_REQUIRED;
    664     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= MANUFACTURING | RESET_REQUIRED;
    665   endoneof;
    666   endif;
    667 
    668   grayoutif ideqval Setup.LpssDma1Enabled == 0x00;
    669   oneof varid   = Setup.LpssI2C2Enabled,
    670     prompt      = STRING_TOKEN(STR_LPSS_I2C3_PROMPT),
    671     help        = STRING_TOKEN(STR_LPSS_I2C3_HELP_ENBDT_DEV_LIST),
    672     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 |DEFAULT | RESET_REQUIRED;
    673     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= MANUFACTURING | RESET_REQUIRED;
    674   endoneof;
    675   endif;
    676 
    677   grayoutif ideqval Setup.LpssDma1Enabled == 0x00;
    678   oneof varid   = Setup.LpssI2C3Enabled,
    679     prompt      = STRING_TOKEN(STR_LPSS_I2C4_PROMPT),
    680     help        = STRING_TOKEN(STR_LPSS_I2C4_HELP_ENBDT_DEV_LIST),
    681     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 |DEFAULT | RESET_REQUIRED;
    682     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= MANUFACTURING | RESET_REQUIRED;
    683   endoneof;
    684   endif;
    685 
    686   grayoutif ideqval Setup.LpssDma1Enabled == 0x00;
    687   oneof varid   = Setup.LpssI2C4Enabled,
    688     prompt      = STRING_TOKEN(STR_LPSS_I2C5_PROMPT),
    689     help        = STRING_TOKEN(STR_LPSS_I2C5_HELP_ENBDT_DEV_LIST),
    690     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 |DEFAULT | RESET_REQUIRED;
    691     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= MANUFACTURING | RESET_REQUIRED;
    692   endoneof;
    693   endif;
    694 */
    695   grayoutif ideqval Setup.LpssDma1Enabled == 0x00;
    696   oneof varid   = Setup.LpssI2C5Enabled,
    697     prompt      = STRING_TOKEN(STR_LPSS_I2C6_PROMPT),
    698     help        = STRING_TOKEN(STR_LPSS_I2C6_HELP_ENBDT_DEV_LIST),
    699     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 |RESET_REQUIRED;
    700     option text = STRING_TOKEN(STR_ENABLE), value=1, flags=  DEFAULT |MANUFACTURING | RESET_REQUIRED;
    701   endoneof;
    702   endif;
    703 
    704   grayoutif ideqval Setup.LpssDma1Enabled == 0x00;
    705   oneof varid   = Setup.LpssI2C6Enabled,
    706     prompt      = STRING_TOKEN(STR_LPSS_I2C7_PROMPT),
    707     help        = STRING_TOKEN(STR_LPSS_I2C7_HELP_ENBDT_DEV_LIST),
    708     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=0 |RESET_REQUIRED;
    709     option text = STRING_TOKEN(STR_ENABLE), value=1, flags= DEFAULT | MANUFACTURING | RESET_REQUIRED;
    710   endoneof;
    711   endif;
    712 
    713   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    714 
    715   subtitle text = STRING_TOKEN(STR_I2C_DEVICE_SETTING_SUBTITLE);
    716 
    717   oneof varid   = Setup.I2CTouchAd,
    718     prompt      = STRING_TOKEN(STR_I2C_TOUCH_PROMPT),
    719     help        = STRING_TOKEN(STR_I2C_TOUCH_HELP),
    720     option text = STRING_TOKEN(STR_AUTO), value=0, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
    721     option text = STRING_TOKEN(STR_I2C_FVP), value=0x4B, flags=0 | RESET_REQUIRED;
    722     option text = STRING_TOKEN(STR_I2C_FFRD), value=0x4A, flags=0 | RESET_REQUIRED;
    723   endoneof;
    724 
    725  subtitle text = STRING_TOKEN(STR_NULL_STRING);
    726 
    727  oneof varid = Setup.SAR1,
    728     prompt         = STRING_TOKEN(STR_SAR_SENSOR_PROMPT),
    729     help           = STRING_TOKEN(STR_SAR_SENSOR_HELP),
    730     option text    = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING |RESET_REQUIRED;
    731     option text    = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    732   endoneof;
    733 endform;
    734 
    735 
    736 //
    737 //LAN Controller
    738 //
    739 form formid = LAN_OPTIONS_FORM_ID,
    740 
    741   title    = STRING_TOKEN(STR_LAN_OPTIONS_FORM_TITLE);
    742 
    743   subtitle text = STRING_TOKEN(STR_LAN_OPTIONS_FORM_TITLE);
    744 
    745   oneof varid = Setup.Lan,
    746     prompt   = STRING_TOKEN(STR_PCH_LAN_CONTROLLER),
    747     help     = STRING_TOKEN(STR_PCH_LAN_CONTROLLER_HELP),
    748     option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = RESET_REQUIRED;
    749     option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    750   endoneof;
    751 
    752   suppressif ideqval Setup.Lan == 0;
    753     oneof varid = Setup.WakeOnLanS5,
    754       prompt   = STRING_TOKEN(STR_PCH_LAN_WOL_PROMPT),
    755       help     = STRING_TOKEN(STR_PCH_LAN_WOL_HELP),
    756       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags =  DEFAULT | MANUFACTURING | RESET_REQUIRED;
    757       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    758     endoneof;
    759 
    760     oneof varid = Setup.SlpLanLowDc,
    761       prompt   = STRING_TOKEN(STR_PCH_SLP_LAN_LOW_DC_PROMPT),
    762       help     = STRING_TOKEN(STR_PCH_SLP_LAN_LOW_DC_HELP),
    763       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags =  DEFAULT | MANUFACTURING | RESET_REQUIRED;
    764       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    765     endoneof;
    766 
    767     oneof varid = Setup.BootNetwork,
    768       prompt   = STRING_TOKEN(STR_PCH_PXEROM_CONTROL),
    769       help     = STRING_TOKEN(STR_PCH_PXEROM_CONTROL_HELP),
    770       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags =  RESET_REQUIRED;
    771       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = DEFAULT | MANUFACTURING |RESET_REQUIRED;
    772     endoneof;
    773   endif;
    774 
    775 endform;
    776 
    777 //
    778 // Azalia Configuration
    779 //
    780 form formid = AZALIA_OPTIONS_FORM_ID,
    781 
    782   title    = STRING_TOKEN(STR_AZALIA_OPTIONS_FORM_TITLE);
    783 
    784   subtitle text = STRING_TOKEN(STR_AZALIA_OPTIONS_FORM_TITLE);
    785   oneof varid   = Setup.Lpe,
    786       prompt      = STRING_TOKEN(STR_LPE_PROMPT),
    787       help        = STRING_TOKEN(STR_LPE_HELP),
    788       option text = STRING_TOKEN(STR_DISABLE), value=0, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
    789       option text = STRING_TOKEN(STR_LPE_PCI_MODE), value=1, flags=0 | RESET_REQUIRED;
    790       option text = STRING_TOKEN(STR_LPE_ACPI_MODE), value=2, flags=0 | RESET_REQUIRED;
    791   endoneof;
    792 
    793   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    794   suppressif ideqval Setup.AzaliaDs == 0x1;
    795     oneof varid  = Setup.PchAzalia,
    796       prompt   = STRING_TOKEN(STR_PCH_AZALIA_PROMPT),
    797       help     = STRING_TOKEN(STR_PCH_AZALIA_HELP),
    798       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = 0 | RESET_REQUIRED;
    799       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    800     endoneof;
    801   endif;
    802 
    803   suppressif ideqval Setup.AzaliaDs == 0x0;
    804     text
    805       help   = STRING_TOKEN(STR_PCH_AZALIA_DS_SUPPORT),
    806       text   = STRING_TOKEN(STR_PCH_AZALIA_PROMPT),
    807       text   = STRING_TOKEN(STR_ENABLE),
    808       flags  = 0,
    809       key    = 0;
    810   endif;
    811 
    812   suppressif ideqval Setup.PchAzalia == 0x0;
    813     oneof varid  = Setup.AzaliaVCiEnable,
    814       prompt   = STRING_TOKEN(STR_AZALIA_VC_PROMPT),
    815       help     = STRING_TOKEN(STR_AZALIA_VC_HELP),
    816       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    817       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    818     endoneof;
    819   endif;
    820 
    821   suppressif ideqval Setup.PchAzalia == 0x0;
    822     oneof varid  = Setup.AzaliaDs,
    823       prompt   = STRING_TOKEN(STR_AZALIA_DS_PROMPT),
    824       help     = STRING_TOKEN(STR_AZALIA_DS_HELP),
    825       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    826       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = RESET_REQUIRED;
    827     endoneof;
    828   endif;
    829 
    830   suppressif ideqval Setup.PchAzalia == 0x0;
    831     oneof varid  = Setup.AzaliaPme,
    832       prompt   = STRING_TOKEN(STR_AZALIA_PME_PROMPT),
    833       help     = STRING_TOKEN(STR_AZALIA_PME_HELP),
    834       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    835       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    836     endoneof;
    837 
    838     oneof varid  = Setup.HdmiCodec,
    839       prompt   = STRING_TOKEN(STR_HDMI_CODEC_PROMPT),
    840       help     = STRING_TOKEN(STR_HDMI_CODEC_HELP),
    841       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    842       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    843     endoneof;
    844   endif;
    845 
    846 endform;
    847 
    848 //
    849 //  Misc Configuration
    850 //
    851 form formid = MISC_OPTIONS_FORM_ID,
    852 
    853   title    = STRING_TOKEN(STR_MISC_OPTION_FORM_TITLE);
    854 
    855   subtitle text = STRING_TOKEN(STR_MISC_OPTION_FORM_TITLE);
    856   //
    857   // HPET Disable/Enable
    858   //
    859   oneof   varid   = Setup.Hpet,
    860     prompt      = STRING_TOKEN(STR_HPET_PROMPT),
    861     help        = STRING_TOKEN(STR_HPET_HELP),
    862     option text = STRING_TOKEN(STR_DISABLE), value=0x00, flags=RESET_REQUIRED;
    863     option text = STRING_TOKEN(STR_ENABLE), value=0x01, flags=DEFAULT | RESET_REQUIRED;
    864   endoneof;
    865 
    866   oneof varid  = Setup.StateAfterG3,
    867      prompt   = STRING_TOKEN(STR_STATE_AFTER_G3),
    868      help     = STRING_TOKEN(STR_STATE_AFTER_G3_HELP),
    869      option text = STRING_TOKEN(STR_S0_AFTER_G3_STRING), value = 0, flags = DEFAULT | RESET_REQUIRED;
    870      option text = STRING_TOKEN(STR_S5_AFTER_G3_STRING), value = 1, flags = MANUFACTURING | RESET_REQUIRED;
    871   endoneof;
    872 
    873   oneof varid  = Setup.EnableClockSpreadSpec,
    874      prompt   = STRING_TOKEN(STR_CLOCK_SPREAD_SPEC_ENABLE),
    875      help     = STRING_TOKEN(STR_CLOCK_SPREAD_SPEC_ENABLE_HELP),
    876      option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    877      option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = RESET_REQUIRED;
    878   endoneof;
    879 
    880 
    881   oneof varid  = Setup.UartInterface,
    882     prompt   = STRING_TOKEN(STR_PCH_UART_SELECT),
    883     help     = STRING_TOKEN(STR_PCH_UART_SELECT_HELP),
    884     option text = STRING_TOKEN(STR_UART_SELECT_PCU), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    885     option text = STRING_TOKEN(STR_UART_SELECT_SIO), value = 1, flags = RESET_REQUIRED;
    886   endoneof;
    887 
    888   suppressif ideqval Setup.LpssHsuart0Enabled == 1 OR ideqval Setup.UartInterface == 1;
    889     oneof varid  = Setup.PcuUart1,
    890       prompt   = STRING_TOKEN(STR_PCU_UART_A),
    891       help     = STRING_TOKEN(STR_PCU_UART_A_HELP),
    892       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    893       option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    894     endoneof;
    895   endif;
    896 
    897   oneof varid = Setup.SpiRwProtect,
    898     prompt         = STRING_TOKEN(STR_PCH_SPI_WP_PROMPT),
    899     help           = STRING_TOKEN(STR_PCH_SPI_WP_HELP),
    900     option text    = STRING_TOKEN(STR_PCH_SPI_WP_DISABLE), value = 0, flags = DEFAULT | MANUFACTURING |RESET_REQUIRED;
    901     option text    = STRING_TOKEN(STR_PCH_SPI_WP_ENABLE), value = 1, flags = RESET_REQUIRED;
    902   endoneof;
    903 
    904   oneof varid = Setup.MmioSize,
    905     prompt         = STRING_TOKEN(STR_MMIO_PROMPT),
    906     help           = STRING_TOKEN(STR_MMIO_HELP),
    907     option text    = STRING_TOKEN(STR_MMIO_0_75G_STRING), value = 0, flags = RESET_REQUIRED;
    908     option text    = STRING_TOKEN(STR_MMIO_1G_STRING), value = 1, flags = RESET_REQUIRED;
    909     option text    = STRING_TOKEN(STR_MMIO_1_25G_STRING), value = 2, flags = RESET_REQUIRED;
    910     option text    = STRING_TOKEN(STR_MMIO_1_5G_STRING), value = 3, flags = RESET_REQUIRED;
    911     option text    = STRING_TOKEN(STR_MMIO_2G_STRING), value = 4, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    912   endoneof;
    913 
    914   oneof varid = Setup.PcieDynamicGating,
    915     prompt         = STRING_TOKEN(STR_PCIEDYNCLK_PROMPT),
    916     help           = STRING_TOKEN(STR_PCIEDYNCLK_HELP),
    917     option text    = STRING_TOKEN(STR_DISABLE), value = 0, flags = DEFAULT | MANUFACTURING |RESET_REQUIRED;
    918     option text    = STRING_TOKEN(STR_ENABLE), value = 1, flags = RESET_REQUIRED;
    919   endoneof;
    920 
    921   oneof varid = Setup.GpioWakeCapability,
    922     prompt         = STRING_TOKEN(STR_GPIO_WAKE_CAPABILITY_ENABLE),
    923     help           = STRING_TOKEN(STR_GPIO_WAKE_CAPABILITY_ENABLE_HELP),
    924     option text    = STRING_TOKEN(STR_DISABLE), value = 0, flags = DEFAULT | MANUFACTURING |RESET_REQUIRED;
    925     option text    = STRING_TOKEN(STR_ENABLE), value = 1, flags = RESET_REQUIRED;
    926   endoneof;
    927 
    928   oneof varid = Setup.RtcBattery,
    929     prompt         = STRING_TOKEN(STR_RTC_BATTERY),
    930     help           = STRING_TOKEN(STR_RTC_BATTERY_HELP),
    931     option text    = STRING_TOKEN(STR_RTC_BATTERY_NOT_PRESENT), value = 0, flags = RESET_REQUIRED;
    932     option text    = STRING_TOKEN(STR_RTC_BATTERY_PRESENT), value = 1, flags = DEFAULT | MANUFACTURING |RESET_REQUIRED;
    933   endoneof;
    934 
    935 endform;
    936