summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorLean Sheng Tan <lean.sheng.tan@intel.com>2021-07-19 01:57:16 -0700
committerWerner Zeh <werner.zeh@siemens.com>2021-07-29 05:18:48 +0000
commit471dca7b107d7d1b2e6d6b186f14ba2f23a90215 (patch)
treebb9cfd0dbd9d2e14d30dfc10bb90a8307760662a /src/soc
parent719d85bf569697a489a6ba7416870f4ec6d5b086 (diff)
soc/intel/elkhartlake: Update UART clock divider params
As EHL UART source clock is 120MHz, update the clock divider parameters (M & N) to reflect the right value. Signed-off-by: Lean Sheng Tan <lean.sheng.tan@intel.com> Change-Id: I30c21bc4d1ef901a318a12664b61be75c1acf23b Reviewed-on: https://review.coreboot.org/c/coreboot/+/56422 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/elkhartlake/Kconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/intel/elkhartlake/Kconfig b/src/soc/intel/elkhartlake/Kconfig
index 7242e6ee5b..beea595b59 100644
--- a/src/soc/intel/elkhartlake/Kconfig
+++ b/src/soc/intel/elkhartlake/Kconfig
@@ -168,15 +168,15 @@ config CONSOLE_UART_BASE_ADDRESS
depends on INTEL_LPSS_UART_FOR_CONSOLE
# Clock divider parameters for 115200 baud rate
-# Baudrate = (UART source clcok * M) /(N *16)
-# EHL UART source clock: 100MHz
+# Baudrate = (UART source clock * M) /(N *16)
+# EHL UART source clock: 120MHz
config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
hex
- default 0x30
+ default 0x25a
config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
hex
- default 0xc35
+ default 0x7fff
config VBOOT
select VBOOT_SEPARATE_VERSTAGE