]> git.baikalelectronics.ru Git - uboot.git/commit
clk: stm32mp1: fix CK_MPU calculation
authorLionel Debieve <lionel.debieve@st.com>
Fri, 24 Apr 2020 13:47:57 +0000 (15:47 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Thu, 14 May 2020 07:02:12 +0000 (09:02 +0200)
commitd7b60856d6ddd5735644839ca3240baf4c0103a6
treec1d4fdc0c212b63fd404eadce061b07b2b255859
parent9a381e4f2de78ddad70c84d8aadcef73f4981c3f
clk: stm32mp1: fix CK_MPU calculation

When the CK_MPU used PLL1_MPUDIV, the current rate is
wrong. The clock must use stm32mp1_mpu_div as a shift
value. Fix the check value used to enter PLL_MPUDIV.

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/clk/clk_stm32mp1.c