1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <bootblock_common.h>
4 #include <intelblocks/fast_spi.h>
5 #include <intelblocks/systemagent.h>
6 #include <intelblocks/tco.h>
7 #include <intelblocks/uart.h>
8 #include <soc/bootblock.h>
10 asmlinkage
void bootblock_c_entry(uint64_t base_timestamp
)
12 /* Call lib/bootblock.c main */
13 bootblock_main_with_basetime(base_timestamp
);
16 void bootblock_soc_early_init(void)
18 bootblock_systemagent_early_init();
19 bootblock_pch_early_init();
20 fast_spi_cache_bios_region();
21 pch_early_iorange_init();
22 if (CONFIG(INTEL_LPSS_UART_FOR_CONSOLE
))
23 uart_bootblock_init();
26 void bootblock_soc_init(void)
28 report_platform_info();
31 /* Programming TCO_BASE_ADDRESS and TCO Timer Halt */