]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi: Correct assumption about if_type
authorSimon Glass <sjg@chromium.org>
Fri, 12 Aug 2022 01:34:58 +0000 (19:34 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 16 Sep 2022 15:05:16 +0000 (11:05 -0400)
commitadbfe8edc3389ba635229195a95217d8b0dfa182
tree8c797c6250085e213bc9f8907cc8ca3d4152525b
parentbb2c9a30c23752accd53119d3964f6e6d1ae4f32
efi: Correct assumption about if_type

efi_set_blk_dev_to_system_partition() assumes that 0 is an invalid
if_type. This is true now but is about to be false. Fix this bug to avoid
a test failure.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/efi_loader/efi_var_file.c