
10 Nov
2017
10 Nov
'17
6:16 a.m.
On 26 October 2017 at 05:23, patrice.chotard@st.com wrote:
From: Patrice Chotard patrice.chotard@st.com
Fix clock division factor initialization for RCC_PLLCFGR registers.
PLLR bits (bit 31-28) in RCC_PLLCFGR must not be cleared, it's a forbidden value. So update RCC_PLLCFGR using clrsetbits_le32() to set only necessary bits fields.
Signed-off-by: Patrice Chotard patrice.chotard@st.com
drivers/clk/clk_stm32f7.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org