mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-27 12:57:13 +00:00
The BootROM will not successfully process a HAB image passed by u-boot unless the board has been set into locked mode. Some of the existing usages of authenticate_image() expect and rely on unlocked boards doing the following 1. Not calling into the BootROM authenticate_image() callback 2. Returning a pass status for authenticate_image() calls anyway A previous patch removed the necessity to call into imx_hab_is_enabled() twice. This patch ensures the reliance on authenticate_image() returning zero is maintained. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Suggested-by: Breno Matheus Lima <brenomatheus@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Sven Ebenfeld <sven.ebenfeld@gmail.com> Cc: George McCollister <george.mccollister@gmail.com> Tested-by: Breno Lima <breno.lima@nxp.com> |
||
---|---|---|
.. | ||
mx2 | ||
mx5 | ||
mx6 | ||
mx7 | ||
mx7ulp | ||
cache.c | ||
cmd_bmode.c | ||
cmd_dek.c | ||
cmd_hdmidet.c | ||
cpu.c | ||
ddrmc-vf610.c | ||
hab.c | ||
i2c-mxv7.c | ||
imx_bootaux.c | ||
init.c | ||
iomux-v3.c | ||
Kconfig | ||
Makefile | ||
misc.c | ||
rdc-sema.c | ||
sata.c | ||
speed.c | ||
spl.c | ||
spl_sd.cfg | ||
syscounter.c | ||
timer.c | ||
video.c |