mb/siemens/mc_rpl1: Adjust UART settings and enable LPSS UART
Enable UART0, UART1 and UART2 in the devicetree. Adjust current UART console configuration from UART0 to UART2. Additionally, enable LPSS UART for the coreboot console on UART2. Change-Id: I4ba521b3edd6a37f726a256a26051d5ab9acadfc Signed-off-by: Kilian Krause <kilian.krause@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/88885 Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
524fd18bd6
commit
2bcd7f1522
4 changed files with 14 additions and 12 deletions
|
|
@ -14,7 +14,6 @@ config BOARD_SIEMENS_BASEBOARD_MC_RPL
|
|||
select SOC_INTEL_ALDERLAKE_PCH_P
|
||||
select SOC_INTEL_RAPTORLAKE
|
||||
|
||||
|
||||
config BOARD_SIEMENS_MC_RPL1
|
||||
select BOARD_SIEMENS_BASEBOARD_MC_RPL
|
||||
|
||||
|
|
@ -48,10 +47,6 @@ config OVERRIDE_DEVICETREE
|
|||
config FMDFILE
|
||||
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/mc_rpl.fmd"
|
||||
|
||||
config UART_FOR_CONSOLE
|
||||
int
|
||||
default 0
|
||||
|
||||
config DIMM_SPD_SIZE
|
||||
int
|
||||
default 256
|
||||
|
|
|
|||
|
|
@ -53,12 +53,6 @@ chip soc/intel/alderlake
|
|||
[PchSerialIoIndexGSPI3] = 0,
|
||||
}"
|
||||
|
||||
register "serial_io_uart_mode" = "{
|
||||
[PchSerialIoIndexUART0] = PchSerialIoSkipInit,
|
||||
[PchSerialIoIndexUART1] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexUART2] = PchSerialIoDisabled,
|
||||
}"
|
||||
|
||||
# Intel Common SoC Config
|
||||
register "common_soc_config" = "{
|
||||
.gspi[1] = {
|
||||
|
|
@ -166,7 +160,6 @@ chip soc/intel/alderlake
|
|||
end
|
||||
device ref crashlog off end
|
||||
device ref sata on end
|
||||
device ref uart0 on end
|
||||
device ref gspi0 on end
|
||||
device ref p2sb on end
|
||||
device ref gspi1 on
|
||||
|
|
|
|||
|
|
@ -4,5 +4,10 @@ if BOARD_SIEMENS_MC_RPL1
|
|||
|
||||
config BOARD_SPECIFIC_OPTIONS
|
||||
def_bool y
|
||||
select INTEL_LPSS_UART_FOR_CONSOLE
|
||||
|
||||
config UART_FOR_CONSOLE
|
||||
int
|
||||
default 2
|
||||
|
||||
endif # BOARD_SIEMENS_MC_RPL1
|
||||
|
|
|
|||
|
|
@ -28,6 +28,12 @@ chip soc/intel/alderlake
|
|||
[PchSerialIoIndexI2C5] = PchSerialIoDisabled,
|
||||
}"
|
||||
|
||||
register "serial_io_uart_mode" = "{
|
||||
[PchSerialIoIndexUART0] = PchSerialIoSkipInit,
|
||||
[PchSerialIoIndexUART1] = PchSerialIoSkipInit,
|
||||
[PchSerialIoIndexUART2] = PchSerialIoSkipInit,
|
||||
}"
|
||||
|
||||
# Intel Common SoC Config
|
||||
register "common_soc_config" = "{
|
||||
.i2c[0] = {
|
||||
|
|
@ -107,5 +113,8 @@ chip soc/intel/alderlake
|
|||
end
|
||||
end
|
||||
end
|
||||
device ref uart0 on end
|
||||
device ref uart1 on end
|
||||
device ref uart2 on end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue