intel/fsp_broadwell_de: Set FSP serial speed to match coreboot's
This makes FSP use the same baud rate as coreboot so that the user can more easily change it without having to modify the FSP binary. Change-Id: I0084aa9a0394ad7eabdd88809b66fc21a25ba316 Signed-off-by: David Hendricks <dhendricks@fb.com> Reviewed-on: https://review.coreboot.org/25666 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
This commit is contained in:
parent
57d8ccb5f0
commit
f8d13d5658
|
@ -51,8 +51,20 @@ static void ConfigureDefaultUpdData(UPD_DATA_REGION *UpdData)
|
|||
/*
|
||||
* Serial Port
|
||||
*/
|
||||
if (IS_ENABLED(CONFIG_INTEGRATED_UART))
|
||||
if (IS_ENABLED(CONFIG_INTEGRATED_UART)) {
|
||||
UpdData->SerialPortConfigure = 1;
|
||||
/* values are from FSP .bsf file */
|
||||
if (IS_ENABLED(CONFIG_CONSOLE_SERIAL_9600))
|
||||
UpdData->SerialPortBaudRate = 8;
|
||||
else if (IS_ENABLED(CONFIG_CONSOLE_SERIAL_19200))
|
||||
UpdData->SerialPortBaudRate = 9;
|
||||
else if (IS_ENABLED(CONFIG_CONSOLE_SERIAL_38400))
|
||||
UpdData->SerialPortBaudRate = 10;
|
||||
else if (IS_ENABLED(CONFIG_CONSOLE_SERIAL_57600))
|
||||
UpdData->SerialPortBaudRate = 11;
|
||||
else if (IS_ENABLED(CONFIG_CONSOLE_SERIAL_115200))
|
||||
UpdData->SerialPortBaudRate = 12;
|
||||
}
|
||||
|
||||
/*
|
||||
* Memory Down
|
||||
|
|
Loading…
Reference in New Issue