On Sun, Aug 30, 2020 at 5:42 AM Simon Glass <[email protected]> wrote:
>
> At present the 'zboot' command does everything in one go. It would be
> better if it supported sub-commands like bootm, so it is possible to
> examine what will be booted before actually booting it.
>
> In preparation for this, move the 'state' of the command into a struct.
> This will allow it to be shared among multiple functions in this file.
>
> Signed-off-by: Simon Glass <[email protected]>
> Reviewed-by: Wolfgang Wallner <[email protected]>
> ---
>
> (no changes since v1)
>
>  arch/x86/lib/zimage.c | 44 ++++++++++++++++++++++++++++---------------
>  1 file changed, 29 insertions(+), 15 deletions(-)
>

Reviewed-by: Bin Meng <[email protected]>

Reply via email to