diff options
author | Simon Glass | 2020-09-05 14:50:38 -0600 |
---|---|---|
committer | Bin Meng | 2020-09-25 11:27:07 +0800 |
commit | e81483748835df1f45be73a84eb13ce9592f8300 (patch) | |
tree | 110c4a5f3d9ea6dcea150ea18c22d3c8c000a7cd /board/Seagate | |
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 <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'board/Seagate')
0 files changed, 0 insertions, 0 deletions