summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/picasso/uart.c')
-rw-r--r--src/soc/amd/picasso/uart.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/uart.c b/src/soc/amd/picasso/uart.c
index 84d6982968..6439efb251 100644
--- a/src/soc/amd/picasso/uart.c
+++ b/src/soc/amd/picasso/uart.c
@@ -38,6 +38,11 @@ uintptr_t uart_platform_base(int idx)
return uart_info[idx].base;
}
+void clear_uart_legacy_config(void)
+{
+ write16((void *)FCH_UART_LEGACY_DECODE, 0);
+}
+
void set_uart_config(int idx)
{
uint32_t uart_ctrl;