From: Clement Faure Date: Wed, 6 Apr 2022 06:30:21 +0000 (+0800) Subject: imx: imx8ulp: release CAAM for the Cortex-A35 X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=c72f1f2f0cd41acc211e12f573974746c85e57bb;p=u-boot.git imx: imx8ulp: release CAAM for the Cortex-A35 Release the CAAM for the A35 from the SPL. Signed-off-by: Clement Faure Signed-off-by: Peng Fan --- diff --git a/board/freescale/imx8ulp_evk/spl.c b/board/freescale/imx8ulp_evk/spl.c index 9bc9081617..66bfc2bd0c 100644 --- a/board/freescale/imx8ulp_evk/spl.c +++ b/board/freescale/imx8ulp_evk/spl.c @@ -19,6 +19,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; @@ -60,6 +61,8 @@ int power_init_board(void) void spl_board_init(void) { struct udevice *dev; + u32 res; + int ret; uclass_find_first_device(UCLASS_MISC, &dev); @@ -98,6 +101,11 @@ void spl_board_init(void) /* Call it after PS16 power up */ set_lpav_qos(); + + /* Enable A35 access to the CAAM */ + ret = ahab_release_caam(0x7, &res); + if (ret) + printf("ahab release caam failed %d, 0x%x\n", ret, res); } void board_init_f(ulong dummy)