soc/intel: Replace UART_BASE() and friends with a Kconfig
Re-add the Kconfig CONSOLE_UART_BASE_ADDRESS. It was lost by accident on APL at least. It is used outside of soc/intel/ scope, e.g. to con- figure SeaBIOS. As we only ever configure a single UART for the coreboot console, we don't need different addresses for each possible UART. Which saves us a lot of code. Change-Id: I28e1d98aa37a6acb57b98b8882fc4fa131d5d309 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33098 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
@@ -138,6 +138,11 @@ config SOC_INTEL_UART_DEV_MAX
|
||||
int
|
||||
default 3
|
||||
|
||||
config CONSOLE_UART_BASE_ADDRESS
|
||||
hex
|
||||
default 0xfe032000
|
||||
depends on INTEL_LPSS_UART_FOR_CONSOLE
|
||||
|
||||
# Clock divider parameters for 115200 baud rate
|
||||
config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
|
||||
hex
|
||||
|
Reference in New Issue
Block a user