blob: e3ae5ac1bb40413bfd185f2423b6001359f0f403 [file] [log] [blame]
Stefan Bosch48397f12020-07-10 19:07:25 +02001/* SPDX-License-Identifier: GPL-2.0+
2 *
3 * (C) Copyright 2016 Nexell
4 * Youngbok, Park <park@nexell.co.kr>
5 */
6
7#define NEXELL_L2C_SEC_ID 0
8#define NEXELL_MALI_SEC_ID 2
9#define NEXELL_MIPI_SEC_ID 4
10#define NEXELL_TOFF_SEC_ID 6
11
12int write_sec_reg_by_id(void __iomem *reg, int val, int id);
13int read_sec_reg_by_id(void __iomem *reg, int id);
14int read_sec_reg(void __iomem *reg);
15int write_sec_reg(void __iomem *reg, int val);