]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: Move common zimage functions to bootm.h
authorSimon Glass <sjg@chromium.org>
Sun, 30 Jul 2023 17:16:53 +0000 (11:16 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 11 Aug 2023 00:34:54 +0000 (18:34 -0600)
commit1a0810924a29311a330d717a2813d212865a5df0
treee9321c6d7ac042b677a03508bef47d6e6026179c
parentc5dca50bbb07a0040197f9a6ccf5da3493736b5d
bootstd: Move common zimage functions to bootm.h

We want to avoid using #ifdefs around header files and in the code. It
makes sense to collect the various functions used for loading images into
a single header which can be included by all architectures. The best place
for this is the arch-neutral bootm.h header, so use that.

Move some zimage functions into this bootm.h header.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/zimage.h
boot/bootmeth_cros.c
include/bootm.h