MLK-21053 imx8: Enable SPL authentication only when set CONFIG_AHAB_BOOT
authorYe Li <ye.li@nxp.com>
Tue, 5 Mar 2019 08:37:42 +0000 (00:37 -0800)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 10:38:54 +0000 (03:38 -0700)
commit17611959e5949dc8c956a5dee19b791b5aca6e36
tree0b76fa71d4971071cdb5e70558d8727c964754cb
parentba4f923b6465da85e0727bc322d08b2864249fcf
MLK-21053 imx8: Enable SPL authentication only when set CONFIG_AHAB_BOOT

Currently when SPL load 3rd container, it will do the authentication
unconditionally. But when running SPL on Xen, the seco authentication
is not supported, and cause failure in loading.

Change the parser codes to depend on CONFIG_AHAB_BOOT to do the
authentication.

Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit e38169a27fbe052561c5b369500e80477760ec3e)
arch/arm/mach-imx/imx8/parser.c