
1 Sep
2020
1 Sep
'20
10:48 a.m.
On Sun, Aug 30, 2020 at 5:42 AM Simon Glass sjg@chromium.org wrote:
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
(no changes since v1)
arch/x86/lib/zimage.c | 43 +++++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 16 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com