[PATCH v3 4/7] image: add IH_TYPE_FATFS image type
Simon Glass
sjg at chromium.org
Mon Apr 20 06:06:46 CEST 2026
Hi Aswin,
On 2026-04-17T12:09:44, Aswin Murugan <aswin.murugan at oss.qualcomm.com> wrote:
> image: add IH_TYPE_FATFS image type
>
> Add a new image type IH_TYPE_FATFS to represent a raw FAT
> filesystem partition image. Register the type in the image
> type lookup table with short name "fatfs" and description
> "FAT Filesystem Image".
>
> Signed-off-by: Aswin Murugan <aswin.murugan at oss.qualcomm.com>
>
> boot/image.c | 1 +
> include/image.h | 1 +
> 2 files changed, 2 insertions(+)
> diff --git a/boot/image.c b/boot/image.c
> @@ -136,6 +136,7 @@ static const table_entry_t uimage_type[] = {
> { IH_TYPE_FILESYSTEM, "filesystem", "Filesystem Image", },
> { IH_TYPE_FIRMWARE, "firmware", "Firmware", },
> { IH_TYPE_FLATDT, "flat_dt", "Flat Device Tree", },
> + { IH_TYPE_FATFS, "fatfs", "FAT Filesystem Image", },
The uimage_type table is sorted alphabetically by short name. The
entry fatfs should come before filesystem (f-a-t < f-i-l), not after
flat_dt
Regards,
Simon
More information about the U-Boot
mailing list