From: Masahiro Yamada Date: Mon, 24 Feb 2020 17:25:46 +0000 (+0900) Subject: spl.h: make self-contained X-Git-Tag: v2020.10~292^2~9^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=271cf2f421af072932404d56e6a7c97538d65de0;p=platform%2Fkernel%2Fu-boot.git spl.h: make self-contained The static inline function spl_phase needs . Some functions take pointers to struct blk_desc or image_header. Add forward declarations. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass --- diff --git a/include/spl.h b/include/spl.h index 6087cd7..5d8d14d 100644 --- a/include/spl.h +++ b/include/spl.h @@ -10,9 +10,13 @@ /* Platform-specific defines */ #include +#include #include #include +struct blk_desc; +struct image_header; + /* Value in r0 indicates we booted from U-Boot */ #define UBOOT_NOT_LOADED_FROM_SPL 0x13578642