Skip to content
Snippets Groups Projects
Commit c87dc38d authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

bootstage: Require timer_get_boot_us() to be defined


At present we provide a default version of this function for use by
bootstage. However it uses the system timer and therefore likely requires
driver model. This makes it impossible to time driver-model init.

Drop the function and require boards to provide their own. Add a sandbox
version also. There is a default implememtation in lib/time.c for boards
which use CONFIG_SYS_TIMER_COUNTER.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 9fb34b01
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment