summaryrefslogtreecommitdiff
path: root/boot/Makefile
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/Makefile
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/Makefile')
-rw-r--r--boot/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/Makefile b/boot/Makefile
index 6b7014b41a..9c9613d22a 100644
--- a/boot/Makefile
+++ b/boot/Makefile
@@ -25,6 +25,7 @@ obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootmeth-uclass.o
obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootstd-uclass.o
obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO) += bootmeth_distro.o
+obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO_PXE) += bootmeth_pxe.o
obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o
obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += fdt_region.o