diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-07-05 17:20:11 +0200 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2019-07-12 11:18:53 +0200 |
commit | dfda7d4c834538c2e72992e420703a043d1e3f17 (patch) | |
tree | ecaf3f04397f980a501b66bfd51c5a4cee757234 /drivers/clk/clk_stm32mp1.c | |
parent | 72d18583a1c771f486bdef8f2747cbbcda1094f6 (diff) |
stm32mp1: syscon: remove stgen
Reduce difference with kernel Linux device tree.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/clk/clk_stm32mp1.c')
-rw-r--r-- | drivers/clk/clk_stm32mp1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/clk_stm32mp1.c b/drivers/clk/clk_stm32mp1.c index f295e4864b..5f15853114 100644 --- a/drivers/clk/clk_stm32mp1.c +++ b/drivers/clk/clk_stm32mp1.c @@ -1542,8 +1542,7 @@ static void stgen_config(struct stm32mp1_clk_priv *priv) u32 stgenc, cntfid0; ulong rate; - stgenc = (u32)syscon_get_first_range(STM32MP_SYSCON_STGEN); - + stgenc = STM32_STGEN_BASE; cntfid0 = readl(stgenc + STGENC_CNTFID0); p = stm32mp1_clk_get_parent(priv, STGEN_K); rate = stm32mp1_clk_get(priv, p); |