Avoid a crash on platforms with no SKU information
At present 'mosys platform signature' assumes that SKU information is
present and crashes if it is not. This command is normally used only with
unified builds, but there is no guarantee that the board actually uses
cro_config to read the SKU information.
Fix this by adding a NULL check.
TEST=manual test on kahlee
Signed-off-by: Simon Glass <email@example.com>
1 file changed