summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-09-06 20:26:51 -0600
committerTom Rini <trini@konsulko.com>2022-09-29 16:07:57 -0400
commitda79b2f25e5352a8e09b96ecef56df009f03c0b5 (patch)
treee88040faedb8a5eed07514292faedd03da2e2580 /include/image.h
parentd9d7c20b731788c5c8018ce8e5c6e86bb01413df (diff)
treewide: Drop image_info_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 'include/image.h')
-rw-r--r--include/image.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/image.h b/include/image.h
index b337478c29..b58550fd64 100644
--- a/include/image.h
+++ b/include/image.h
@@ -278,13 +278,13 @@ typedef struct image_header {
uint8_t ih_name[IH_NMLEN]; /* Image Name */
} image_header_t;
-typedef struct image_info {
+struct image_info {
ulong start, end; /* start/end of blob */
ulong image_start, image_len; /* start of image within blob, len of image */
ulong load; /* load addr for the image */
uint8_t comp, type, os; /* compression, type of image, os type */
uint8_t arch; /* CPU architecture */
-} image_info_t;
+};
/*
* Legacy and FIT format headers used by do_bootm() and do_bootm_<os>()
@@ -324,7 +324,7 @@ struct bootm_headers {
int fit_noffset_setup;/* x86 setup subimage node offset */
#ifndef USE_HOSTCC
- image_info_t os; /* os image info */
+ struct image_info os; /* os image info */
ulong ep; /* entry point of OS */
ulong rd_start, rd_end;/* ramdisk start/end */