Kconfig 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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. select RT_USING_HW_ATOMIC
  56. config ARCH_ARM_CORTEX_M23
  57. bool
  58. select ARCH_ARM_CORTEX_M
  59. select RT_USING_HW_ATOMIC
  60. config ARCH_ARM_CORTEX_M33
  61. bool
  62. select ARCH_ARM_CORTEX_M
  63. select RT_USING_CPU_FFS
  64. select RT_USING_HW_ATOMIC
  65. config ARCH_ARM_CORTEX_R
  66. bool
  67. select ARCH_ARM
  68. select RT_USING_HW_ATOMIC
  69. config ARCH_ARM_MMU
  70. bool
  71. select RT_USING_CACHE
  72. select ARCH_MM_MMU
  73. depends on ARCH_ARM
  74. if RT_USING_SMART
  75. config KERNEL_VADDR_START
  76. hex "The virtural address of kernel start"
  77. default 0xffff000000000000 if ARCH_ARMV8
  78. default 0xc0000000 if ARCH_ARM
  79. default 0x80000000 if ARCH_RISCV
  80. depends on ARCH_MM_MMU
  81. config RT_IOREMAP_LATE
  82. bool "Support to create IO mapping in the kernel address space after system initlalization."
  83. default n
  84. depends on ARCH_ARM_CORTEX_A
  85. depends on ARCH_MM_MMU
  86. endif
  87. config ARCH_ARM_ARM9
  88. bool
  89. select ARCH_ARM
  90. config ARCH_ARM_ARM11
  91. bool
  92. select ARCH_ARM
  93. config ARCH_ARM_CORTEX_A
  94. bool
  95. select ARCH_ARM
  96. select ARCH_ARM_MMU
  97. select RT_USING_CPU_FFS
  98. select RT_USING_HW_ATOMIC
  99. if ARCH_ARM_CORTEX_A
  100. config RT_SMP_AUTO_BOOT
  101. bool
  102. default n
  103. config RT_USING_GIC_V2
  104. bool
  105. default n
  106. config RT_USING_GIC_V3
  107. bool
  108. default n
  109. config RT_NO_USING_GIC
  110. bool
  111. default y if !RT_USING_GIC_V2 && !RT_USING_GIC_V3
  112. endif
  113. config ARCH_ARM_CORTEX_A5
  114. bool
  115. select ARCH_ARM_CORTEX_A
  116. config ARCH_ARM_CORTEX_A7
  117. bool
  118. select ARCH_ARM_CORTEX_A
  119. config ARCH_ARM_CORTEX_A8
  120. bool
  121. select ARCH_ARM_CORTEX_A
  122. config ARCH_ARM_CORTEX_A9
  123. bool
  124. select ARCH_ARM_CORTEX_A
  125. config ARCH_ARM_CORTEX_A55
  126. bool
  127. select ARCH_ARM_CORTEX_A
  128. config ARCH_ARM_SECURE_MODE
  129. bool "Running in secure mode [ARM Cortex-A]"
  130. default n
  131. depends on ARCH_ARM_CORTEX_A
  132. config RT_BACKTRACE_FUNCTION_NAME
  133. bool "To show function name when backtrace."
  134. default n
  135. depends on ARCH_ARM_CORTEX_A
  136. config ARCH_ARMV8
  137. bool
  138. select ARCH_ARM
  139. select ARCH_ARM_MMU
  140. config ARCH_MIPS
  141. bool
  142. config ARCH_MIPS64
  143. bool
  144. select ARCH_CPU_64BIT
  145. config ARCH_MIPS_XBURST
  146. bool
  147. select ARCH_MIPS
  148. config ARCH_ANDES
  149. bool
  150. config ARCH_CSKY
  151. bool
  152. config ARCH_POWERPC
  153. bool
  154. config ARCH_RISCV
  155. bool
  156. config ARCH_RISCV_FPU
  157. bool
  158. config ARCH_RISCV_FPU_S
  159. select ARCH_RISCV_FPU
  160. bool
  161. config ARCH_RISCV_FPU_D
  162. select ARCH_RISCV_FPU
  163. bool
  164. config ARCH_RISCV32
  165. select ARCH_RISCV
  166. bool
  167. config ARCH_RISCV64
  168. select ARCH_RISCV
  169. select ARCH_CPU_64BIT
  170. bool
  171. config ARCH_IA32
  172. bool
  173. config ARCH_TIDSP
  174. bool
  175. config ARCH_TIDSP_C28X
  176. bool
  177. select ARCH_TIDSP
  178. select ARCH_CPU_STACK_GROWS_UPWARD
  179. config ARCH_HOST_SIMULATOR
  180. bool
  181. config ARCH_CPU_STACK_GROWS_UPWARD
  182. bool
  183. default n
  184. if ARCH_ARMV8 && ARCH_CPU_64BIT
  185. source "$RTT_DIR/libcpu/aarch64/Kconfig"
  186. endif