u-boot/boot
Amjad Ouled-Ameur c2969792c4 cmd: pxe_utils: sysboot: add label override support
This will allow consumers to choose a pxe label at runtime instead of
having to prompt the user. One good use-case for this, is choosing
whether or not to apply a dtbo depending on the hardware configuration.
e.g: for TI's AM335x EVM, it would be convenient to apply a particular
dtbo only when the J9 jumper is on PRUSS mode. To achieve this, the
pxe menu should have 2 labels, one with the dtbo and the other without,
then the "pxe_label_override" env variable should point to the label with
the dtbo at runtime only when the jumper is on PRUSS mode.

This change can be used for different use-cases and bring more
flexibilty to consumers who use sysboot/pxe_utils.

if "pxe_label_override" is set but does not exist in the pxe menu,
the code should fallback to the default label if given, and no failure
is returned but rather a warning message.

Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Artem Lapkin <email2tema@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
2022-01-15 18:42:48 +02:00
..
android_ab.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
boot_fit.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
bootm.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
bootm_os.c bootm: Tidy up use of autostart env var 2021-11-16 14:35:09 -05:00
bootretry.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
common_fit.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
fdt_region.c fdtgrep: Handle an empty output tree 2021-12-17 09:44:59 -07:00
image-android-dt.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-android.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-board.c Revert "image: Remove #ifdefs from select_ramdisk()" 2021-12-20 09:36:32 -05:00
image-cipher.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-fdt.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-fit-sig.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-fit.c image: fit: Fix parameter name for hash algorithm 2021-11-17 17:04:59 -05:00
image-host.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-sig.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image.c image: Explicitly declare do_bdinfo() 2021-11-15 14:33:33 -05:00
Kconfig Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
Makefile pxe: Move pxe_utils files 2021-11-11 19:02:21 -05:00
pxe_utils.c cmd: pxe_utils: sysboot: add label override support 2022-01-15 18:42:48 +02:00