diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2020-11-06 08:11:59 +0100 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2020-11-25 10:29:23 +0100 |
commit | 183362947c4d538c9377dfeac7934c234b2b6a01 (patch) | |
tree | eb6ce74034fad6af3ad64c6d6d745a10fbc1f64b /arch/arm/dts/stm32429i-eval-u-boot.dtsi | |
parent | 61c88ace4bad5c7956acbb952835b2fc81e99157 (diff) | |
download | u-boot-183362947c4d538c9377dfeac7934c234b2b6a01.zip u-boot-183362947c4d538c9377dfeac7934c234b2b6a01.tar.gz u-boot-183362947c4d538c9377dfeac7934c234b2b6a01.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/dts/stm32429i-eval-u-boot.dtsi')
-rw-r--r-- | arch/arm/dts/stm32429i-eval-u-boot.dtsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/dts/stm32429i-eval-u-boot.dtsi b/arch/arm/dts/stm32429i-eval-u-boot.dtsi index 1e7429b..e75cf99 100644 --- a/arch/arm/dts/stm32429i-eval-u-boot.dtsi +++ b/arch/arm/dts/stm32429i-eval-u-boot.dtsi @@ -217,3 +217,7 @@ }; }; }; + +&timer5 { + u-boot,dm-pre-reloc; +}; |