mb/siemens/mc_ehl: Move UART_FOR_CONSOLE switch to variant level

There are currently two variants for mc_ehl where different UARTs are
used for the console. Move the Kconfig switch UART_FOR_CONSOLE to the
Kconfig of the variant and select the matching value there.

Change-Id: I7152013a0e32ff151b92932a47953705e591dc0d
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58052
Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Werner Zeh
2021-09-30 14:05:34 +02:00
committed by Felix Held
parent 264ace99e8
commit b1e4a9a6c3
3 changed files with 8 additions and 5 deletions

View File

@ -34,9 +34,4 @@ config DEVICETREE
config DIMM_SPD_SIZE
default 512
config UART_FOR_CONSOLE
int
default 2 if INTEL_LPSS_UART_FOR_CONSOLE
default 0
endif # BOARD_SIEMENS_BASEBOARD_MC_EHL

View File

@ -8,4 +8,8 @@ config BOARD_SPECIFIC_OPTIONS
config FMDFILE
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/mc_ehl.fmd"
config UART_FOR_CONSOLE
int
default 2
endif # BOARD_SIEMENS_MC_EHL1

View File

@ -8,4 +8,8 @@ config BOARD_SPECIFIC_OPTIONS
config FMDFILE
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/mc_ehl.fmd"
config UART_FOR_CONSOLE
int
default 0
endif # BOARD_SIEMENS_MC_EHL2