MR2 version of Braswell FSP

This commit is contained in:
swong23 2018-07-30 14:43:26 +08:00 committed by Nate DeSimone
parent c0ec3d793f
commit a53587b96d
6 changed files with 823 additions and 765 deletions

Binary file not shown.

View File

@ -1,248 +1,268 @@
/** @file
Boot Setting File for Platform Configuration.
Copyright (c) 2015, 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
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
This file is automatically generated. Please do NOT modify !!!
**/
GlobalDataDef
SKUID = 0, "DEFAULT"
EndGlobalData
StructDef
Find "$BSWUPD$"
Skip 40 bytes
$gPlatformFspPkgTokenSpaceGuid_PcdMrcInitTsegSize 2 bytes $_DEFAULT_ = 0x0004
$gPlatformFspPkgTokenSpaceGuid_PcdMrcInitMmioSize 2 bytes $_DEFAULT_ = 0x0800
$gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSpdAddr1 1 bytes $_DEFAULT_ = 0xA0
$gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSpdAddr2 1 bytes $_DEFAULT_ = 0xA2
Skip 6 bytes
$gPlatformFspPkgTokenSpaceGuid_PcdIgdDvmt50PreAlloc 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdApertureSize 1 bytes $_DEFAULT_ = 2
$gPlatformFspPkgTokenSpaceGuid_PcdGttSize 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdLegacySegDecode 1 bytes $_DEFAULT_ = 0
$gPlatformFspPkgTokenSpaceGuid_PcdDvfsEnable 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdMemoryTypeEnable 1 bytes $_DEFAULT_ = 0
$gPlatformFspPkgTokenSpaceGuid_PcdCaMirrorEn 1 bytes $_DEFAULT_ = 0
Skip 205 bytes
$gPlatformFspPkgTokenSpaceGuid_PcdSdcardMode 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart0 1 bytes $_DEFAULT_ = 0
$gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart1 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableAzalia 1 bytes $_DEFAULT_ = 0
Skip 4 bytes
$gPlatformFspPkgTokenSpaceGuid_PcdEnableSata 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableXhci 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableLpe 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableDma0 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableDma1 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C0 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C1 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C2 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C3 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C4 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C5 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C6 1 bytes $_DEFAULT_ = 1
Skip 15 bytes
$gPlatformFspPkgTokenSpaceGuid_PcdEmmcMode 1 bytes $_DEFAULT_ = 1
Skip 27 bytes
$gPlatformFspPkgTokenSpaceGuid_PcdSataInterfaceSpeed 1 bytes $_DEFAULT_ = 3
Skip 13 bytes
$gPlatformFspPkgTokenSpaceGuid_PMIC_I2CBus 1 bytes $_DEFAULT_ = 0x00
$gPlatformFspPkgTokenSpaceGuid_ISPEnable 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_ISPPciDevConfig 1 bytes $_DEFAULT_ = 2
$gPlatformFspPkgTokenSpaceGuid_PcdTurboMode 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdPnpSettings 1 bytes $_DEFAULT_ = 3
$gPlatformFspPkgTokenSpaceGuid_PcdSdDetectChk 1 bytes $_DEFAULT_ = 1
Find "$BSWFSP$"
$gPlatformFspPkgTokenSpaceGuid_PcdImageRevision 4 bytes $_DEFAULT_ = 0x01010200
EndStruct
List &EN_DIS
Selection 0x1 , "Enabled"
Selection 0x0 , "Disabled"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdSdcardMode
Selection 0x0 , "Disabled"
Selection 0x1 , "PCI Mode"
Selection 0x2 , "ACPI Mode"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdIgdDvmt50PreAlloc
Selection 0x01 , "32 MB"
Selection 0x02 , "64 MB"
Selection 0x03 , "96 MB"
Selection 0x04 , "128 MB"
Selection 0x05 , "160 MB"
Selection 0x06 , "192 MB"
Selection 0x07 , "224 MB"
Selection 0x08 , "256 MB"
Selection 0x09 , "288 MB"
Selection 0x0A , "320 MB"
Selection 0x0B , "352 MB"
Selection 0x0C , "384 MB"
Selection 0x0D , "416 MB"
Selection 0x0E , "448 MB"
Selection 0x0F , "480 MB"
Selection 0x10 , "512 MB"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdCaMirrorEn
Selection 0x00 , "Disable"
Selection 0x01 , "Enable"
EndList
List &gPlatformFspPkgTokenSpaceGuid_ISPPciDevConfig
Selection 0x1 , " ISP PCI Device as B0D2F0"
Selection 0x2 , " ISP PCI Device as B0D3F0"
Selection 0x3 , " ISP PCI Device as B0D3F0 with Virtual ISP B0D2F0"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdEnableLpe
Selection 0x2 , "ACPI Mode"
Selection 0x1 , "PCI Mode"
Selection 0x0 , "Disabled"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdMrcInitTsegSize
Selection 0x01 , "1 MB"
Selection 0x02 , "2 MB"
Selection 0x04 , "4 MB"
Selection 0x08 , "8 MB"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdMrcInitMmioSize
Selection 0x400 , "1.0 GB"
Selection 0x600 , "1.5 GB"
Selection 0x800 , "2.0 GB"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdGttSize
Selection 0x1 , "1 MB"
Selection 0x2 , "2 MB"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdEmmcMode
Selection 0x0 , "Disabled"
Selection 0x1 , "PCI Mode"
Selection 0x2 , "ACPI Mode"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdSataInterfaceSpeed
Selection 1 , "GEN1"
Selection 2 , "GEN2"
Selection 3 , "GEN3"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdApertureSize
Selection 0x1 , "128 MB"
Selection 0x2 , "256 MB"
Selection 0x3 , "512 MB"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdMemoryTypeEnable
Selection 0x00 , "DDR3"
Selection 0x01 , "LPDDR3"
EndList
BeginInfoBlock
PPVer "1.0"
Description "Braswell platform"
EndInfoBlock
Page "Platform"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdTurboMode, "Processor Turbo Mode", &EN_DIS,
Help "Enable/disable Processor Turbo Mode."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdPnpSettings, "Pnp-Power & Performance", &EN_DIS,
Help "select Pnp type "
Combo $gPlatformFspPkgTokenSpaceGuid_PcdSdDetectChk, "SdDetectChk", &EN_DIS,
Help "Check for Sd card detect "
EndPage
Page "South Complex"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdSdcardMode, "SD Card Mode", &gPlatformFspPkgTokenSpaceGuid_PcdSdcardMode,
Help "SD Card Mode"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart0, "Enable HSUART0", &EN_DIS,
Help "Enable/disable HSUART0."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart1, "Enable HSUART1", &EN_DIS,
Help "Enable/disable HSUART1."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableAzalia, "Enable Azalia", &EN_DIS,
Help "Enable/disable Azalia controller."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableSata, "Enable SATA", &EN_DIS,
Help "Enable/disable SATA controller."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableXhci, "Enable XHCI", &EN_DIS,
Help "Enable/disable XHCI controller."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableLpe, "Enable LPE", &gPlatformFspPkgTokenSpaceGuid_PcdEnableLpe,
Help "Choose LPE Mode."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableDma0, "Enable DMA0", &EN_DIS,
Help "Enable/disable DMA0."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableDma1, "Enable DMA1", &EN_DIS,
Help "Enable/disable DMA1."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C0, "Enable I2C0", &EN_DIS,
Help "Enable/disable I2C0."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C1, "Enable I2C1", &EN_DIS,
Help "Enable/disable I2C1."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C2, "Enable I2C2", &EN_DIS,
Help "Enable/disable I2C2."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C3, "Enable I2C3", &EN_DIS,
Help "Enable/disable I2C3."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C4, "Enable I2C4", &EN_DIS,
Help "Enable/disable I2C4."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C5, "Enable I2C5", &EN_DIS,
Help "Enable/disable I2C5."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C6, "Enable I2C6", &EN_DIS,
Help "Enable/disable I2C6."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEmmcMode, "eMMC Mode", &gPlatformFspPkgTokenSpaceGuid_PcdEmmcMode,
Help "EMMC Mode"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdSataInterfaceSpeed, "SATA Interface Speed", &gPlatformFspPkgTokenSpaceGuid_PcdSataInterfaceSpeed,
Help "Select SATA controller Interface Speed."
Combo $gPlatformFspPkgTokenSpaceGuid_ISPEnable, "Enable ISP", &EN_DIS,
Help "Enable/disable ISP."
Combo $gPlatformFspPkgTokenSpaceGuid_ISPPciDevConfig, "Select ISP Device Number", &gPlatformFspPkgTokenSpaceGuid_ISPPciDevConfig,
Help "Select ISP PCI Device Configuration"
EndPage
Page "North Complex"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitTsegSize, "Tseg Size", &gPlatformFspPkgTokenSpaceGuid_PcdMrcInitTsegSize,
Help "Size of SMRAM memory reserved."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitMmioSize, "MMIO Size", &gPlatformFspPkgTokenSpaceGuid_PcdMrcInitMmioSize,
Help "Size of memory address space reserved for MMIO (Memory Mapped I/O)."
EditNum $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSpdAddr1, "DIMM 0 SPD SMBus Address", HEX,
Help "SPD Address of DIMM."
"Valid range: 0x00 ~ 0xFF"
EditNum $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSpdAddr2, "DIMM 1 SPD SMBus Address", HEX,
Help "SPD Address of DIMM."
"Valid range: 0x00 ~ 0xFF"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdIgdDvmt50PreAlloc, "Internal Graphics Pre-allocated Memory", &gPlatformFspPkgTokenSpaceGuid_PcdIgdDvmt50PreAlloc,
Help "Size of memory preallocated for internal graphics"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdApertureSize, "Aperture Size", &gPlatformFspPkgTokenSpaceGuid_PcdApertureSize,
Help "Select the Aperture Size."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdGttSize, "GTT Size", &gPlatformFspPkgTokenSpaceGuid_PcdGttSize,
Help "Select the GTT Size."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdLegacySegDecode, "Enable Legacy E/F segments decoding to ROM", &EN_DIS,
Help "If disabled, E0000h-FFFFFh decoding will be routed to DRAM."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdDvfsEnable, "Enable DVFS", &EN_DIS,
Help "Enable/disable DVFS."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdMemoryTypeEnable, "MemoryType", &gPlatformFspPkgTokenSpaceGuid_PcdMemoryTypeEnable,
Help "To Configure Memory Type"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdCaMirrorEn, "CaMirrorEn", &gPlatformFspPkgTokenSpaceGuid_PcdCaMirrorEn,
Help "To Enable/Disable CaMirrorEn"
EndPage
/** @file
Boot Setting File for Platform Configuration.
Copyright (c) 2015, 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
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
This file is automatically generated. Please do NOT modify !!!
**/
GlobalDataDef
SKUID = 0, "DEFAULT"
EndGlobalData
StructDef
Find "$BSWUPD$"
Skip 40 bytes
$gPlatformFspPkgTokenSpaceGuid_PcdMrcInitTsegSize 2 bytes $_DEFAULT_ = 0x0004
$gPlatformFspPkgTokenSpaceGuid_PcdMrcInitMmioSize 2 bytes $_DEFAULT_ = 0x0800
$gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSpdAddr1 1 bytes $_DEFAULT_ = 0xA0
$gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSpdAddr2 1 bytes $_DEFAULT_ = 0xA2
Skip 6 bytes
$gPlatformFspPkgTokenSpaceGuid_PcdIgdDvmt50PreAlloc 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdApertureSize 1 bytes $_DEFAULT_ = 2
$gPlatformFspPkgTokenSpaceGuid_PcdGttSize 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdLegacySegDecode 1 bytes $_DEFAULT_ = 0
$gPlatformFspPkgTokenSpaceGuid_PcdDvfsEnable 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdMemoryTypeEnable 1 bytes $_DEFAULT_ = 0
$gPlatformFspPkgTokenSpaceGuid_PcdCaMirrorEn 1 bytes $_DEFAULT_ = 0
$gPlatformFspPkgTokenSpaceGuid_PcdDdr3AutoSelfRefreshEnable 1 bytes $_DEFAULT_ = 0
Skip 204 bytes
$gPlatformFspPkgTokenSpaceGuid_PcdSdcardMode 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart0 1 bytes $_DEFAULT_ = 0
$gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart1 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableAzalia 1 bytes $_DEFAULT_ = 0
Skip 4 bytes
$gPlatformFspPkgTokenSpaceGuid_PcdEnableSata 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableXhci 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableLpe 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableDma0 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableDma1 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C0 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C1 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C2 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C3 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C4 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C5 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C6 1 bytes $_DEFAULT_ = 1
Skip 15 bytes
$gPlatformFspPkgTokenSpaceGuid_PcdEmmcMode 1 bytes $_DEFAULT_ = 1
Skip 27 bytes
$gPlatformFspPkgTokenSpaceGuid_PcdSataInterfaceSpeed 1 bytes $_DEFAULT_ = 3
Skip 13 bytes
$gPlatformFspPkgTokenSpaceGuid_PMIC_I2CBus 1 bytes $_DEFAULT_ = 0x00
$gPlatformFspPkgTokenSpaceGuid_ISPEnable 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_ISPPciDevConfig 1 bytes $_DEFAULT_ = 2
$gPlatformFspPkgTokenSpaceGuid_PcdTurboMode 1 bytes $_DEFAULT_ = 1
$gPlatformFspPkgTokenSpaceGuid_PcdPnpSettings 1 bytes $_DEFAULT_ = 3
$gPlatformFspPkgTokenSpaceGuid_PcdSdDetectChk 1 bytes $_DEFAULT_ = 1
Find "BSWSBFSP"
$gPlatformFspPkgTokenSpaceGuid_PcdImageRevision 4 bytes $_DEFAULT_ = 0x01010401
Skip 24 bytes
$gPlatformFspPkgTokenSpaceGuid_PcdEnableSecureBoot 1 bytes $_DEFAULT_ = 2
EndStruct
List &EN_DIS
Selection 0x1 , "Enabled"
Selection 0x0 , "Disabled"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdSdcardMode
Selection 0x0 , "Disabled"
Selection 0x1 , "PCI Mode"
Selection 0x2 , "ACPI Mode"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdIgdDvmt50PreAlloc
Selection 0x01 , "32 MB"
Selection 0x02 , "64 MB"
Selection 0x03 , "96 MB"
Selection 0x04 , "128 MB"
Selection 0x05 , "160 MB"
Selection 0x06 , "192 MB"
Selection 0x07 , "224 MB"
Selection 0x08 , "256 MB"
Selection 0x09 , "288 MB"
Selection 0x0A , "320 MB"
Selection 0x0B , "352 MB"
Selection 0x0C , "384 MB"
Selection 0x0D , "416 MB"
Selection 0x0E , "448 MB"
Selection 0x0F , "480 MB"
Selection 0x10 , "512 MB"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdCaMirrorEn
Selection 0x00 , "Disable"
Selection 0x01 , "Enable"
EndList
List &gPlatformFspPkgTokenSpaceGuid_ISPPciDevConfig
Selection 0x1 , " ISP PCI Device as B0D2F0"
Selection 0x2 , " ISP PCI Device as B0D3F0"
Selection 0x3 , " ISP PCI Device as B0D3F0 with Virtual ISP B0D2F0"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdEnableLpe
Selection 0x2 , "ACPI Mode"
Selection 0x1 , "PCI Mode"
Selection 0x0 , "Disabled"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdMrcInitTsegSize
Selection 0x01 , "1 MB"
Selection 0x02 , "2 MB"
Selection 0x04 , "4 MB"
Selection 0x08 , "8 MB"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdMrcInitMmioSize
Selection 0x400 , "1.0 GB"
Selection 0x600 , "1.5 GB"
Selection 0x800 , "2.0 GB"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdPnpSettings
Selection 0 , " Disable"
Selection 1 , " Power"
Selection 2 , " Performance"
Selection 3 , " Power & Performance"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdGttSize
Selection 0x1 , "1 MB"
Selection 0x2 , "2 MB"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdEmmcMode
Selection 0x0 , "Disabled"
Selection 0x1 , "PCI Mode"
Selection 0x2 , "ACPI Mode"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdSataInterfaceSpeed
Selection 1 , "GEN1"
Selection 2 , "GEN2"
Selection 3 , "GEN3"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdEnableSecureBoot
Selection 0 , "Disabled"
Selection 1 , "Enabled"
Selection 2 , "Auto"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdApertureSize
Selection 0x1 , "128 MB"
Selection 0x2 , "256 MB"
Selection 0x3 , "512 MB"
EndList
List &gPlatformFspPkgTokenSpaceGuid_PcdMemoryTypeEnable
Selection 0x00 , "DDR3"
Selection 0x01 , "LPDDR3"
EndList
BeginInfoBlock
PPVer "1.0"
Description "Braswell platform"
EndInfoBlock
Page "Platform"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableSecureBoot, "Enable Secure Boot", &gPlatformFspPkgTokenSpaceGuid_PcdEnableSecureBoot,
Help "Enable/disable secure boot. Auto by default."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdTurboMode, "Processor Turbo Mode", &EN_DIS,
Help "Enable/disable Processor Turbo Mode."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdPnpSettings, "Pnp Setting Type", &gPlatformFspPkgTokenSpaceGuid_PcdPnpSettings,
Help "Select Pnp type "
Combo $gPlatformFspPkgTokenSpaceGuid_PcdSdDetectChk, "SdDetectChk", &EN_DIS,
Help "Check for Sd card detect "
EndPage
Page "South Complex"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdSdcardMode, "SD Card Mode", &gPlatformFspPkgTokenSpaceGuid_PcdSdcardMode,
Help "SD Card Mode"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart0, "Enable HSUART0", &EN_DIS,
Help "Enable/disable HSUART0."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableHsuart1, "Enable HSUART1", &EN_DIS,
Help "Enable/disable HSUART1."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableAzalia, "Enable Azalia", &EN_DIS,
Help "Enable/disable Azalia controller."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableSata, "Enable SATA", &EN_DIS,
Help "Enable/disable SATA controller."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableXhci, "Enable XHCI", &EN_DIS,
Help "Enable/disable XHCI controller."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableLpe, "Enable LPE", &gPlatformFspPkgTokenSpaceGuid_PcdEnableLpe,
Help "Choose LPE Mode."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableDma0, "Enable DMA0", &EN_DIS,
Help "Enable/disable DMA0."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableDma1, "Enable DMA1", &EN_DIS,
Help "Enable/disable DMA1."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C0, "Enable I2C0", &EN_DIS,
Help "Enable/disable I2C0."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C1, "Enable I2C1", &EN_DIS,
Help "Enable/disable I2C1."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C2, "Enable I2C2", &EN_DIS,
Help "Enable/disable I2C2."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C3, "Enable I2C3", &EN_DIS,
Help "Enable/disable I2C3."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C4, "Enable I2C4", &EN_DIS,
Help "Enable/disable I2C4."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C5, "Enable I2C5", &EN_DIS,
Help "Enable/disable I2C5."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEnableI2C6, "Enable I2C6", &EN_DIS,
Help "Enable/disable I2C6."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdEmmcMode, "eMMC Mode", &gPlatformFspPkgTokenSpaceGuid_PcdEmmcMode,
Help "EMMC Mode"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdSataInterfaceSpeed, "SATA Interface Speed", &gPlatformFspPkgTokenSpaceGuid_PcdSataInterfaceSpeed,
Help "Select SATA controller Interface Speed."
Combo $gPlatformFspPkgTokenSpaceGuid_ISPEnable, "Enable ISP", &EN_DIS,
Help "Enable/disable ISP."
Combo $gPlatformFspPkgTokenSpaceGuid_ISPPciDevConfig, "Select ISP Device Number", &gPlatformFspPkgTokenSpaceGuid_ISPPciDevConfig,
Help "Select ISP PCI Device Configuration"
EndPage
Page "North Complex"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitTsegSize, "Tseg Size", &gPlatformFspPkgTokenSpaceGuid_PcdMrcInitTsegSize,
Help "Size of SMRAM memory reserved."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitMmioSize, "MMIO Size", &gPlatformFspPkgTokenSpaceGuid_PcdMrcInitMmioSize,
Help "Size of memory address space reserved for MMIO (Memory Mapped I/O)."
EditNum $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSpdAddr1, "DIMM 0 SPD SMBus Address", HEX,
Help "SPD Address of DIMM."
"Valid range: 0x00 ~ 0xFF"
EditNum $gPlatformFspPkgTokenSpaceGuid_PcdMrcInitSpdAddr2, "DIMM 1 SPD SMBus Address", HEX,
Help "SPD Address of DIMM."
"Valid range: 0x00 ~ 0xFF"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdIgdDvmt50PreAlloc, "Internal Graphics Pre-allocated Memory", &gPlatformFspPkgTokenSpaceGuid_PcdIgdDvmt50PreAlloc,
Help "Size of memory preallocated for internal graphics"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdApertureSize, "Aperture Size", &gPlatformFspPkgTokenSpaceGuid_PcdApertureSize,
Help "Select the Aperture Size."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdGttSize, "GTT Size", &gPlatformFspPkgTokenSpaceGuid_PcdGttSize,
Help "Select the GTT Size."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdLegacySegDecode, "Enable Legacy E/F segments decoding to ROM", &EN_DIS,
Help "If disabled, E0000h-FFFFFh decoding will be routed to DRAM."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdDvfsEnable, "Enable DVFS", &EN_DIS,
Help "Enable/disable DVFS."
Combo $gPlatformFspPkgTokenSpaceGuid_PcdMemoryTypeEnable, "MemoryType", &gPlatformFspPkgTokenSpaceGuid_PcdMemoryTypeEnable,
Help "To Configure Memory Type"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdCaMirrorEn, "CaMirrorEn", &gPlatformFspPkgTokenSpaceGuid_PcdCaMirrorEn,
Help "To Enable/Disable CaMirrorEn"
Combo $gPlatformFspPkgTokenSpaceGuid_PcdDdr3AutoSelfRefreshEnable, "DDR3 Auto Self Refresh", &EN_DIS,
Help "Enable/Disable DDR3 Auto Self Refresh"
EndPage

