Debian Codegraph @

src/soc/intel/snowridge/common/fsp_hob.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #include <fsp/util.h>
4
5 #include "fsp_hob.h"
6
7 const guid_t fsp_hob_fia_override_status_guid = {
8 .b = {0xc1, 0x94, 0x8d, 0x61, 0xde, 0x0e, 0xe3, 0x4e, 0x98, 0x4F, 0xB2, 0x07, 0x6B,
9 0x05, 0x50, 0xFB}
10 };
11
12 const guid_t fsp_hob_iio_uds_data_guid = {
13 .b = {0xbd, 0x74, 0x6b, 0x83, 0xf3, 0xc2, 0x28, 0x4d, 0xa3, 0xb8, 0x91, 0x33, 0x10,
14 0x52, 0x52, 0x9b}
15 };
16
17 const guid_t fsp_hob_kti_cache_guid = {
18 .b = {0xd6, 0xd3, 0x45, 0xac, 0x6e, 0xa3, 0xa6, 0x43, 0xad, 0x17, 0x0a, 0x45, 0xbb,
19 0x47, 0xbe, 0xd6}
20 };
21
22 const guid_t fsp_hob_smbios_memory_info_guid = {
23 .b = {0x8c, 0x10, 0xa1, 0x01, 0xee, 0x9d, 0x84, 0x49, 0x88, 0xc3, 0xee, 0xe8, 0xc4,
24 0x9e, 0xfb, 0x89}
25 };
26
27 static const void *fsp_hob_get(const guid_t *guid, size_t *hob_size)
28 {
29 return fsp_find_extension_hob_by_guid(guid->b, hob_size);
30 }
31
32 const BL_IIO_UDS *fsp_hob_get_iio_uds_data(void)
33 {
34 size_t unused;
35
36 return fsp_hob_get(&fsp_hob_iio_uds_data_guid, &unused);
37 }
38
39 const void *fsp_hob_get_kti_cache(size_t *hob_size)
40 {
41 return fsp_hob_get(&fsp_hob_kti_cache_guid, hob_size);
42 }
43
44 const FSP_SMBIOS_MEMORY_INFO *fsp_hob_get_memory_info(void)
45 {
46 size_t unused;
47
48 return fsp_hob_get(&fsp_hob_smbios_memory_info_guid, &unused);
49 }