summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-10-18 20:52:42 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-20 16:47:11 +0000
commit8ebdbbc3cb0aaca6581a7ba0a3ad92784ed502df (patch)
tree0b5f46981ea76cc9a99ac65fa05505d058ef831b /src/soc/amd/stoneyridge
parentba35f3582e95fdc3d9313a63d6ee0072283f5c7f (diff)
soc/amd: move set_uart_config prototype to common UART header
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I97860292fd3cd0330fec40edb31089cd6608906b Reviewed-on: https://review.coreboot.org/c/coreboot/+/68560 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/soc/amd/stoneyridge')
-rw-r--r--src/soc/amd/stoneyridge/early_fch.c1
-rw-r--r--src/soc/amd/stoneyridge/include/soc/southbridge.h2
-rw-r--r--src/soc/amd/stoneyridge/uart.c1
3 files changed, 1 insertions, 3 deletions
diff --git a/src/soc/amd/stoneyridge/early_fch.c b/src/soc/amd/stoneyridge/early_fch.c
index 5e2be614e0..4cc4729bdd 100644
--- a/src/soc/amd/stoneyridge/early_fch.c
+++ b/src/soc/amd/stoneyridge/early_fch.c
@@ -8,6 +8,7 @@
#include <amdblocks/reset.h>
#include <amdblocks/smbus.h>
#include <amdblocks/spi.h>
+#include <amdblocks/uart.h>
#include <soc/southbridge.h>
#include <types.h>
diff --git a/src/soc/amd/stoneyridge/include/soc/southbridge.h b/src/soc/amd/stoneyridge/include/soc/southbridge.h
index 26500efd04..616a6afe79 100644
--- a/src/soc/amd/stoneyridge/include/soc/southbridge.h
+++ b/src/soc/amd/stoneyridge/include/soc/southbridge.h
@@ -183,8 +183,6 @@ void fch_final(void *chip_info);
void fch_clk_output_48Mhz(u32 osc);
-void set_uart_config(unsigned int idx);
-
/*
* Call the mainboard to get the USB Over Current Map. The mainboard
* returns the map and 0 on Success or -1 on error or no map. There is
diff --git a/src/soc/amd/stoneyridge/uart.c b/src/soc/amd/stoneyridge/uart.c
index 9a8add077b..837a1bff7e 100644
--- a/src/soc/amd/stoneyridge/uart.c
+++ b/src/soc/amd/stoneyridge/uart.c
@@ -6,7 +6,6 @@
#include <soc/aoac_defs.h>
#include <soc/gpio.h>
#include <soc/iomap.h>
-#include <soc/southbridge.h>
#include <types.h>
static const struct soc_uart_ctrlr_info uart_info[] = {