xref: /aosp_15_r20/external/arm-trusted-firmware/plat/nxp/soc-lx2160a/lx2160ardb/policy.h (revision 54fd6939e177f8ff529b10183254802c76df6d08)
1*54fd6939SJiyong Park /*
2*54fd6939SJiyong Park  * Copyright 2021 NXP
3*54fd6939SJiyong Park  *
4*54fd6939SJiyong Park  * SPDX-License-Identifier: BSD-3-Clause
5*54fd6939SJiyong Park  *
6*54fd6939SJiyong Park  */
7*54fd6939SJiyong Park 
8*54fd6939SJiyong Park #ifndef POLICY_H
9*54fd6939SJiyong Park #define	POLICY_H
10*54fd6939SJiyong Park 
11*54fd6939SJiyong Park /* Following defines affect the PLATFORM SECURITY POLICY */
12*54fd6939SJiyong Park 
13*54fd6939SJiyong Park /* set this to 0x0 if the platform is not using/responding to ECC errors
14*54fd6939SJiyong Park  * set this to 0x1 if ECC is being used (we have to do some init)
15*54fd6939SJiyong Park  */
16*54fd6939SJiyong Park #define  POLICY_USING_ECC 0x0
17*54fd6939SJiyong Park 
18*54fd6939SJiyong Park /* Set this to 0x0 to leave the default SMMU page size in sACR
19*54fd6939SJiyong Park  * Set this to 0x1 to change the SMMU page size to 64K
20*54fd6939SJiyong Park  */
21*54fd6939SJiyong Park #define POLICY_SMMU_PAGESZ_64K 0x1
22*54fd6939SJiyong Park 
23*54fd6939SJiyong Park /*
24*54fd6939SJiyong Park  * POLICY_PERF_WRIOP = 0 : No Performance enhancement for WRIOP RN-I
25*54fd6939SJiyong Park  * POLICY_PERF_WRIOP = 1 : No Performance enhancement for WRIOP RN-I = 7
26*54fd6939SJiyong Park  * POLICY_PERF_WRIOP = 2 : No Performance enhancement for WRIOP RN-I = 23
27*54fd6939SJiyong Park  */
28*54fd6939SJiyong Park #define POLICY_PERF_WRIOP 0
29*54fd6939SJiyong Park 
30*54fd6939SJiyong Park /*
31*54fd6939SJiyong Park  * set this to '1' if the debug clocks need to remain enabled during
32*54fd6939SJiyong Park  * system entry to low-power (LPM20) - this should only be necessary
33*54fd6939SJiyong Park  * for testing and NEVER set for normal production
34*54fd6939SJiyong Park  */
35*54fd6939SJiyong Park #define POLICY_DEBUG_ENABLE 0
36*54fd6939SJiyong Park 
37*54fd6939SJiyong Park 
38*54fd6939SJiyong Park #endif /* POLICY_H */
39