| Index | Module | Size | Phase |
|---|---|---|---|
| 0409 | AST2500PeiInit.efi | 0x1200 (4608 bytes) | PEI |
This PEIM initializes the AST2500 (ASPEED) Super I/O and GPIO configuration during the PEI phase. It probes the AST2500 SIO via PM I/O ports (0x72/0x73), detects the SIO ID, and programs GPIO configuration registers accordingly. The module handles both AST2500 (SIO ID 0x21) and non-AST2500 SIO variants using separate GPIO configuration tables.
Ast2500PeiInitEntry -- Main entry point; probes SIO, selects GPIO table, programs registersAstSioReadPmReg / AstSioWritePmReg -- SIO PM register access via ports 0x72/0x73AstPciCfgRead16 / AstPciCfgWrite16 -- PCI configuration space access via CF8/CF9AstGpioCfgProgram -- Programs a single GPIO port with AND/OR masksAstPciCfgProgramBar -- Programs PCI BAR for the AST2500 SCU register space