]> git.baikalelectronics.ru Git - uboot.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)
commit4a312f10563bb3e09fc4ce48216a0187bbc53dc1
treed8a4908a7eeb7bb3a2ece1c1aff48612522c4ea9
parent3c9ddefd68d3ef60e920b76252aec3311926295a
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