summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h
index 5f4e23a0ae9..b695cc39447 100644
--- a/include/image.h
+++ b/include/image.h
@@ -233,6 +233,7 @@ enum image_type_t {
IH_TYPE_RENESAS_SPKG, /* Renesas SPKG image */
IH_TYPE_STARFIVE_SPL, /* StarFive SPL image */
IH_TYPE_TFA_BL31, /* TFA BL31 image */
+ IH_TYPE_STM32IMAGE_V2, /* STMicroelectronics STM32 Image V2.0 */
IH_TYPE_COUNT, /* Number of image types */
};
@@ -2133,7 +2134,7 @@ struct fit_loadable_tbl {
* _handler is the handler function to call after this image type is loaded
*/
#define U_BOOT_FIT_LOADABLE_HANDLER(_type, _handler) \
- ll_entry_declare(struct fit_loadable_tbl, _function, fit_loadable) = { \
+ ll_entry_declare(struct fit_loadable_tbl, _type, fit_loadable) = { \
.type = _type, \
.handler = _handler, \
}