File diff suppressed because it is too large Load Diff

View File

@ -193,8 +193,13 @@ typedef struct {
**/
UINT8 PcdCaMirrorEn;
/** Offset 0x0043
DDR3 Auto Self Refresh
Enable/Disable DDR3 Auto Self Refresh
**/
UINT8 ReservedMemoryInitUpd[189];
UINT8 PcdDdr3AutoSelfRefreshEnable;
/** Offset 0x0044
**/
UINT8 ReservedMemoryInitUpd[188];
} MEMORY_INIT_UPD;
typedef struct {
@ -441,8 +446,8 @@ typedef struct {
**/
UINT8 PcdTurboMode;
/** Offset 0x0161
Pnp-Power & Performance
select Pnp type
Pnp Setting Type
Select Pnp type
**/
UINT8 PcdPnpSettings;
/** Offset 0x0162
@ -487,10 +492,16 @@ typedef struct _UPD_DATA_REGION {
/** Offset 0x02FE
**/
UINT16 PcdRegionTerminator;
/** Offset 0x0300
**/
UINT8 UnusedUpdSpace4[2123];
/** Offset 0x0B4B
**/
UINT8 PcdPaddingSpace;
} UPD_DATA_REGION;
#define FSP_IMAGE_ID 0x2450534657534224 /* '$BSWFSP$' */
#define FSP_IMAGE_REV 0x01010200
#define FSP_IMAGE_ID 0x5053464253575342 /* 'BSWSBFSP' */
#define FSP_IMAGE_REV 0x01010401
typedef struct _VPD_DATA_REGION {
/** Offset 0x0000
@ -503,6 +514,14 @@ typedef struct _VPD_DATA_REGION {
/** Offset 0x000C
**/
UINT32 PcdUpdRegionOffset;
/** Offset 0x0010
**/
UINT8 UnusedVpdSpace0[20];
/** Offset 0x0024
Enable Secure Boot
Enable/disable secure boot. Auto by default.
**/
UINT8 PcdEnableSecureBoot;
} VPD_DATA_REGION;
#pragma pack()

View File

@ -58,8 +58,8 @@ typedef struct {
} EFI_GRAPHICS_OUTPUT_MODE_INFORMATION;
typedef struct {
EFI_PHYSICAL_ADDRESS FrameBufferBase;
uint32_t FrameBufferSize;
uint64_t FrameBufferBase;
uint64_t FrameBufferSize;
EFI_GRAPHICS_OUTPUT_MODE_INFORMATION GraphicsMode;
} PLATFORM_GRAPHICS_OUTPUT;