]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/ti/am335x/board.c
board: am33xx-hs: Allow post-processing of FIT image on AM33xx
[people/ms/u-boot.git] / board / ti / am335x / board.c
index 56f4984f479cafb90deeb74eb11ca540a5bc4b2d..0ed16ca15ae79d696a49e4e23e3830a3f2a25210 100644 (file)
@@ -25,6 +25,7 @@
 #include <asm/io.h>
 #include <asm/emif.h>
 #include <asm/gpio.h>
+#include <asm/omap_sec_common.h>
 #include <i2c.h>
 #include <miiphy.h>
 #include <cpsw.h>
@@ -775,3 +776,10 @@ int board_fit_config_name_match(const char *name)
                return -1;
 }
 #endif
+
+#ifdef CONFIG_TI_SECURE_DEVICE
+void board_fit_image_post_process(void **p_image, size_t *p_size)
+{
+       secure_boot_verify_image(p_image, p_size);
+}
+#endif