[PATCH v4 3/5] sysinfo: Require that sysinfo_detect be called before other methods
trini at konsulko.com
Thu May 6 17:02:45 CEST 2021
On Tue, Apr 20, 2021 at 10:50:56AM -0400, Sean Anderson wrote:
> 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 at seco.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 659 bytes
Desc: not available
More information about the U-Boot