5.11 Stage Enabling Checklist

The following steps should be followed to enable a platform for Stage III.

  1. Add board post-memory initialization code in BoardInitBeforeSiliconInit () and BoardInitAfterSiliconInit (), BoardPkg/BoardInitLib/PeiBoardXXXInitPostMemoryLib.c. 1. Initialize board-specific hardware device, such as GPIO. 2. Update post-memory policy configuration by using PCD.

  2. Add board policy update code in SiliconPolicyUpdatePostMemory (), BoardPkg\PeiSiliconPolicyUpdateLib \PeiBoardXXXInitLib.c. 1. The PCD updated in BoardInitBeforeSiliconInit () might be used here.

  3. Add board initialization DXE code in BoardInitAfterPciEnumeration (), BoardInitReadyToBoot (), BoardInitEndOfFirmware (). 1. NOTE: The functions may be empty if nothing needs to be updated.

  4. Ensure all PCDs in the configuration section (DSC files) are correct for your board.

    1. Set gMinPlatformPkgTokenSpaceGuid.PcdBootStage = 2

  5. Ensure all required binaries in the flash file (FDF files) are correct for your board.

  6. Boot, collect debug log, and verify the test point results defined in section 5.9 are correct.