summaryrefslogtreecommitdiff
path: root/boot/image-fdt.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-09-07 05:26:50 +0300
committerTom Rini <trini@konsulko.com>2022-09-29 23:07:57 +0300
commitd9d7c20b731788c5c8018ce8e5c6e86bb01413df (patch)
treebef57bf8b4eb59dc9b6d41c0454cde3e0fa3ad0f /boot/image-fdt.c
parentc56b2bb9b9fcdd0c9ff2a76e34495b58bd98559a (diff)
downloadu-boot-d9d7c20b731788c5c8018ce8e5c6e86bb01413df.tar.xz
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 'boot/image-fdt.c')
-rw-r--r--boot/image-fdt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot/image-fdt.c b/boot/image-fdt.c
index e75d051c87..78417bd889 100644
--- a/boot/image-fdt.c
+++ b/boot/image-fdt.c
@@ -291,7 +291,7 @@ error:
* other -ve value on other error
*/
-static int select_fdt(bootm_headers_t *images, const char *select, u8 arch,
+static int select_fdt(struct bootm_headers *images, const char *select, u8 arch,
ulong *fdt_addrp)
{
const char *buf;
@@ -470,7 +470,7 @@ static int select_fdt(bootm_headers_t *images, const char *select, u8 arch,
* of_flat_tree and of_size are set to 0 if no fdt exists
*/
int boot_get_fdt(int flag, int argc, char *const argv[], uint8_t arch,
- bootm_headers_t *images, char **of_flat_tree, ulong *of_size)
+ struct bootm_headers *images, char **of_flat_tree, ulong *of_size)
{
ulong img_addr;
ulong fdt_addr;
@@ -602,7 +602,7 @@ __weak int arch_fixup_fdt(void *blob)
return 0;
}
-int image_setup_libfdt(bootm_headers_t *images, void *blob,
+int image_setup_libfdt(struct bootm_headers *images, void *blob,
int of_size, struct lmb *lmb)
{
ulong *initrd_start = &images->initrd_start;