diff options
| author | Simon Glass <sjg@chromium.org> | 2020-09-05 14:50:40 -0600 |
|---|---|---|
| committer | Bin Meng <bmeng.cn@gmail.com> | 2020-09-25 11:27:07 +0800 |
| commit | c038f3be3b9b9d77077c7a0c89eb0a01302d3ba4 (patch) | |
| tree | 184141afa9bbbd2675522c639f744821a120b10b /scripts | |
| parent | 30b372d41984fe53c329dbc7c9f400bc23210173 (diff) | |
x86: zboot: Move kernel-version code into a function
To help reduce the size and complexity of load_zimage(), move the code
that reads the kernel version into a separate function. Update
get_boot_protocol() to allow printing the 'Magic signature' message only
once, under control of its callers.
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 'scripts')
0 files changed, 0 insertions, 0 deletions
