x86: Add a function to boot a zimage
authorSimon Glass <sjg@chromium.org>
Wed, 12 Jul 2023 15:04:43 +0000 (09:04 -0600)
committerBin Meng <bmeng@tinylab.org>
Mon, 17 Jul 2023 05:38:35 +0000 (13:38 +0800)
commitc886557c18956dca5819920fd48d0d250c4b76a1
treec2b7488fb26854b6eeb3cd6f0e83fa8f6d1ab7c4
parent33ebcb468109c40ef0dce262be00a4c161265b90
x86: Add a function to boot a zimage

Add a direct interface to booting a zimage, so that bootstd can call it
without going through the command-line interface.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/zimage.h
arch/x86/lib/zimage.c