• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #include <lib/mmio.h>
8 
9 #include <imx_csu.h>
10 #include <imx_regs.h>
11 
imx_csu_init(void)12 void imx_csu_init(void)
13 {
14 	int i;
15 	uintptr_t *csl_reg = (uintptr_t *)CSU_BASE;
16 
17 	for (i = 0; i < MXC_MAX_CSU_REGS; i++, csl_reg++)
18 		mmio_write_32((uintptr_t)csl_reg, CSU_CSL_OPEN_ACCESS);
19 }
20