Re: [PATCH v2 02/16] x86: zimage: Use a state struct to hold the state

2020-09-01 Thread Bin Meng
On Sun, Aug 30, 2020 at 5:42 AM Simon Glass 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

[PATCH v2 02/16] x86: zimage: Use a state struct to hold the state

2020-08-29 Thread Simon Glass
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