hal_chip_config.h.in 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _HAL_CHIP_CONFIG_H_
  13. #define _HAL_CHIP_CONFIG_H_
  14. // @AUTO_GENERATION_NOTICE@
  15. /**
  16. * system ROM load address
  17. */
  18. #cmakedefine CONFIG_ROM_SRAM_LOAD_ADDRESS @CONFIG_ROM_SRAM_LOAD_ADDRESS@
  19. /**
  20. * system ROM load maximum size
  21. */
  22. #cmakedefine CONFIG_ROM_LOAD_SIZE @CONFIG_ROM_LOAD_SIZE@
  23. /**
  24. * system ROM SRAM data size can be accessed in bootloader
  25. */
  26. #cmakedefine CONFIG_ROM_SRAM_DATA_SIZE @CONFIG_ROM_SRAM_DATA_SIZE@
  27. /**
  28. * bootloader image address, on AON SRAM
  29. */
  30. #cmakedefine CONFIG_BOOT_IMAGE_START @CONFIG_BOOT_IMAGE_START@
  31. /**
  32. * FDL image address, on AON SRAM
  33. */
  34. #cmakedefine CONFIG_NORFDL_IMAGE_START @CONFIG_NORFDL_IMAGE_START@
  35. /**
  36. * AON SRAM code address
  37. */
  38. #cmakedefine CONFIG_AON_SRAM_CODE_ADDRESS @CONFIG_AON_SRAM_CODE_ADDRESS@
  39. /**
  40. * AON SRAM code size
  41. */
  42. #cmakedefine CONFIG_AON_SRAM_CODE_SIZE @CONFIG_AON_SRAM_CODE_SIZE@
  43. /**
  44. * AON SRAM shared memory address
  45. */
  46. #cmakedefine CONFIG_AON_SRAM_SHMEM_ADDRESS @CONFIG_AON_SRAM_SHMEM_ADDRESS@
  47. /**
  48. * AON SRAM shared memory size
  49. */
  50. #cmakedefine CONFIG_AON_SRAM_SHMEM_SIZE @CONFIG_AON_SRAM_SHMEM_SIZE@
  51. /**
  52. * AON SRAM for CP address
  53. */
  54. #cmakedefine CONFIG_AON_SRAM_CP_ADDRESS @CONFIG_AON_SRAM_CP_ADDRESS@
  55. /**
  56. * AON SRAM for CP size
  57. */
  58. #cmakedefine CONFIG_AON_SRAM_CP_SIZE @CONFIG_AON_SRAM_CP_SIZE@
  59. /**
  60. * CP RAM address
  61. */
  62. #cmakedefine CONFIG_CP_RAM_ADDRESS @CONFIG_CP_RAM_ADDRESS@
  63. /**
  64. * CP RAM size
  65. */
  66. #cmakedefine CONFIG_CP_RAM_SIZE @CONFIG_CP_RAM_SIZE@
  67. /**
  68. * APP RAM address
  69. */
  70. #cmakedefine CONFIG_APP_RAM_ADDRESS @CONFIG_APP_RAM_ADDRESS@
  71. /**
  72. * APP RAM size
  73. */
  74. #cmakedefine CONFIG_APP_RAM_SIZE @CONFIG_APP_RAM_SIZE@
  75. /**
  76. * File APPIMG reserved RAM address
  77. */
  78. #cmakedefine CONFIG_APP_FILEIMG_RAM_ADDRESS @CONFIG_APP_FILEIMG_RAM_ADDRESS@
  79. /**
  80. * File APPIMG reserved RAM size
  81. */
  82. #cmakedefine CONFIG_APP_FILEIMG_RAM_SIZE @CONFIG_APP_FILEIMG_RAM_SIZE@
  83. /**
  84. * File APPIMG2 reserved RAM address --Quectel update
  85. */
  86. #cmakedefine CONFIG_APP2_FILEIMG_RAM_ADDRESS @CONFIG_APP2_FILEIMG_RAM_ADDRESS@
  87. /**
  88. * File APPIMG2 reserved RAM size --Quectel update
  89. */
  90. #cmakedefine CONFIG_APP2_FILEIMG_RAM_SIZE @CONFIG_APP2_FILEIMG_RAM_SIZE@
  91. /**
  92. * Flash APPIMG reserved RAM address
  93. */
  94. #cmakedefine CONFIG_APP_FLASHIMG_RAM_ADDRESS @CONFIG_APP_FLASHIMG_RAM_ADDRESS@
  95. /**
  96. * Flash APPIMG reserved RAM size
  97. */
  98. #cmakedefine CONFIG_APP_FLASHIMG_RAM_SIZE @CONFIG_APP_FLASHIMG_RAM_SIZE@
  99. /**
  100. * Flash APPIMG2 reserved RAM address --Quectel update
  101. */
  102. #cmakedefine CONFIG_APP2_FLASHIMG_RAM_ADDRESS @CONFIG_APP2_FLASHIMG_RAM_ADDRESS@
  103. /**
  104. * Flash APPIMG2 reserved RAM size --Quectel update
  105. */
  106. #cmakedefine CONFIG_APP2_FLASHIMG_RAM_SIZE @CONFIG_APP2_FLASHIMG_RAM_SIZE@
  107. /**
  108. * gnss reserved RAM address
  109. */
  110. #cmakedefine CONFIG_GNSS_RAM_ADDRESS @CONFIG_GNSS_RAM_ADDRESS@
  111. /**
  112. * gnss reserved RAM size
  113. */
  114. #cmakedefine CONFIG_GNSS_RAM_SIZE @CONFIG_GNSS_RAM_SIZE@
  115. /**
  116. * trust zone tos reserved RAM address
  117. */
  118. #cmakedefine CONFIG_APP_TRUSTZONE_TOS_RAM_ADDRESS @CONFIG_APP_TRUSTZONE_TOS_RAM_ADDRESS@
  119. /**
  120. * trust zone tos reserved RAM size
  121. */
  122. #cmakedefine CONFIG_APP_TRUSTZONE_TOS_RAM_SIZE @CONFIG_APP_TRUSTZONE_TOS_RAM_SIZE@
  123. /**
  124. * trust zone sml reserved RAM address
  125. */
  126. #cmakedefine CONFIG_APP_TRUSTZONE_SML_RAM_ADDRESS @CONFIG_APP_TRUSTZONE_SML_RAM_ADDRESS@
  127. /**
  128. * trust zone sml reserved RAM size
  129. */
  130. #cmakedefine CONFIG_APP_TRUSTZONE_SML_RAM_SIZE @CONFIG_APP_TRUSTZONE_SML_RAM_SIZE@
  131. /**
  132. * IRQ stack size
  133. */
  134. #cmakedefine CONFIG_IRQ_STACK_SIZE @CONFIG_IRQ_STACK_SIZE@
  135. /**
  136. * SVC stack size (8850)
  137. */
  138. #cmakedefine CONFIG_SVC_STACK_SIZE @CONFIG_SVC_STACK_SIZE@
  139. /**
  140. * appll frequency
  141. */
  142. #cmakedefine CONFIG_DEFAULT_APPLL_FREQ @CONFIG_DEFAULT_APPLL_FREQ@
  143. /**
  144. * APA5 cpu frequency
  145. */
  146. #cmakedefine CONFIG_DEFAULT_APA5_FREQ @CONFIG_DEFAULT_APA5_FREQ@
  147. /**
  148. * default AXI bus frequency
  149. */
  150. #cmakedefine CONFIG_DEFAULT_AP_BUS_FREQ @CONFIG_DEFAULT_AP_BUS_FREQ@
  151. /**
  152. * config rc26m frequency
  153. */
  154. #cmakedefine CONFIG_RC26M_CALIB_FIXED_FREQ @CONFIG_RC26M_CALIB_FIXED_FREQ@
  155. /**
  156. * maximum AXI bus frequency
  157. */
  158. #cmakedefine CONFIG_MAX_AP_BUS_FREQ @CONFIG_MAX_AP_BUS_FREQ@
  159. /**
  160. * AHB bus frequency
  161. */
  162. #cmakedefine CONFIG_DEFAULT_SYSAHB_FREQ @CONFIG_DEFAULT_SYSAHB_FREQ@
  163. #endif