]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl.h: make <spl.h> self-contained
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 24 Feb 2020 17:25:46 +0000 (02:25 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 16 Mar 2020 20:42:50 +0000 (16:42 -0400)
commit271cf2f421af072932404d56e6a7c97538d65de0
treea674b354872fd3033f89685013513a36bd0dc270
parent77c4ba54c678d5c892e4b692640424dbfe649e30
spl.h: make <spl.h> self-contained

The static inline function spl_phase needs <asm/global_data.h>.

Some functions take pointers to struct blk_desc or image_header.
Add forward declarations.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/spl.h