9 #include <fsp/soc_binding.h>
35 return fih->ImageRevision;
57 #define EFI_HOB_TYPE_HANDOFF 0x0001
58 #define EFI_HOB_TYPE_MEMORY_POOL 0x0007
61 #define FSP_IMAGE_SIG_LOC 0
62 #define FSP_IMAGE_ID_LOC 16
63 #define FSP_IMAGE_BASE_LOC 28
64 #define FSP_IMAGE_ATTRIBUTE_LOC 32
65 #define GRAPHICS_SUPPORT_BIT (1 << 0)
67 #define ERROR_NO_FV_SIG 1
68 #define ERROR_NO_FFS_GUID 2
69 #define ERROR_NO_INFO_HEADER 3
70 #define ERROR_IMAGEBASE_MISMATCH 4
71 #define ERROR_INFO_HEAD_SIG_MISMATCH 5
72 #define ERROR_FSP_SIG_MISMATCH 6
73 #define ERROR_FSP_REV_MISMATCH 7
76 extern void *FspHobListPtr;
80 void *
get_guid_hob(
const EFI_GUID *guid,
const void *hob_start);
void fsp_set_runtime(FSP_INFO_HEADER *fih, void *hob_list)
void report_fsp_output(void)
void fsp_early_init(FSP_INFO_HEADER *fsp_info)
void print_fsp_info(FSP_INFO_HEADER *fsp_header)
void * get_hob_list(void)
void print_hob_type_structure(u16 hob_type, void *hob_list_ptr)
void fsp_notify(u32 phase)
void * get_resource_hob(const EFI_GUID *guid, const void *hob_start)
void fsp_display_upd_value(const char *name, uint32_t size, uint64_t old, uint64_t new)
FSP_INFO_HEADER * find_fsp(uintptr_t fsp_base_address)
static uint32_t fsp_version(FSP_INFO_HEADER *fih)
FSP_INFO_HEADER * fsp_get_fih(void)
void * get_guid_hob(const EFI_GUID *guid, const void *hob_start)
void fsp_update_fih(FSP_INFO_HEADER *fih)
int fsp_relocate(struct prog *fsp_relocd)
void * fsp_get_hob_list(void)
asmlinkage void chipset_teardown_car_main(void)
unsigned long long uint64_t