spl: imx: only use HAB if spl fit signature is not enabled
authorRicardo Salveti <ricardo@foundries.io>
Mon, 2 Sep 2019 21:18:52 +0000 (18:18 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:35:16 +0000 (16:35 +0200)
commit01fc7e7b879189b4ccb07fe616189ce171f38516
tree39eefebef76dc6f7a5dcfcceed3001626e051bea
parenta3f5c7950713be28f6d4b5395079028778dd0204
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: Ricardo Salveti <ricardo@foundries.io>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/spl.c