| 1 |
|
| 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 |
|
| 13 |
void fch_pre_init(void) |
| 14 |
{ |
| 15 |
fch_enable_cf9_io(); |
| 16 |
|
| 17 |
enable_aoac_devices(); |
| 18 |
|
| 19 |
|
| 20 |
|
| 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 |
|
| 31 |
void fch_early_init(void) |
| 32 |
{ |
| 33 |
} |