2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #include <bootblock_common.h>
16 #include <intelblocks/gspi.h>
17 #include <intelblocks/systemagent.h>
18 #include <intelblocks/uart.h>
19 #include <soc/bootblock.h>
20 #include <soc/iomap.h>
23 asmlinkage
void bootblock_c_entry(uint64_t base_timestamp
)
25 /* Call lib/bootblock.c main */
26 bootblock_main_with_basetime(base_timestamp
);
29 void bootblock_soc_early_init(void)
31 bootblock_systemagent_early_init();
32 bootblock_pch_early_init();
34 pch_early_iorange_init();
35 if (CONFIG(INTEL_LPSS_UART_FOR_CONSOLE
))
36 uart_bootblock_init();
39 void bootblock_soc_init(void)
41 report_platform_info();