]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: dts: stm32: Fix timer initialization for stm32 MCU's board
authorPatrice Chotard <patrice.chotard@st.com>
Fri, 6 Nov 2020 07:11:59 +0000 (08:11 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Wed, 25 Nov 2020 09:29:23 +0000 (10:29 +0100)
commit183362947c4d538c9377dfeac7934c234b2b6a01
treeeb6ce74034fad6af3ad64c6d6d745a10fbc1f64b
parent61c88ace4bad5c7956acbb952835b2fc81e99157
ARM: dts: stm32: Fix timer initialization for stm32 MCU's board

Commit 4b2be78ab66c ("time: Fix get_ticks being non-monotonic")
puts in evidence that get_ticks is called before timer initialization.
Fix it by initializing timer before relocation.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/dts/stm32429i-eval-u-boot.dtsi
arch/arm/dts/stm32f429-disco-u-boot.dtsi
arch/arm/dts/stm32f469-disco-u-boot.dtsi
arch/arm/dts/stm32f746-disco-u-boot.dtsi
arch/arm/dts/stm32h7-u-boot.dtsi