]> git.baikalelectronics.ru Git - uboot.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)
commitaeaa00cdf85caeb689c6ab7687b463e707c24416
treec61cfacba9f591de78fb832084e2388e58953e54
parent681bdea1b6738130d3bcef3a77c2ba6cec40b3c7
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