Debian Codegraph @

src/soc/amd/genoa_poc/early_fch.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #include <amdblocks/espi.h>
4 #include <amdblocks/lpc.h>
5 #include <amdblocks/acpimmio.h>
6 #include <amdblocks/aoac.h>
7 #include <amdblocks/pmlib.h>
8 #include <amdblocks/uart.h>
9 #include <soc/southbridge.h>
10 #include <soc/uart.h>
11
12 /* Before console init */
13 void fch_pre_init(void)
14 {
15 fch_enable_cf9_io();
16
17 enable_aoac_devices();
18 /*
19 * On reset Range_0 defaults to enabled. We want to start with a clean
20 * slate to not have things unexpectedly enabled.
21 */
22 clear_uart_legacy_config();
23
24 if (CONFIG(AMD_SOC_CONSOLE_UART))
25 set_uart_config(CONFIG_UART_FOR_CONSOLE);
26
27 configure_espi_with_mb_hook();
28 }
29
30 /* After console init */
31 void fch_early_init(void)
32 {
33 }