diff options
Diffstat (limited to 'src/soc/amd/picasso/include')
-rw-r--r-- | src/soc/amd/picasso/include/soc/southbridge.h | 2 | ||||
-rw-r--r-- | src/soc/amd/picasso/include/soc/uart.h | 13 |
2 files changed, 13 insertions, 2 deletions
diff --git a/src/soc/amd/picasso/include/soc/southbridge.h b/src/soc/amd/picasso/include/soc/southbridge.h index 97b0ab4d35..e9f7e2e2b2 100644 --- a/src/soc/amd/picasso/include/soc/southbridge.h +++ b/src/soc/amd/picasso/include/soc/southbridge.h @@ -287,8 +287,6 @@ void southbridge_final(void *chip_info); void southbridge_init(void *chip_info); void fch_pre_init(void); void fch_early_init(void); -void set_uart_config(int idx); -void clear_uart_legacy_config(void); /* Initialize all the i2c buses that are marked with early init. */ void i2c_soc_early_init(void); diff --git a/src/soc/amd/picasso/include/soc/uart.h b/src/soc/amd/picasso/include/soc/uart.h new file mode 100644 index 0000000000..3aac936dff --- /dev/null +++ b/src/soc/amd/picasso/include/soc/uart.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __PICASSO_UART_H__ +#define __PICASSO_UART_H__ + +#include <types.h> + +void set_uart_config(int idx); /* configure hardware of FCH UART selected by idx */ +void clear_uart_legacy_config(void); /* disable legacy I/O decode for FCH UART */ + +uintptr_t get_uart_base(int idx); /* get MMIO base address of FCH UART */ + +#endif /* __PICASSO_UART_H__ */ |