soc/intel/xeon_sp/spr: Drop microcode constraints
[coreboot2.git] / src / include / bootblock_common.h
blobfccd23524d2b2184a295185fbfbdd1761561fea0
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __BOOTBLOCK_COMMON_H
4 #define __BOOTBLOCK_COMMON_H
6 #include <arch/cpu.h>
7 #include <main_decl.h>
8 #include <timestamp.h>
9 #include <types.h>
12 * These are defined as weak no-ops that can be overridden by mainboard/SoC.
13 * The 'early' variants are called prior to console initialization. Also, the
14 * SoC functions are called prior to the mainboard functions.
16 void decompressor_soc_init(void);
17 void bootblock_mainboard_early_init(void);
18 void bootblock_mainboard_init(void);
19 void bootblock_soc_early_init(void);
20 void bootblock_soc_init(void);
23 * C code entry point for the boot block.
25 asmlinkage void bootblock_c_entry(uint64_t base_timestamp);
26 asmlinkage void bootblock_c_entry_bist(uint64_t base_timestamp, uint32_t bist);
28 /* To be used when APs execute through bootblock too. */
29 asmlinkage void ap_bootblock_c_entry(void);
31 void bootblock_main_with_basetime(uint64_t base_timestamp);
32 void bootblock_main_with_timestamp(uint64_t base_timestamp,
33 struct timestamp_entry *timestamps, size_t num_timestamps);
35 /* This is the argument structure passed from decompressor to bootblock. */
36 struct bootblock_arg {
37 uint64_t base_timestamp;
38 void *metadata_hash_anchor;
39 uint32_t num_timestamps;
40 struct timestamp_entry timestamps[];
43 #endif /* __BOOTBLOCK_COMMON_H */