mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-30 08:07:59 +00:00
spl: Correct spl_board_boot_device function prototype
With gcc-13.1 we get a warning about enum vs int here, so correct the declaration to match the implementation. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
9ef4166ff9
commit
99fddf5caa
1 changed files with 2 additions and 1 deletions
|
@ -31,6 +31,7 @@ struct legacy_img_hdr;
|
||||||
struct blk_desc;
|
struct blk_desc;
|
||||||
struct legacy_img_hdr;
|
struct legacy_img_hdr;
|
||||||
struct spl_boot_device;
|
struct spl_boot_device;
|
||||||
|
enum boot_device;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* u_boot_first_phase() - check if this is the first U-Boot phase
|
* u_boot_first_phase() - check if this is the first U-Boot phase
|
||||||
|
@ -525,7 +526,7 @@ void spl_board_prepare_for_linux(void);
|
||||||
void spl_board_prepare_for_optee(void *fdt);
|
void spl_board_prepare_for_optee(void *fdt);
|
||||||
void spl_board_prepare_for_boot(void);
|
void spl_board_prepare_for_boot(void);
|
||||||
int spl_board_ubi_load_image(u32 boot_device);
|
int spl_board_ubi_load_image(u32 boot_device);
|
||||||
int spl_board_boot_device(u32 boot_device);
|
int spl_board_boot_device(enum boot_device boot_dev_spl);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* spl_board_loader_name() - Return a name for the loader
|
* spl_board_loader_name() - Return a name for the loader
|
||||||
|
|
Loading…
Add table
Reference in a new issue