Skip to content
Commit d9f48579 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

bootstd: Treat DHCP and PXE as bootdev labels



These are associated with the ethernet boot device but do not match its
uclass name, so handle them as special cases.

Provide a way to pass flags through with the bootdev so that we know
how to process it. The flags are checked by the bootmeths, to ensure that
only the selected bootmeth is used.

While these both use the network device, they work quite differently. It
is common to run only one of these, or to run PXE before DHCP. Provide
bootflow flags to control which methods are used. Check these in the two
bootmeths so that only the chosen one is used.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 5143a41e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment