aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/southbridge.c
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2020-06-18 15:54:43 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-06-19 16:45:55 +0000
commit9412b3e9bbc1ff066d0ae5967624b339259a73c1 (patch)
tree4005822dffa35705b35acd091aa69c49d288b338 /src/soc/amd/picasso/southbridge.c
parent02f7471b19c57c01d02343be9c09b4a9ea8c6fb9 (diff)
soc/amd/picasso/uart: factor out console-related functions
Move uart_platform_base and uart_platform_refclk to their own compilation unit to avoid preprocessor usage. The newly created compilation unit is only added to the build when PICASSO_CONSOLE_UART is selected. Change-Id: I56911addc8c000a0772156e5166720867cdd26fe Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42517 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/picasso/southbridge.c')
-rw-r--r--src/soc/amd/picasso/southbridge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/southbridge.c b/src/soc/amd/picasso/southbridge.c
index 0ff56066e4..0d908c3f73 100644
--- a/src/soc/amd/picasso/southbridge.c
+++ b/src/soc/amd/picasso/southbridge.c
@@ -21,6 +21,7 @@
#include <soc/i2c.h>
#include <soc/southbridge.h>
#include <soc/smi.h>
+#include <soc/uart.h>
#include <soc/amd_pci_int_defs.h>
#include <delay.h>
#include <soc/pci_devs.h>