mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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>
This commit is contained in:
parent
77c4ba54c6
commit
271cf2f421
1 changed files with 4 additions and 0 deletions
|
@ -10,9 +10,13 @@
|
|||
|
||||
/* Platform-specific defines */
|
||||
#include <linux/compiler.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/spl.h>
|
||||
#include <handoff.h>
|
||||
|
||||
struct blk_desc;
|
||||
struct image_header;
|
||||
|
||||
/* Value in r0 indicates we booted from U-Boot */
|
||||
#define UBOOT_NOT_LOADED_FROM_SPL 0x13578642
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue