diff options
| author | Simon Glass <[email protected]> | 2020-09-05 14:50:38 -0600 |
|---|---|---|
| committer | Bin Meng <[email protected]> | 2020-09-25 11:27:07 +0800 |
| commit | e81483748835df1f45be73a84eb13ce9592f8300 (patch) | |
| tree | 110c4a5f3d9ea6dcea150ea18c22d3c8c000a7cd /include | |
| parent | 6e04cb76dba579cf73f22d19e654dade1a17b5c0 (diff) | |
x86: zimage: Use a state struct to hold the state
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]>
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
