summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-12-03 17:29:28 -0700
committerTom Rini <trini@konsulko.com>2024-04-10 13:49:15 -0600
commit80d4c987576070082ed27da88aed732d42396135 (patch)
treeeb8588681366d2f5f93595f47abb745b90779fac /cmd
parentbade0ac04b96d92642b3d433734cde2f00ab7fc5 (diff)
downloadu-boot-80d4c987576070082ed27da88aed732d42396135.tar.gz
u-boot-80d4c987576070082ed27da88aed732d42396135.tar.bz2
u-boot-80d4c987576070082ed27da88aed732d42396135.zip
x86: zboot: Create a separate ZBOOT option for zboot logic
Most of the functionality of zboot is contained in the logic which handles a zimage. Create a separate Kconfig for the logic so that it can (later) be used without the command itself being enabled. Enable ZBOOT by default on x86, with the command depending on that. The existing 'imply' can therefore be removed. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 9ebea76c2c..584ffd0396 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -538,6 +538,8 @@ config THOR_RESET_OFF
config CMD_ZBOOT
bool "zboot - x86 boot command"
+ depends on ZBOOT
+ default y
help
With x86 machines it is common to boot a bzImage file which
contains both a kernel and a setup.bin file. The latter includes