Skip to content
Commit c596877e authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Patrice Chotard
Browse files

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 97d20f69 ("Enable CONFIG_TIMER_EARLY with bootstage")
for other solution when DM is activated for TIMER.

Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent 3419982b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment