[PATCH v2 04/16] x86: zboot: Move kernel-version code into a function
Bin Meng
bmeng.cn at gmail.com
Tue Sep 1 10:48:14 CEST 2020
On Sun, Aug 30, 2020 at 5:42 AM Simon Glass <sjg at 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 at chromium.org>
> Reviewed-by: Wolfgang Wallner <wolfgang.wallner at 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 at gmail.com>
More information about the U-Boot
mailing list