summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/Kconfig
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/Kconfig
parentca481ee87f3d10d2b2ca6de8151a79850f059585 (diff)
downloadcoreboot-097e44901351f48972dbacd83e91ded4cb2efa33.tar.xz
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/Kconfig')
-rw-r--r--src/soc/amd/picasso/Kconfig10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/soc/amd/picasso/Kconfig b/src/soc/amd/picasso/Kconfig
index e23cfd8f87..dd5731df05 100644
--- a/src/soc/amd/picasso/Kconfig
+++ b/src/soc/amd/picasso/Kconfig
@@ -254,8 +254,8 @@ config PICASSO_ACPI_IO_BASE
help
Base address for the ACPI registers.
-config PICASSO_UART
- bool "UART controller on Picasso"
+config PICASSO_CONSOLE_UART
+ bool "Use Picasso UART controller for console"
default n
select DRIVERS_UART_8250MEM
select DRIVERS_UART_8250MEM_32
@@ -270,7 +270,7 @@ config PICASSO_UART
choice PICASSO_UART_CLOCK_SOURCE
prompt "UART Frequency"
- depends on PICASSO_UART
+ depends on PICASSO_CONSOLE_UART
default PICASSO_UART_48MZ
config PICASSO_UART_48MZ
@@ -288,7 +288,7 @@ endchoice
config PICASSO_UART_LEGACY
bool "Decode legacy I/O range"
- depends on PICASSO_UART
+ depends on PICASSO_CONSOLE_UART # TODO: shouldn't depend on this
help
Assign I/O 3F8, 2F8, etc. to a Picasso UART. Only a single UART may
decode legacy addresses and this option enables the one used for the
@@ -296,7 +296,7 @@ config PICASSO_UART_LEGACY
of MMIO. The MMIO decode is still present when this option is used.
config CONSOLE_UART_BASE_ADDRESS
- depends on CONSOLE_SERIAL && PICASSO_UART
+ depends on CONSOLE_SERIAL && PICASSO_CONSOLE_UART
hex
default 0xfedc9000 if UART_FOR_CONSOLE = 0
default 0xfedca000 if UART_FOR_CONSOLE = 1