configs: imx8m: Prepare imx8m-venice boards for HAB support
authorTim Harvey <tharvey@gateworks.com>
Fri, 23 Jun 2023 16:44:59 +0000 (09:44 -0700)
committerStefano Babic <sbabic@denx.de>
Thu, 13 Jul 2023 09:29:40 +0000 (11:29 +0200)
commitc8645e74113c62e724f1f091acff28f8dccb18c8
treed5adefd7ff704f653094907b148e41c14bcad2fa
parent3d634b0b4460919ecc6ad236786ba9fcacdbe3d0
configs: imx8m: Prepare imx8m-venice boards for HAB support

In order to enable HAB, FSL_CAAM, ARCH_MISC_INIT and
SPL_CRYPTO should be enabled in Kconfig like other i.MX8M
boards.

This also needs to occur in the SPL so enable CONFIG_SPL_BOARD_INIT and
add a void spl_board_init function which calls arch_misc_init to probe
the CAAM driver.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8m/Kconfig
board/gateworks/venice/spl.c
configs/imx8mm_venice_defconfig
configs/imx8mn_venice_defconfig
configs/imx8mp_venice_defconfig