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:
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user