Stefan Bosch | 48397f1 | 2020-07-10 19:07:25 +0200 | [diff] [blame] | 1 | /* 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 | |||||
12 | int write_sec_reg_by_id(void __iomem *reg, int val, int id); | ||||
13 | int read_sec_reg_by_id(void __iomem *reg, int id); | ||||
14 | int read_sec_reg(void __iomem *reg); | ||||
15 | int write_sec_reg(void __iomem *reg, int val); |