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 <[email protected]>
---

(no changes since v1)

 arch/x86/include/asm/zimage.h | 22 +++++-----
 arch/x86/lib/zimage.c         | 75 +++++++++++++++++------------------
 cmd/bootflow.c                |  5 ++-
 cmd/x86/zboot.c               | 20 ++++++----
 include/bootm.h               |  8 +++-
 5 files changed, 73 insertions(+), 57 deletions(-)

Applied to sjg/master, thanks!

Reply via email to