]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: Use a function to detect network in EFI bootmeth
authorSimon Glass <sjg@chromium.org>
Thu, 27 Jul 2023 03:01:22 +0000 (21:01 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 3 Aug 2023 19:30:54 +0000 (15:30 -0400)
commit146242cc998ed6e002831d4ff409189353e1960a
treed8a4908a7eeb7bb3a2ece1c1aff48612522c4ea9
parent0c0c82b5177e9afb3a248da4d004f3dc48975c91
bootstd: Use a function to detect network in EFI bootmeth

This checks for a network-based bootflow in two places, one of which is
less than ideal. Move the correct test into a function and use it in both
places.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootmeth_efi.c