diff options
author | Felix Held <felix.held@amd.corp-partner.google.com> | 2020-06-16 15:35:20 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-06-17 18:52:07 +0000 |
commit | 097e44901351f48972dbacd83e91ded4cb2efa33 (patch) | |
tree | dbc4d20ef938ba9846cb18b9a8c04365df6b7793 /src/soc/amd/picasso/uart.c | |
parent | ca481ee87f3d10d2b2ca6de8151a79850f059585 (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/uart.c')
-rw-r--r-- | src/soc/amd/picasso/uart.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/picasso/uart.c b/src/soc/amd/picasso/uart.c index f523bce162..0d97fd701e 100644 --- a/src/soc/amd/picasso/uart.c +++ b/src/soc/amd/picasso/uart.c @@ -31,14 +31,14 @@ static const struct _uart_info { }; /* - * Don't provide uart_platform_base and uart_platform_refclk functions if PICASSO_UART + * Don't provide uart_platform_base and uart_platform_refclk functions if PICASSO_CONSOLE_UART * isn't selected. Those two functions are used by the console UART driver and need to be * provided exactly once and only by the UART that is used for console. * * TODO: Replace the #if block by factoring out the two functions into a different compilation * unit. */ -#if CONFIG(PICASSO_UART) +#if CONFIG(PICASSO_CONSOLE_UART) uintptr_t uart_platform_base(int idx) { @@ -53,7 +53,7 @@ unsigned int uart_platform_refclk(void) return CONFIG(PICASSO_UART_48MZ) ? 48000000 : 115200 * 16; } -#endif /* PICASSO_UART */ +#endif /* PICASSO_CONSOLE_UART */ void clear_uart_legacy_config(void) { |