commit | e4dfef93a32f42c7ccd6d2c8a14af8996d58e8a4 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Thu Apr 18 17:32:46 2019 +0200 |
committer | Patrice Chotard <patrice.chotard@st.com> | Thu May 23 11:36:47 2019 +0200 |
tree | 7d5ebb157acfe66052cc63ad39ae98bca1986f02 | |
parent | 9c07f4ac3b162900b18298a93a72f70497b81af6 [diff] |
armv7: timer: init timer with bootstage In initf_bootstage() we call bootstage_mark_name() which ends up calling timer_get_us() before timer_init(); that cause crash for stm32mp1. This patch solve the issue without changing the initialization sequence. See also commit 97d20f69f53e ("Enable CONFIG_TIMER_EARLY with bootstage") for other solution when DM is activated for TIMER. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>