"Das U-Boot" Source Tree
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge patch series "tools: fdtgrep: Mark util_version() as static"

This series from Ilias Apalodimas <ilias.apalodimas@linaro.org> lays
some of the groundwork for being able to enable the -Wmissing-prototypes
compiler flag while building U-Boot by fixing the obvious problems in
the tools directory.

Link: https://lore.kernel.org/r/20250829081628.2327372-1-ilias.apalodimas@linaro.org

Tom Rini 7d921410 c9d4e826

+7 -7
+2 -2
tools/fdtgrep.c
··· 1040 1040 #define util_getopt_long() getopt_long(argc, argv, usage_short_opts, \ 1041 1041 usage_long_opts, NULL) 1042 1042 1043 - void util_usage(const char *errmsg, const char *synopsis, 1043 + static void util_usage(const char *errmsg, const char *synopsis, 1044 1044 const char *short_opts, struct option const long_opts[], 1045 1045 const char * const opts_help[]) 1046 1046 { ··· 1109 1109 util_usage(errmsg, usage_synopsis, usage_short_opts, \ 1110 1110 usage_long_opts, usage_opts_help) 1111 1111 1112 - void util_version(void) 1112 + static void util_version(void) 1113 1113 { 1114 1114 printf("Version: %s\n", "(U-Boot)"); 1115 1115 exit(0);
+1 -1
tools/fit_check_sign.c
··· 23 23 #include <image.h> 24 24 #include <u-boot/crc.h> 25 25 26 - void usage(char *cmdname) 26 + static void usage(char *cmdname) 27 27 { 28 28 fprintf(stderr, "Usage: %s -f fit file -k key file -c config name\n" 29 29 " -f ==> set fit file which should be checked'\n"
+2 -2
tools/imx8mimage.c
··· 49 49 return value; 50 50 } 51 51 52 - int imx8mimage_check_params(struct image_tool_params *params) 52 + static int imx8mimage_check_params(struct image_tool_params *params) 53 53 { 54 54 return 0; 55 55 } ··· 475 475 } 476 476 #endif 477 477 478 - void build_image(int ofd) 478 + static void build_image(int ofd) 479 479 { 480 480 int file_off, header_hdmi_off = 0, header_image_off; 481 481
+1 -1
tools/mkimage.c
··· 445 445 (void)close(ifd); 446 446 } 447 447 448 - void copy_datafile(int ifd, char *file) 448 + static void copy_datafile(int ifd, char *file) 449 449 { 450 450 if (!file) 451 451 return;
+1 -1
tools/rkcommon.c
··· 279 279 return info->spl_rc4; 280 280 } 281 281 282 - bool rkcommon_is_header_v2(struct image_tool_params *params) 282 + static bool rkcommon_is_header_v2(struct image_tool_params *params) 283 283 { 284 284 struct spl_info *info = rkcommon_get_spl_info(params->imagename); 285 285