summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/picasso/early_fch.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-12-09 16:25:18 +0100
committerFelix Held <felix-coreboot@felixheld.de>2020-12-11 00:42:32 +0000
commit0dfaf33a1331ede41c052be20217abcf2b70e141 (patch)
treeed9b05541a01a7763debb1d63c93c337a2e0c9f9 /src/soc/amd/picasso/early_fch.c
parente7a0202ed04db7aa5033e659345ccc75c3bc0773 (diff)
downloadcoreboot-0dfaf33a1331ede41c052be20217abcf2b70e141.tar.gz
coreboot-0dfaf33a1331ede41c052be20217abcf2b70e141.tar.bz2
coreboot-0dfaf33a1331ede41c052be20217abcf2b70e141.zip
soc/amd/picasso: rename PICASSO_CONSOLE_UART to AMD_SOC_CONSOLE_UART
This allows factoring out the common initialization for the integrated UARTs. Change-Id: I7399a13b9280b732086c6f8e6dfd9f1207d8c8ff Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48508 Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/picasso/early_fch.c')
-rw-r--r--src/soc/amd/picasso/early_fch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/picasso/early_fch.c b/src/soc/amd/picasso/early_fch.c
index f56a7585a444..a9118adfad62 100644
--- a/src/soc/amd/picasso/early_fch.c
+++ b/src/soc/amd/picasso/early_fch.c
@@ -39,7 +39,7 @@ void fch_pre_init(void)
*/
clear_uart_legacy_config();
- if (CONFIG(PICASSO_CONSOLE_UART))
+ if (CONFIG(AMD_SOC_CONSOLE_UART))
set_uart_config(CONFIG_UART_FOR_CONSOLE);
}