aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-09-06 20:26:50 -0600
committerTom Rini <trini@konsulko.com>2022-09-29 16:07:57 -0400
commitd9d7c20b731788c5c8018ce8e5c6e86bb01413df (patch)
treebef57bf8b4eb59dc9b6d41c0454cde3e0fa3ad0f /arch/riscv
parentc56b2bb9b9fcdd0c9ff2a76e34495b58bd98559a (diff)
downloadu-boot-d9d7c20b731788c5c8018ce8e5c6e86bb01413df.zip
u-boot-d9d7c20b731788c5c8018ce8e5c6e86bb01413df.tar.gz
u-boot-d9d7c20b731788c5c8018ce8e5c6e86bb01413df.tar.bz2
treewide: Drop bootm_headers_t typedef
This is not needed and we should avoid typedefs. Use the struct instead. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/lib/bootm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/riscv/lib/bootm.c b/arch/riscv/lib/bootm.c
index 670d9c9..f5f8b4c 100644
--- a/arch/riscv/lib/bootm.c
+++ b/arch/riscv/lib/bootm.c
@@ -62,7 +62,7 @@ static void announce_and_cleanup(int fake)
cleanup_before_linux();
}
-static void boot_prep_linux(bootm_headers_t *images)
+static void boot_prep_linux(struct bootm_headers *images)
{
if (CONFIG_IS_ENABLED(OF_LIBFDT) && CONFIG_IS_ENABLED(LMB) && images->ft_len) {
debug("using: FDT\n");
@@ -76,7 +76,7 @@ static void boot_prep_linux(bootm_headers_t *images)
}
}
-static void boot_jump_linux(bootm_headers_t *images, int flag)
+static void boot_jump_linux(struct bootm_headers *images, int flag)
{
void (*kernel)(ulong hart, void *dtb);
int fake = (flag & BOOTM_STATE_OS_FAKE_GO);
@@ -107,7 +107,7 @@ static void boot_jump_linux(bootm_headers_t *images, int flag)
}
int do_bootm_linux(int flag, int argc, char *const argv[],
- bootm_headers_t *images)
+ struct bootm_headers *images)
{
/* No need for those on RISC-V */
if (flag & BOOTM_STATE_OS_BD_T || flag & BOOTM_STATE_OS_CMDLINE)
@@ -129,7 +129,7 @@ int do_bootm_linux(int flag, int argc, char *const argv[],
}
int do_bootm_vxworks(int flag, int argc, char *const argv[],
- bootm_headers_t *images)
+ struct bootm_headers *images)
{
return do_bootm_linux(flag, argc, argv, images);
}