xref: /rk3399_ARM-atf/plat/mediatek/drivers/apusys/security_ctrl/apusys_security_ctrl_perm.h (revision 999503d285475f8920111f3fd760312ddf1d5b5b)
1 /*
2  * Copyright (c) 2024, MediaTek Inc. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef SECURITY_CTRL_PERM_H
8 #define SECURITY_CTRL_PERM_H
9 
10 #include "apusys_security_ctrl_perm_plat.h"
11 
12 enum apusys_sec_level {
13 	SEC_LEVEL_NORMAL,
14 	SEC_LEVEL_SECURE,
15 	SEC_LEVEL_SAPU,
16 	SEC_LEVEL_AOV,
17 	SEC_LEVEL_NUM,
18 };
19 
20 int sec_set_rv_dns(void);
21 int sec_get_dns(enum apusys_dev_type dev_type, enum apusys_sec_level sec_level,
22 		uint8_t *domain, uint8_t *ns);
23 
24 #endif
25