aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/stoneyridge/uart.c')
-rw-r--r--src/soc/amd/stoneyridge/uart.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/soc/amd/stoneyridge/uart.c b/src/soc/amd/stoneyridge/uart.c
index 73346ab658..573ae96716 100644
--- a/src/soc/amd/stoneyridge/uart.c
+++ b/src/soc/amd/stoneyridge/uart.c
@@ -1,17 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/uart.h>
+#include <amdblocks/uart.h>
#include <soc/southbridge.h>
+#include <types.h>
-uintptr_t uart_platform_base(unsigned int idx)
+uintptr_t get_uart_base(unsigned int idx)
{
if (CONFIG_UART_FOR_CONSOLE < 0 || CONFIG_UART_FOR_CONSOLE > 1)
return 0;
return (uintptr_t)(APU_UART0_BASE + 0x2000 * (idx & 1));
}
-
-unsigned int uart_platform_refclk(void)
-{
- return 48000000;
-}