| 1 |
|
| 2 |
|
| 3 |
#ifndef __BOOTBLOCK_COMMON_H |
| 4 |
#define __BOOTBLOCK_COMMON_H |
| 5 |
|
| 6 |
#include <arch/cpu.h> |
| 7 |
#include <main_decl.h> |
| 8 |
#include <timestamp.h> |
| 9 |
#include <types.h> |
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 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); |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
asmlinkage void bootblock_c_entry(uint64_t base_timestamp); |
| 26 |
asmlinkage void bootblock_c_entry_bist(uint64_t base_timestamp, uint32_t bist); |
| 27 |
|
| 28 |
|
| 29 |
asmlinkage void ap_bootblock_c_entry(void); |
| 30 |
|
| 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); |
| 34 |
|
| 35 |
|
| 36 |
struct bootblock_arg { |
| 37 |
uint64_t base_timestamp; |
| 38 |
void *metadata_hash_anchor; |
| 39 |
uint32_t num_timestamps; |
| 40 |
struct timestamp_entry timestamps[]; |
| 41 |
}; |
| 42 |
|
| 43 |
#endif |