common: bootm: support host sign check for armv7 fit image
including: fdt, u-boot, op-tee. Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ieb3dc15383f47626ef125b5d64e96b90a0a67cc6
This commit is contained in:
parent
10530d82c2
commit
2dc02ea380
|
|
@ -1033,6 +1033,7 @@ int bootm_host_load_images(const void *fit, int cfg_noffset, int is_spl)
|
|||
IH_TYPE_FLATDT,
|
||||
IH_TYPE_RAMDISK,
|
||||
};
|
||||
#ifdef CONFIG_SPL_ATF
|
||||
static uint8_t image_types_spl[] = {
|
||||
IH_TYPE_FLATDT,
|
||||
IH_TYPE_FIRMWARE,
|
||||
|
|
@ -1040,6 +1041,13 @@ int bootm_host_load_images(const void *fit, int cfg_noffset, int is_spl)
|
|||
IH_TYPE_LOADABLE,
|
||||
IH_TYPE_LOADABLE,
|
||||
};
|
||||
#else
|
||||
static uint8_t image_types_spl[] = {
|
||||
IH_TYPE_FLATDT,
|
||||
IH_TYPE_FIRMWARE,
|
||||
IH_TYPE_LOADABLE,
|
||||
};
|
||||
#endif
|
||||
int loadable_index = 0;
|
||||
int err = 0;
|
||||
int index;
|
||||
|
|
|
|||
Loading…
Reference in New Issue