Kconfig 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. config ARCH_CPU_64BIT
  2. bool
  3. config RT_USING_CACHE
  4. bool
  5. default n
  6. config RT_USING_HW_ATOMIC
  7. bool
  8. default n
  9. config ARCH_CPU_BIG_ENDIAN
  10. bool
  11. config ARCH_ARM_BOOTWITH_FLUSH_CACHE
  12. bool
  13. default n
  14. config ARCH_CPU_STACK_GROWS_UPWARD
  15. bool
  16. default n
  17. config RT_USING_CPU_FFS
  18. bool
  19. default n
  20. config ARCH_MM_MMU
  21. bool
  22. config ARCH_MM_MPU
  23. bool
  24. config ARCH_ARM
  25. bool
  26. config ARCH_ARM_CORTEX_M
  27. bool
  28. select ARCH_ARM
  29. config ARCH_ARM_CORTEX_FPU
  30. bool
  31. config ARCH_ARM_CORTEX_SECURE
  32. bool
  33. config ARCH_ARM_CORTEX_M0
  34. bool
  35. select ARCH_ARM_CORTEX_M
  36. config ARCH_ARM_CORTEX_M3
  37. bool
  38. select ARCH_ARM_CORTEX_M
  39. select RT_USING_CPU_FFS
  40. select RT_USING_HW_ATOMIC
  41. config ARCH_ARM_MPU
  42. bool
  43. depends on ARCH_ARM
  44. select ARCH_MM_MPU
  45. config ARCH_ARM_CORTEX_M4
  46. bool
  47. select ARCH_ARM_CORTEX_M
  48. select RT_USING_CPU_FFS
  49. select RT_USING_HW_ATOMIC
  50. config ARCH_ARM_CORTEX_M7
  51. bool
  52. select ARCH_ARM_CORTEX_M
  53. select RT_USING_CPU_FFS
  54. select RT_USING_CACHE
  55. config ARCH_ARM_CORTEX_M85
  56. bool
  57. select ARCH_ARM_CORTEX_M
  58. select RT_USING_CPU_FFS
  59. select RT_USING_HW_ATOMIC
  60. config ARCH_ARM_CORTEX_M23
  61. bool
  62. select ARCH_ARM_CORTEX_M
  63. select RT_USING_HW_ATOMIC
  64. config ARCH_ARM_CORTEX_M33
  65. bool
  66. select ARCH_ARM_CORTEX_M
  67. select RT_USING_CPU_FFS
  68. select RT_USING_HW_ATOMIC
  69. config ARCH_ARM_CORTEX_R
  70. bool
  71. select ARCH_ARM
  72. select RT_USING_HW_ATOMIC
  73. config ARCH_ARM_MMU
  74. bool
  75. select RT_USING_CACHE
  76. select ARCH_MM_MMU
  77. depends on ARCH_ARM
  78. if RT_USING_SMART
  79. config KERNEL_VADDR_START
  80. hex "The virtural address of kernel start"
  81. default 0xffff000000000000 if ARCH_ARMV8
  82. default 0xc0000000 if ARCH_ARM
  83. default 0x80000000 if ARCH_RISCV
  84. depends on ARCH_MM_MMU
  85. config RT_IOREMAP_LATE
  86. bool "Support to create IO mapping in the kernel address space after system initlalization."
  87. default n
  88. depends on ARCH_ARM_CORTEX_A
  89. depends on ARCH_MM_MMU
  90. endif
  91. config ARCH_ARM_ARM9
  92. bool
  93. select ARCH_ARM
  94. config ARCH_ARM_ARM11
  95. bool
  96. select ARCH_ARM
  97. config ARCH_ARM_CORTEX_A
  98. bool
  99. select ARCH_ARM
  100. select ARCH_ARM_MMU
  101. select RT_USING_CPU_FFS
  102. select RT_USING_HW_ATOMIC
  103. if ARCH_ARM_CORTEX_A
  104. config RT_SMP_AUTO_BOOT
  105. bool
  106. default n
  107. config RT_USING_GIC_V2
  108. bool
  109. default n
  110. config RT_USING_GIC_V3
  111. bool
  112. default n
  113. config RT_NO_USING_GIC
  114. bool
  115. default y if !RT_USING_GIC_V2 && !RT_USING_GIC_V3
  116. endif
  117. config ARCH_ARM_CORTEX_A5
  118. bool
  119. select ARCH_ARM_CORTEX_A
  120. config ARCH_ARM_CORTEX_A7
  121. bool
  122. select ARCH_ARM_CORTEX_A
  123. config ARCH_ARM_CORTEX_A8
  124. bool
  125. select ARCH_ARM_CORTEX_A
  126. config ARCH_ARM_CORTEX_A9
  127. bool
  128. select ARCH_ARM_CORTEX_A
  129. config ARCH_ARM_CORTEX_A55
  130. bool
  131. select ARCH_ARM_CORTEX_A
  132. config ARCH_ARM_SECURE_MODE
  133. bool "Running in secure mode [ARM Cortex-A]"
  134. default n
  135. depends on ARCH_ARM_CORTEX_A
  136. config RT_BACKTRACE_FUNCTION_NAME
  137. bool "To show function name when backtrace."
  138. default n
  139. depends on ARCH_ARM_CORTEX_A
  140. config ARCH_ARMV8
  141. bool
  142. select ARCH_ARM
  143. select ARCH_ARM_MMU
  144. select RT_USING_CPU_FFS
  145. config ARCH_MIPS
  146. bool
  147. config ARCH_MIPS64
  148. bool
  149. select ARCH_CPU_64BIT
  150. config ARCH_MIPS_XBURST
  151. bool
  152. select ARCH_MIPS
  153. config ARCH_ANDES
  154. bool
  155. config ARCH_CSKY
  156. bool
  157. config ARCH_POWERPC
  158. bool
  159. config ARCH_RISCV
  160. bool
  161. config ARCH_RISCV_FPU
  162. bool
  163. config ARCH_RISCV_FPU_S
  164. select ARCH_RISCV_FPU
  165. bool
  166. config ARCH_RISCV_FPU_D
  167. select ARCH_RISCV_FPU
  168. bool
  169. config ARCH_RISCV32
  170. select ARCH_RISCV
  171. bool
  172. config ARCH_RISCV64
  173. select ARCH_RISCV
  174. select ARCH_CPU_64BIT
  175. bool
  176. config ARCH_IA32
  177. bool
  178. config ARCH_TIDSP
  179. bool
  180. config ARCH_TIDSP_C28X
  181. bool
  182. select ARCH_TIDSP
  183. select ARCH_CPU_STACK_GROWS_UPWARD
  184. config ARCH_HOST_SIMULATOR
  185. bool
  186. config ARCH_CPU_STACK_GROWS_UPWARD
  187. bool
  188. default n