mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
treewide: Drop image_header_t typedef
This is not needed and we should avoid typedefs. Use the struct instead and rename it to indicate that it really is a legacy struct. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -67,8 +67,9 @@ static void __maybe_unused fit_unsupported_reset(const char *msg)
|
||||
static int do_bootm_netbsd(int flag, int argc, char *const argv[],
|
||||
struct bootm_headers *images)
|
||||
{
|
||||
void (*loader)(struct bd_info *, image_header_t *, char *, char *);
|
||||
image_header_t *os_hdr, *hdr;
|
||||
void (*loader)(struct bd_info *bd, struct legacy_img_hdr *hdr,
|
||||
char *console, char *cmdline);
|
||||
struct legacy_img_hdr *os_hdr, *hdr;
|
||||
ulong kernel_data, kernel_len;
|
||||
char *cmdline;
|
||||
|
||||
@@ -115,7 +116,7 @@ static int do_bootm_netbsd(int flag, int argc, char *const argv[],
|
||||
cmdline = "";
|
||||
}
|
||||
|
||||
loader = (void (*)(struct bd_info *, image_header_t *, char *, char *))images->ep;
|
||||
loader = (void (*)(struct bd_info *, struct legacy_img_hdr *, char *, char *))images->ep;
|
||||
|
||||
printf("## Transferring control to NetBSD stage-2 loader (at address %08lx) ...\n",
|
||||
(ulong)loader);
|
||||
|
Reference in New Issue
Block a user