diff options
| author | Simon Glass <[email protected]> | 2023-11-18 14:05:11 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-12-13 11:51:24 -0500 |
| commit | 745367b218c024dfcde72c37d15da88918e37e18 (patch) | |
| tree | cb569e0473b5479be732720d661d9fdafadc17f1 /include | |
| parent | 0aa923aba53ecf6a9baf36dc6e81cd25c41cd718 (diff) | |
bootm: Reduce arguments to boot_get_fpga()
This function only uses two arguments. The 'arch' always has a constant
value, so drop it. This simplifies the function call.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/image.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/image.h b/include/image.h index 04f35de9d08..63f2bd3b371 100644 --- a/include/image.h +++ b/include/image.h @@ -642,8 +642,13 @@ ulong genimg_get_kernel_addr(char * const img_addr); int genimg_get_format(const void *img_addr); int genimg_has_config(struct bootm_headers *images); -int boot_get_fpga(int argc, char *const argv[], struct bootm_headers *images, - uint8_t arch, const ulong *ld_start, ulong * const ld_len); +/** + * boot_get_fpga() - Locate the FPGA image + * + * @images: Information about images being loaded + * Return 0 if OK, non-zero on failure + */ +int boot_get_fpga(struct bootm_headers *images); /** * boot_get_ramdisk() - Locate the ramdisk |
