]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: zimage: Allow dumping the image from outside the module
authorSimon Glass <sjg@chromium.org>
Sun, 24 Jan 2021 17:06:08 +0000 (10:06 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 1 Feb 2021 07:33:25 +0000 (15:33 +0800)
commit577c4ad0550825fa94c44ebca23523f05faecf17
treef113b79fd4cc7c95366d8a3427f159319eb38f87
parentf82438948f649c33d775badd099869b0652ecc41
x86: zimage: Allow dumping the image from outside the module

At present it is possible to dump an image within the zimage command, but
it is also useful to be able to dump it from elsewhere, for example in a
loader that has special handling for the different zimage stages.

Export this feature as a new function.

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