Kconfig 3.7 KB

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