diff options
| author | Kory Maincent <[email protected]> | 2021-02-02 16:42:29 +0100 |
|---|---|---|
| committer | Bin Meng <[email protected]> | 2021-02-03 23:16:44 +0800 |
| commit | 18c25821836b4673aa67a43c792a4a82480f47fa (patch) | |
| tree | 0d0310c7acbd32c087ba71578f8b2be1a273c3e2 /cmd | |
| parent | ff0287ec28504f2c1230739a71b6139cd45d34de (diff) | |
cmd: pxe_utils: sysboot: Add zboot support to boot x86 Linux kernel image
Add "zboot" command to the list of supported boot in the
label_boot function.
Signed-off-by: Kory Maincent <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
[bmeng: add component tags in the summary]
Signed-off-by: Bin Meng <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/pxe_utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/pxe_utils.c b/cmd/pxe_utils.c index 81150b162ba..71c5af4c25d 100644 --- a/cmd/pxe_utils.c +++ b/cmd/pxe_utils.c @@ -655,6 +655,9 @@ static int label_boot(struct cmd_tbl *cmdtp, struct pxe_label *label) /* Try booting a Image */ else if (IS_ENABLED(CONFIG_CMD_BOOTZ)) do_bootz(cmdtp, 0, bootm_argc, bootm_argv); + /* Try booting an x86_64 Linux kernel image */ + else if (IS_ENABLED(CONFIG_CMD_ZBOOT)) + do_zboot_parent(cmdtp, 0, bootm_argc, bootm_argv, NULL); unmap_sysmem(buf); |
