Skip to content
Snippets Groups Projects
Commit 4d65c6bc authored by Sean Anderson's avatar Sean Anderson Committed by Tom Rini
Browse files

sysinfo: Require that sysinfo_detect be called before other methods


This has the uclass enforce calling detect() before other methods.  This
allows drivers to cache information in detect() and perform (cheaper)
retrieval in the other accessors. This also modifies the only instance
where this sequencing was not followed.

Signed-off-by: default avatarSean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent eed0a7a3
No related branches found
No related tags found
No related merge requests found
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