]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spl: Add missing prototype for board_boot_order
authorAlgapally Santosh Sagar <santoshsagar.algapally@amd.com>
Wed, 1 Mar 2023 10:33:34 +0000 (03:33 -0700)
committerMichal Simek <michal.simek@amd.com>
Thu, 9 Mar 2023 12:15:00 +0000 (13:15 +0100)
Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'board_boot_order' [-Wmissing-prototypes].

Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally@amd.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230301103334.1455-3-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
include/spl.h

index 827bd25c8839e6421d0a4f938fd3fac715f75799..bad12fb01f48e4433551dafc4166fd0dfde4f1a7 100644 (file)
@@ -884,5 +884,6 @@ void spl_perform_fixups(struct spl_image_info *spl_image);
  */
 struct legacy_img_hdr *spl_get_load_buffer(ssize_t offset, size_t size);
 
+void board_boot_order(u32 *spl_boot_list);
 void spl_save_restore_data(void);
 #endif