Skip to content
Snippets Groups Projects
  • Simon Glass's avatar
    1736b4af
    bootstd: Report missing labels only when asked · 1736b4af
    Simon Glass authored and Tom Rini's avatar Tom Rini committed
    
    Use the -l flag to indicate whether to report missing uclasses.
    
    Also try to be more helpful when no devices are found. For example, when
    we see something 'scsi0' requested and nothing was found, this indicates
    that there are no SCSI devices, so show a suitable message.
    
    Move messages out of the low-level functions so that silent operation
    is possible.
    
    This means they are never reported unless BOOTSTD_FULL is enabled, since
    the -l flag cannot otherwise be set.
    
    Suggested-by: default avatarTom Rini <trini@konsulko.com>
    
    Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
    1736b4af
    History
    bootstd: Report missing labels only when asked
    Simon Glass authored and Tom Rini's avatar Tom Rini committed
    
    Use the -l flag to indicate whether to report missing uclasses.
    
    Also try to be more helpful when no devices are found. For example, when
    we see something 'scsi0' requested and nothing was found, this indicates
    that there are no SCSI devices, so show a suitable message.
    
    Move messages out of the low-level functions so that silent operation
    is possible.
    
    This means they are never reported unless BOOTSTD_FULL is enabled, since
    the -l flag cannot otherwise be set.
    
    Suggested-by: default avatarTom Rini <trini@konsulko.com>
    
    Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>