summaryrefslogtreecommitdiff
path: root/boot/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-04-25 08:31:16 +0300
committerTom Rini <trini@konsulko.com>2022-04-25 17:00:04 +0300
commitdab2c2859b68ad04f276555812ecfbb25680cc61 (patch)
tree634bbacc3713cc4f31a203b271d4d16e8403a84e /boot/Kconfig
parent4fd8d077cb6986385fa8af1b9b11f0fb2cdeb609 (diff)
downloadu-boot-dab2c2859b68ad04f276555812ecfbb25680cc61.tar.xz
bootstd: Add an implementation of distro PXE boot
Add a bootmeth driver which handles distro boot from a network device, so we can boot a bootflow using this commonly used mechanism. In effect, this provides the same functionality as the 'pxe' command and shares the same code. But the interface into it is via a bootmeth. For now this requires the 'pxe' command be enabled. Future work may tidy this up so that it can be used without CONFIG_CMDLINE being enabled. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/Kconfig')
-rw-r--r--boot/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index d34c31303d..9e02a7549a 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -339,6 +339,16 @@ config BOOTMETH_DISTRO
This provides a way to try out standard boot on an existing boot flow.
+config BOOTMETH_DISTRO_PXE
+ bool "Bootdev support for distro boot over network"
+ depends on CMD_PXE && CMD_NET && DM_ETH
+ default y
+ help
+ Enables support for distro boot using bootdevs. This makes the
+ bootdevs look for a 'extlinux/extlinux.conf' on the tftp server.
+
+ This provides a way to try out standard boot on an existing boot flow.
+
endif
config LEGACY_IMAGE_FORMAT