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-07-17 14:32:24 +08:00
2020-07-17 14:32:24 +08:00
2020-07-17 14:32:24 +08:00
2020-04-16 14:36:28 +08:00
2020-09-21 16:41:36 +08:00
2020-05-18 21:19:18 -04:00
2019-08-09 22:24:02 +08:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2018-05-07 09:34:12 -04:00
2020-07-17 09:30:13 -04:00
2020-05-18 18:36:55 -04:00
2020-07-17 14:32:24 +08:00
2018-05-07 09:34:12 -04:00
2018-07-19 16:31:36 -04:00
2018-05-07 09:34:12 -04:00
2020-05-17 21:59:53 +02:00
2018-05-07 09:34:12 -04:00
2018-08-20 14:17:43 +02:00
2018-08-20 14:17:43 +02:00
2019-10-08 13:53:54 +08:00
2019-03-11 22:55:01 +08:00
2020-05-18 21:19:18 -04:00
2020-04-30 17:40:16 +08:00
2020-05-18 21:19:18 -04:00
2019-10-08 13:57:48 +08:00
2020-07-17 14:32:24 +08:00
2020-05-18 21:19:18 -04:00
2020-06-02 09:16:13 +08:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00
2018-05-07 09:34:12 -04:00
2018-07-25 14:57:43 +02:00
2018-07-25 14:57:43 +02:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-06-02 09:16:13 +08:00
2018-05-07 09:34:12 -04:00
2020-07-17 14:32:24 +08:00
2020-05-18 21:19:18 -04:00
2020-09-25 11:27:07 +08:00