x86: Move the bootm state for zimage into cmd/
authorSimon Glass <sjg@chromium.org>
Thu, 6 Mar 2025 00:25:00 +0000 (17:25 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 18 Mar 2025 19:12:15 +0000 (13:12 -0600)
commit4e36b1739b03e81ff395959b58fe33e67c4d2233
tree6b7c07901345c9bab566ab6db516ad24c914c881
parent00cfb598e740d8bad79097e7e069ad71d86bbd5a
x86: Move the bootm state for zimage into cmd/

Rather than holding the state in the implementation code, move it to the
command code. The state is now passed to the implementation functions
and can there (with future work) be pass in from bootstd, without going
through the commands.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/zimage.h
arch/x86/lib/zimage.c
cmd/bootflow.c
cmd/x86/zboot.c
include/bootm.h