| 1 |
|
| 2 |
|
| 3 |
#include <bootblock_common.h> |
| 4 |
#include <gpio.h> |
| 5 |
#include <intelblocks/fast_spi.h> |
| 6 |
#include <intelblocks/gspi.h> |
| 7 |
#include <intelblocks/systemagent.h> |
| 8 |
#include <intelblocks/tco.h> |
| 9 |
#include <intelblocks/uart.h> |
| 10 |
#include <soc/bootblock.h> |
| 11 |
#include <soc/iomap.h> |
| 12 |
#include <soc/pch.h> |
| 13 |
|
| 14 |
asmlinkage void bootblock_c_entry(uint64_t base_timestamp) |
| 15 |
{ |
| 16 |
|
| 17 |
bootblock_main_with_basetime(base_timestamp); |
| 18 |
} |
| 19 |
|
| 20 |
void bootblock_soc_early_init(void) |
| 21 |
{ |
| 22 |
bootblock_systemagent_early_init(); |
| 23 |
bootblock_pch_early_init(); |
| 24 |
fast_spi_cache_bios_region(); |
| 25 |
pch_early_iorange_init(); |
| 26 |
if (CONFIG(INTEL_LPSS_UART_FOR_CONSOLE)) |
| 27 |
uart_bootblock_init(); |
| 28 |
} |
| 29 |
|
| 30 |
void bootblock_soc_init(void) |
| 31 |
{ |
| 32 |
report_platform_info(); |
| 33 |
bootblock_pch_init(); |
| 34 |
|
| 35 |
|
| 36 |
tco_configure(); |
| 37 |
} |