summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2021-07-04 21:32:05 +0200
committerTom Rini <[email protected]>2021-07-14 16:48:00 -0400
commit93e310c3a69984aa7e0435994da86c349d2d69d4 (patch)
treee5960ebfcca97bd5f3efb51d5e19423d7c3969cc /scripts/basic
parent10f3e157e8f9d95860033fcaec2953f8cf11d2d6 (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/basic')
0 files changed, 0 insertions, 0 deletions