Debian Codegraph @

src/soc/amd/common/block/include/amdblocks/vbt.h

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #ifndef _AMD_BLOCK_VBT_H_
4 #define _AMD_BLOCK_VBT_H_
5
6 /*
7 * On AMD platforms the VBT is called ATOMBIOS and is always part of the
8 * VGA Option ROM. As part of the FSP GOP init the ATOMBIOS tables are
9 * updated in place. Thus the VBIOS must be loaded into RAM before FSP GOP
10 * runs. The address of the VBIOS must be passed to FSP-S using UPDs, but
11 * loading of the VBIOS can be delayed until before FSP AFTER_PCI_ENUM
12 * notify is called. FSP expects a pointer to the PCI Option Rom instead of
13 * a pointer to the ATOMBIOS table directly.
14 *
15 * Returns a pointer to the VGA Option ROM in DRAM after checking
16 * prerequisites for Pre OS Graphics initialization. When returning
17 * non NULL the Option ROM might not be loaded at this address yet,
18 * but is guaranteed to be present at end of BS_DEV_RESOURCES phase.
19 */
20 void *vbt_get(void);
21
22 #endif