aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/aoac.c
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2020-06-16 15:35:20 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-06-17 18:52:07 +0000
commit097e44901351f48972dbacd83e91ded4cb2efa33 (patch)
treedbc4d20ef938ba9846cb18b9a8c04365df6b7793 /src/soc/amd/picasso/aoac.c
parentca481ee87f3d10d2b2ca6de8151a79850f059585 (diff)
soc/amd/picasso: rename PICASSO_UART Kconfig option
The PICASSO_UART Kconfig option is about using the internal MMIO UART controllers in Picasso for console, so rename it to PICASSO_CONSOLE_UART Change-Id: I38ac9ee96af826fe49307b4d0e055a43fcbd4334 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42429 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd/picasso/aoac.c')
-rw-r--r--src/soc/amd/picasso/aoac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/picasso/aoac.c b/src/soc/amd/picasso/aoac.c
index 2bf99845c9..f31afbf808 100644
--- a/src/soc/amd/picasso/aoac.c
+++ b/src/soc/amd/picasso/aoac.c
@@ -76,13 +76,13 @@ void enable_aoac_devices(void)
for (i = 0; i < ARRAY_SIZE(aoac_devs); i++)
power_on_aoac_device(aoac_devs[i]);
- if (CONFIG(PICASSO_UART))
+ if (CONFIG(PICASSO_CONSOLE_UART))
power_on_aoac_device(FCH_AOAC_UART_FOR_CONSOLE);
/* Wait for AOAC devices to indicate power and clock OK */
for (i = 0; i < ARRAY_SIZE(aoac_devs); i++)
wait_for_aoac_enabled(aoac_devs[i]);
- if (CONFIG(PICASSO_UART))
+ if (CONFIG(PICASSO_CONSOLE_UART))
wait_for_aoac_enabled(FCH_AOAC_UART_FOR_CONSOLE);
}