commit | 6ccf10a944dcf4a632c875c52bfd3eacaf15771a | [log] [tgz] |
---|---|---|
author | Sean Anderson <sean.anderson@seco.com> | Tue Apr 20 10:50:56 2021 -0400 |
committer | Tom Rini <trini@konsulko.com> | Tue May 04 07:57:18 2021 -0400 |
tree | c316ea01cce93a65522e5a08bef090cb01a16e74 | |
parent | af184cb3aaf2f2c64067961d8c418759ab92933f [diff] |
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: Sean Anderson <sean.anderson@seco.com> Reviewed-by: Simon Glass <sjg@chromium.org>