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