[PATCH v3 4/7] image: add IH_TYPE_FATFS image type
Aswin Murugan
aswin.murugan at oss.qualcomm.com
Fri Apr 17 14:09:48 CEST 2026
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
index 185d52ba492..4a17da645cf 100644
--- 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", },
{ IH_TYPE_GPIMAGE, "gpimage", "TI Keystone SPL Image",},
{ IH_TYPE_KERNEL, "kernel", "Kernel Image", },
{ IH_TYPE_KERNEL_NOLOAD, "kernel_noload", "Kernel Image (no loading done)", },
diff --git a/include/image.h b/include/image.h
index 34efac6056d..68469685c4c 100644
--- a/include/image.h
+++ b/include/image.h
@@ -235,6 +235,7 @@ enum image_type_t {
IH_TYPE_TFA_BL31, /* TFA BL31 image */
IH_TYPE_STM32IMAGE_V2, /* STMicroelectronics STM32 Image V2.0 */
IH_TYPE_AMLIMAGE, /* Amlogic Boot Image */
+ IH_TYPE_FATFS, /* FAT Filesystem Image */
IH_TYPE_COUNT, /* Number of image types */
};
--
2.34.1
More information about the U-Boot
mailing list