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