| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef AMD_BLOCK_STB_H |
| 4 | #define AMD_BLOCK_STB_H |
| 5 | |
| 6 | #include <types.h> |
| 7 | |
| 8 | #define AMD_STB_PMI_0 0x30600 |
| 9 | |
| 10 | #define AMD_STB_COREBOOT_POST_PREFIX 0xBA000000 |
| 11 | #define AMD_STB_COREBOOT_MARKER 0xBAADF00D |
| 12 | |
| 13 | struct stb_entry_struct { |
| 14 | uint32_t ts; |
| 15 | uint32_t val; |
| 16 | }; |
| 17 | |
| 18 | void write_stb_to_console(void); |
| 19 | void add_stb_to_timestamp_buffer(void); |
| 20 | |
| 21 | #endif /* AMD_BLOCK_STB_H */ |