mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 06:31:28 +01:00
imx: imx8ulp: release CAAM for the Cortex-A35
Release the CAAM for the A35 from the SPL. Signed-off-by: Clement Faure <clement.faure@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
203412f66d
commit
c72f1f2f0c
@ -19,6 +19,7 @@
|
|||||||
#include <asm/arch/ddr.h>
|
#include <asm/arch/ddr.h>
|
||||||
#include <asm/arch/rdc.h>
|
#include <asm/arch/rdc.h>
|
||||||
#include <asm/arch/upower.h>
|
#include <asm/arch/upower.h>
|
||||||
|
#include <asm/arch/s400_api.h>
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
@ -60,6 +61,8 @@ int power_init_board(void)
|
|||||||
void spl_board_init(void)
|
void spl_board_init(void)
|
||||||
{
|
{
|
||||||
struct udevice *dev;
|
struct udevice *dev;
|
||||||
|
u32 res;
|
||||||
|
int ret;
|
||||||
|
|
||||||
uclass_find_first_device(UCLASS_MISC, &dev);
|
uclass_find_first_device(UCLASS_MISC, &dev);
|
||||||
|
|
||||||
@ -98,6 +101,11 @@ void spl_board_init(void)
|
|||||||
|
|
||||||
/* Call it after PS16 power up */
|
/* Call it after PS16 power up */
|
||||||
set_lpav_qos();
|
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)
|
void board_init_f(ulong dummy)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user