1 // SPDX-License-Identifier: BSD-2-Clause
2 /*
3  * Copyright 2021 NXP
4  *
5  * Brief   CAAM Controller Hardware Abstration Layer.
6  *         Implementation of primitives to access HW.
7  */
8 #include <imx.h>
9 #include <io.h>
10 #include <caam_hal_ctrl.h>
11 #include <registers/ctrl_regs.h>
12 
caam_hal_ctrl_init(vaddr_t baseaddr)13 void caam_hal_ctrl_init(vaddr_t baseaddr)
14 {
15 	/* Enable DECO watchdogs */
16 	io_setbits32(baseaddr + MCFGR, MCFGR_WDE);
17 }
18