diff options
author | Simon Glass <sjg@chromium.org> | 2022-04-24 23:31:13 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-25 10:00:04 -0400 |
commit | 31aefaf89a5b5b259244a2ca83862e8d172a03a9 (patch) | |
tree | 81cfc893efbf6c3eb5f26ce4b8a44c0f961613ca /boot/Makefile | |
parent | 7fca71d0d626aed1735f1d9719f473567207affb (diff) |
bootstd: Add an implementation of distro boot
Add a bootmeth driver which handles distro boot from a disk, so we can
boot a bootflow using this commonly used mechanism.
In effect, this provides the same functionality as the 'sysboot' 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/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/Makefile b/boot/Makefile index ac861fd035..6b7014b41a 100644 --- a/boot/Makefile +++ b/boot/Makefile @@ -24,6 +24,8 @@ obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootflow.o 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_)OF_LIBFDT) += image-fdt.o obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += fdt_region.o obj-$(CONFIG_$(SPL_TPL_)FIT) += image-fit.o |