Simon Glass c038f3be3b 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>
2020-09-25 11:27:07 +08:00
..
2020-08-01 11:58:23 +02:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2019-10-08 13:53:54 +08:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-06-02 09:16:13 +08:00
2020-07-17 14:32:24 +08:00
2020-05-18 21:19:18 -04:00