diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2016-04-28 12:09:55 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-04-29 07:34:52 -0700 |
commit | 2b79492093935e3fe2aa2117216a819a3974d70b (patch) | |
tree | f1827fc71dbdc8ca4c74284842c3227eb13c7be8 /chip/stm32/clock-stm32l4.c | |
parent | 66473502c94b71b752e72907b062357f943d818c (diff) | |
download | chrome-ec-2b79492093935e3fe2aa2117216a819a3974d70b.tar.gz |
STM32: Set UART clock sources to SYSCLK
Since uart_freq_change assumes we drive UARTs at system clock, we need to
set UARTs clock sources accordingly. This will allow us to clock up the
chip without worrying about prescaler values set for HCLK and PCLK or the
on/off status of HSI.
BUG=none
BRANCH=tot
TEST=make buildall. Verified LPUART on stm32l476g-eval.
Change-Id: I02898921e31b68cacbc2235a29c47a212c350afe
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/341260
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/stm32/clock-stm32l4.c')
0 files changed, 0 insertions, 0 deletions