Debian Codegraph @

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

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 #ifndef AMD_BLOCK_APOB_CACHE_H
4 #define AMD_BLOCK_APOB_CACHE_H
5
6 #include <stddef.h>
7
8 #if CONFIG(SOC_AMD_COMMON_BLOCK_APOB) && !CONFIG(SOC_AMD_COMMON_BLOCK_APOB_NV_DISABLE)
9 /* Start loading the APOB as soon as possible so it is ready by the time we need it. */
10 void start_apob_cache_read(void);
11 void *soc_fill_apob_cache(void);
12 #else /* CONFIG(SOC_AMD_COMMON_BLOCK_APOB) && !CONFIG(SOC_AMD_COMMON_BLOCK_APOB_NV_DISABLE) */
13 static inline void start_apob_cache_read(void) {}
14 static inline void *soc_fill_apob_cache(void) { return NULL; }
15 #endif /* CONFIG(SOC_AMD_COMMON_BLOCK_APOB) && !CONFIG(SOC_AMD_COMMON_BLOCK_APOB_NV_DISABLE) */
16
17 #endif /* AMD_BLOCK_APOB_CACHE_H */