policy.h 1007 B

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