From 4c2258fe29e8773f0f52cadf8016ff64031a9c01 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Tue, 27 Dec 2016 01:08:02 +0100 Subject: [PATCH] UPSTREAM: mb/ga-m57sli-s4: Fix early uart output The console output is garbled until it is fixed in ramstage by devicetree which sets the uart clock predivider correctly. Change-Id: I6d6ec0febfec98a8d4a71e1476036c804cf5f08d Original-Signed-off-by: Arthur Heymans Original-Reviewed-on: https://review.coreboot.org/17969 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: Kysti Mlkki Signed-off-by: Aaron Durbin Reviewed-on: https://chromium-review.googlesource.com/425495 Commit-Ready: Patrick Georgi Reviewed-by: Patrick Georgi --- src/mainboard/gigabyte/m57sli/romstage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/gigabyte/m57sli/romstage.c b/src/mainboard/gigabyte/m57sli/romstage.c index d42ccc7570..5c426ef56b 100644 --- a/src/mainboard/gigabyte/m57sli/romstage.c +++ b/src/mainboard/gigabyte/m57sli/romstage.c @@ -143,7 +143,7 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) it8716f_enable_dev(SERIAL_DEV, CONFIG_TTYS0_BASE); pnp_exit_ext_func_mode(SERIAL_DEV); #endif - ite_conf_clkin(CLKIN_DEV, ITE_UART_CLK_PREDIVIDE_48); + ite_conf_clkin(CLKIN_DEV, ITE_UART_CLK_PREDIVIDE_24); ite_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE); setup_mb_resource_map();