On Sun, Jul 04, 2021 at 09:32:05PM +0200, Marek Vasut wrote:

> The sysinfo_get_str() implementation checks whether the sysinfo was even
> detected. In U-Boot proper, sysinfo_detect() is not called anywhere but
> on one specific board. Call sysinfo_detect() before sysinfo_get_str() to
> make sure the sysinfo is detected and sysinfo_get_str() returns valid
> value instead of -EPERM.
> 
> Signed-off-by: Marek Vasut <marek.vasut+rene...@gmail.com>
> Cc: Marcel Ziswiler <marcel.ziswi...@toradex.com>
> Cc: Simon Glass <s...@chromium.org>
> Reviewed-by: Simon Glass <s...@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to