]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: imx8m: Deduplicate CAAM init with arch_misc_init() call
authorMarek Vasut <marex@denx.de>
Mon, 19 Sep 2022 19:41:15 +0000 (21:41 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 21 Oct 2022 09:54:00 +0000 (11:54 +0200)
commit1f908b1898bd5258bb95521de54fdca8e91edb00
treec61cfacba9f591de78fb832084e2388e58953e54
parent5302576e933ef8611d726c0f244be306ffc40c18
ARM: imx8m: Deduplicate CAAM init with arch_misc_init() call

Instead of duplicating code implemented by i.MX8M version of arch_misc_init()
in every board, enable CONFIG_ARCH_MISC_INIT and call arch_misc_init() from
spl_board_init(). This removes the duplication. No functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
12 files changed:
board/freescale/imx8mm_evk/spl.c
board/freescale/imx8mn_evk/spl.c
board/freescale/imx8mp_evk/spl.c
board/kontron/sl-mx8mm/spl.c
board/toradex/verdin-imx8mm/spl.c
configs/imx8mm-mx8menlo_defconfig
configs/imx8mm_evk_defconfig
configs/imx8mm_evk_fspi_defconfig
configs/imx8mn_ddr4_evk_defconfig
configs/imx8mp_evk_defconfig
configs/kontron-sl-mx8mm_defconfig
configs/verdin-imx8mm_defconfig