summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2020-09-05 14:50:40 -0600
committerBin Meng <[email protected]>2020-09-25 11:27:07 +0800
commitc038f3be3b9b9d77077c7a0c89eb0a01302d3ba4 (patch)
tree184141afa9bbbd2675522c639f744821a120b10b /include/linux
parent30b372d41984fe53c329dbc7c9f400bc23210173 (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 <[email protected]> Reviewed-by: Wolfgang Wallner <[email protected]> Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions