From: Tom Rini Date: Thu, 6 May 2021 11:02:45 -0400 Subject: [PATCH v4 3/5] sysinfo: Require that sysinfo_detect be called before other methods In-Reply-To: <20210420145058.3934010-4-sean.anderson@seco.com> References: <20210420145058.3934010-1-sean.anderson@seco.com> <20210420145058.3934010-4-sean.anderson@seco.com> Message-ID: <20210506150245.GJ17669@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: