aboutsummaryrefslogtreecommitdiff
path: root/board/ti/dra7xx/evm.c
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2022-10-20 12:12:19 -0500
committerTom Rini <trini@konsulko.com>2022-12-12 14:03:11 -0500
commit1eaffe39583a784390d579c3ca9e06b58164f4d0 (patch)
tree97c3cb3abe0735a0fe7b74acc2d738cb305c7bd2 /board/ti/dra7xx/evm.c
parentbc71afc3c5399c062c724f01d6ff83af72e14a42 (diff)
downloadu-boot-1eaffe39583a784390d579c3ca9e06b58164f4d0.zip
u-boot-1eaffe39583a784390d579c3ca9e06b58164f4d0.tar.gz
u-boot-1eaffe39583a784390d579c3ca9e06b58164f4d0.tar.bz2
arm: mach-omap2: Move common image process functions out of board files
The functions board_fit_image_post_process() and board_tee_image_process() are not actually board specific (despite their names). Any board using the OMAP2 family can use these functions. Move them to boot-common.c. Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti/dra7xx/evm.c')
-rw-r--r--board/ti/dra7xx/evm.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index 1c00e25..9cb7e21 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -13,7 +13,6 @@
#include <env.h>
#include <fdt_support.h>
#include <fastboot.h>
-#include <image.h>
#include <init.h>
#include <spl.h>
#include <net.h>
@@ -26,7 +25,6 @@
#include <usb.h>
#include <linux/usb/gadget.h>
#include <asm/omap_common.h>
-#include <asm/omap_sec_common.h>
#include <asm/arch/gpio.h>
#include <asm/arch/dra7xx_iodelay.h>
#include <asm/emif.h>
@@ -1063,18 +1061,3 @@ int fastboot_set_reboot_flag(enum fastboot_reboot_reason reason)
return 0;
}
#endif
-
-#ifdef CONFIG_TI_SECURE_DEVICE
-void board_fit_image_post_process(const void *fit, int node, void **p_image,
- size_t *p_size)
-{
- secure_boot_verify_image(p_image, p_size);
-}
-
-void board_tee_image_process(ulong tee_image, size_t tee_size)
-{
- secure_tee_install((u32)tee_image);
-}
-
-U_BOOT_FIT_LOADABLE_HANDLER(IH_TYPE_TEE, board_tee_image_process);
-#endif