提交 01fc7e7b 编写于 作者: R Ricardo Salveti 提交者: Stefano Babic

spl: imx: only use HAB if spl fit signature is not enabled

There is no need to use HAB for FIT signature validation when
SPL_FIT_SIGNATURE is also enabled, as that will be validated via the
normal U-Boot signed FIT image flow.

This allows having SPL validated by HAB and the payloads to follow
being validated with FIT signatures only.
Signed-off-by: NRicardo Salveti <ricardo@foundries.io>
Reviewed-by: NPeng Fan <peng.fan@nxp.com>
上级 a3f5c795
......@@ -261,6 +261,7 @@ __weak void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)
}
}
#if !defined(CONFIG_SPL_FIT_SIGNATURE)
ulong board_spl_fit_size_align(ulong size)
{
/*
......@@ -285,6 +286,7 @@ void board_spl_fit_post_load(ulong load_addr, size_t length)
hang();
}
}
#endif
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册