diff options
author | Alifer Moraes <alifer.wsdm@gmail.com> | 2020-01-14 15:55:01 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-01-20 15:38:16 +0100 |
commit | 40eeb9c412572b8f7adf6155d5e6f4ef138fd376 (patch) | |
tree | 4ea29e5ff462cd9b836bd1c20346c9e0be2615fa | |
parent | 62cdfdcc81dc0af1ebabbf589ddb1ecc36351a47 (diff) |
spl: Add prototype to function spl_board_boot_device()
Add prototype to function spl_board_boot_device to fix the following
sparse warning:
board/freescale/imx8mm_evk/spl.c:26:5: warning: no previous prototype
for ‘spl_board_boot_device’ [-Wmissing-prototypes]
Signed-off-by: Alifer Moraes <alifer.wsdm@gmail.com>
-rw-r--r-- | include/spl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h index cd4669f5aa..6087cd793c 100644 --- a/include/spl.h +++ b/include/spl.h @@ -269,6 +269,7 @@ int spl_parse_image_header(struct spl_image_info *spl_image, void spl_board_prepare_for_linux(void); void spl_board_prepare_for_boot(void); int spl_board_ubi_load_image(u32 boot_device); +int spl_board_boot_device(u32 boot_device); /** * jump_to_image_linux() - Jump to a Linux kernel from SPL |