[PATCH 04/16] x86: zboot: Move kernel-version code into a function

Wolfgang Wallner wolfgang.wallner at br-automation.com
Thu Aug 13 13:22:18 CEST 2020


Hi Simon,

-----"Simon Glass" <sjg at chromium.org> schrieb: -----
> Betreff: [PATCH 04/16] 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 at chromium.org>
> ---
> 
>  arch/x86/lib/zimage.c | 43 +++++++++++++++++++++++++++----------------
>  1 file changed, 27 insertions(+), 16 deletions(-)

Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>


More information about the U-Boot mailing list