Marek Vasut 93e310c3a6 board-info: Call sysinfo_detect() before sysinfo_get_str()
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+renesas@gmail.com>
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2021-07-14 16:48:00 -04:00
..
2021-07-07 10:17:54 -04:00
2021-07-02 15:03:53 -04:00
2021-07-06 10:38:03 -06:00
2020-05-18 21:19:18 -04:00
2021-04-20 07:31:12 -04:00
2021-03-12 17:41:35 -05:00
2021-06-08 11:39:09 -04:00
2021-04-20 07:31:12 -04:00
2021-04-12 17:44:55 -04:00
2021-04-20 07:31:12 -04:00
2021-01-06 07:57:33 -05:00
2020-10-22 09:54:53 -04:00