diff options
author | Heinrich Schuchardt | 2024-07-16 10:35:34 +0200 |
---|---|---|
committer | Tom Rini | 2024-07-19 16:48:07 -0600 |
commit | 4f658510074bf85ee4ddc0fb3d2cb5dd45a1c561 (patch) | |
tree | 055a4b6b5be6a9003c55b5aa6dbeed8599e1ebe3 /boot/Kconfig | |
parent | 0e4638468ff7e96efafd66692688b491a9f310ea (diff) |
boot: provide CONFIG_BOOTMETH_QFW Kconfig parameter
U-Boot is often used conjunction with QEMU to boot via EFI or syslinux.
Here the QFW boot method is not needed.
At least for qemu-riscv64_smode_defconfig the kernel parameter is used
to specify the U-Boot binary. Trying to run U-Boot as a kernel makes
no sense.
Provide Kconfig parameter CONFIG_BOOTMETH_QFW to decide if the QFW boot
method shall be provided.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/Kconfig')
-rw-r--r-- | boot/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index 30d10cb59c2..940389d4882 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -585,6 +585,15 @@ config BOOTMETH_EFI_BOOTMGR the EFI binary to be launched is determined. To set the EFI variables use the eficonfig command. +config BOOTMETH_QFW + bool "Boot method using QEMU parameters" + depends on QFW + default y + help + Use QEMU parameters -kernel, -initrd, -append to determine the kernel, + initial RAM disk, and kernel command line parameters to boot an + operating system. U-Boot's control device-tree is passed to the kernel. + config BOOTMETH_VBE bool "Bootdev support for Verified Boot for Embedded" depends on FIT |