diff options
| author | Marek Vasut <[email protected]> | 2021-07-04 21:32:05 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-07-14 16:48:00 -0400 |
| commit | 93e310c3a69984aa7e0435994da86c349d2d69d4 (patch) | |
| tree | e5960ebfcca97bd5f3efb51d5e19423d7c3969cc /scripts | |
| parent | 10f3e157e8f9d95860033fcaec2953f8cf11d2d6 (diff) | |
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 <[email protected]>
Cc: Marcel Ziswiler <[email protected]>
Cc: Simon Glass <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
