qti_board_def.h 883 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
  3. * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
  4. *
  5. * SPDX-License-Identifier: BSD-3-Clause
  6. */
  7. #ifndef QTI_BOARD_DEF_H
  8. #define QTI_BOARD_DEF_H
  9. /*
  10. * Required platform porting definitions common to all ARM
  11. * development platforms
  12. */
  13. /*
  14. * Defines used to retrieve QTI SOC Version
  15. */
  16. #define JEDEC_QTI_BKID U(0x0)
  17. #define JEDEC_QTI_MFID U(0x70)
  18. #define QTI_SOC_CONTINUATION_SHIFT U(24)
  19. #define QTI_SOC_IDENTIFICATION_SHIFT U(16)
  20. /* Size of cacheable stacks */
  21. #define PLATFORM_STACK_SIZE 0x1000
  22. /*
  23. * PLAT_QTI_MMAP_ENTRIES depends on the number of entries in the
  24. * plat_qti_mmap array defined for each BL stage.
  25. */
  26. #define PLAT_QTI_MMAP_ENTRIES 12
  27. /*
  28. * Platform specific page table and MMU setup constants
  29. */
  30. #define MAX_XLAT_TABLES 12
  31. #endif /* QTI_BOARD_DEF_H */