]> git.dujemihanovic.xyz Git - u-boot.git/commit
efidebug: avoid 'dfu_alt_info not defined' message
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 15 Jan 2022 01:11:22 +0000 (02:11 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 15 Jan 2022 09:57:22 +0000 (10:57 +0100)
commit717b33cb9b51ec70a3795783eaf02836bfa9b098
tree1a70013dc577072adfdc1efd4cc089f4a7adc1be
parenta2f1482fc0e6c5dbdbafecd360d168f9c12fc529
efidebug: avoid 'dfu_alt_info not defined' message

If variable dfu_alt_info is not defined duplicate messages are displayed.

    => efidebug boot dump
    Scanning disk mmc2.blk...
    Scanning disk mmc1.blk...
    Scanning disk mmc0.blk...
    Found 3 disks
    No EFI system partition
    "dfu_alt_info" env variable not defined!
    Probably dfu_alt_info not defined
    "dfu_alt_info" env variable not defined!
    Probably dfu_alt_info not defined

Remove the 'Probably dfu_alt_info not defined' message.
Instead write a warning if the variable contains no entities.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_firmware.c