You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
384 B

/*
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <lib/mmio.h>
#include <imx_csu.h>
#include <imx_regs.h>
void imx_csu_init(void)
{
int i;
uintptr_t *csl_reg = (uintptr_t *)CSU_BASE;
for (i = 0; i < MXC_MAX_CSU_REGS; i++, csl_reg++)
mmio_write_32((uintptr_t)csl_reg, CSU_CSL_OPEN_ACCESS);
}