[PATCH 07/16] bootstd: Move common zimage functions to bootm.h
Simon Glass
sjg at chromium.org
Fri Aug 11 15:37:49 CEST 2023
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 at chromium.org>
---
arch/x86/include/asm/zimage.h | 27 ---------------------------
boot/bootmeth_cros.c | 4 +---
include/bootm.h | 28 ++++++++++++++++++++++++++++
3 files changed, 29 insertions(+), 30 deletions(-)
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list