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