Kconfig 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. config CREATE_ARCH_SYMLINK
  2. bool
  3. config HAVE_ARCH_IOREMAP
  4. bool
  5. choice
  6. prompt "Architecture select"
  7. default SANDBOX
  8. config ARC
  9. bool "ARC architecture"
  10. select ARCH_EARLY_INIT_R
  11. select ARC_TIMER
  12. select CLK
  13. select HAVE_PRIVATE_LIBGCC
  14. select SUPPORT_OF_CONTROL
  15. select TIMER
  16. config ARM
  17. bool "ARM architecture"
  18. select CREATE_ARCH_SYMLINK
  19. select HAVE_PRIVATE_LIBGCC if !ARM64
  20. select SUPPORT_OF_CONTROL
  21. config CSKY
  22. bool "CSKY architecture"
  23. select CREATE_ARCH_SYMLINK
  24. select SUPPORT_OF_CONTROL
  25. select OF_CONTROL
  26. select DM
  27. imply DM_SERIAL
  28. imply DM_SPI
  29. imply DM_SPI_FLASH
  30. imply DM_MMC
  31. imply CLK
  32. imply MTD
  33. imply CMD_DM
  34. imply MMC_DW
  35. imply SPL_LIBCOMMON_SUPPORT
  36. imply SPL_LIBGENERIC_SUPPORT
  37. imply SPL_SERIAL_SUPPORT
  38. imply SPL_TIMER
  39. config M68K
  40. bool "M68000 architecture"
  41. select HAVE_PRIVATE_LIBGCC
  42. select SYS_BOOT_GET_CMDLINE
  43. select SYS_BOOT_GET_KBD
  44. select SUPPORT_OF_CONTROL
  45. config MICROBLAZE
  46. bool "MicroBlaze architecture"
  47. select SUPPORT_OF_CONTROL
  48. imply CMD_IRQ
  49. config MIPS
  50. bool "MIPS architecture"
  51. select HAVE_ARCH_IOREMAP
  52. select HAVE_PRIVATE_LIBGCC
  53. select SUPPORT_OF_CONTROL
  54. config NDS32
  55. bool "NDS32 architecture"
  56. select SUPPORT_OF_CONTROL
  57. config NIOS2
  58. bool "Nios II architecture"
  59. select CPU
  60. select DM
  61. select OF_CONTROL
  62. select SUPPORT_OF_CONTROL
  63. imply CMD_DM
  64. config PPC
  65. bool "PowerPC architecture"
  66. select HAVE_PRIVATE_LIBGCC
  67. select SUPPORT_OF_CONTROL
  68. select SYS_BOOT_GET_CMDLINE
  69. select SYS_BOOT_GET_KBD
  70. config RISCV
  71. bool "RISC-V architecture"
  72. select CREATE_ARCH_SYMLINK
  73. select SUPPORT_OF_CONTROL
  74. select OF_CONTROL
  75. select DM
  76. imply DM_SERIAL
  77. imply DM_ETH
  78. imply DM_MMC
  79. imply DM_SPI
  80. imply DM_SPI_FLASH
  81. imply BLK
  82. imply CLK
  83. imply MTD
  84. imply TIMER
  85. imply CMD_DM
  86. imply SPL_DM
  87. imply SPL_OF_CONTROL
  88. imply SPL_LIBCOMMON_SUPPORT
  89. imply SPL_LIBGENERIC_SUPPORT
  90. imply SPL_SERIAL_SUPPORT
  91. imply SPL_TIMER
  92. config SANDBOX
  93. bool "Sandbox"
  94. select BOARD_LATE_INIT
  95. select DM
  96. select DM_GPIO
  97. select DM_I2C
  98. select DM_KEYBOARD
  99. select DM_MMC
  100. select DM_SERIAL
  101. select DM_SPI
  102. select DM_SPI_FLASH
  103. select HAVE_BLOCK_DEVICE
  104. select LZO
  105. select PCI_ENDPOINT
  106. select SPI
  107. select SUPPORT_OF_CONTROL
  108. select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
  109. imply BITREVERSE
  110. select BLOBLIST
  111. imply CMD_DM
  112. imply CMD_GETTIME
  113. imply CMD_HASH
  114. imply CMD_IO
  115. imply CMD_IOTRACE
  116. imply CMD_LZMADEC
  117. imply CMD_SATA
  118. imply CMD_SF
  119. imply CMD_SF_TEST
  120. imply CRC32_VERIFY
  121. imply FAT_WRITE
  122. imply FIRMWARE
  123. imply HASH_VERIFY
  124. imply LZMA
  125. imply SCSI
  126. imply TEE
  127. imply AVB_VERIFY
  128. imply LIBAVB
  129. imply CMD_AVB
  130. imply UDP_FUNCTION_FASTBOOT
  131. imply VIRTIO_MMIO
  132. imply VIRTIO_PCI
  133. imply VIRTIO_SANDBOX
  134. imply VIRTIO_BLK
  135. imply VIRTIO_NET
  136. imply DM_SOUND
  137. imply PCI_SANDBOX_EP
  138. imply PCH
  139. imply PHYLIB
  140. imply DM_MDIO
  141. imply DM_MDIO_MUX
  142. config SH
  143. bool "SuperH architecture"
  144. select HAVE_PRIVATE_LIBGCC
  145. select SUPPORT_OF_CONTROL
  146. config X86
  147. bool "x86 architecture"
  148. select SUPPORT_SPL
  149. select SUPPORT_TPL
  150. select CREATE_ARCH_SYMLINK
  151. select DM
  152. select DM_PCI
  153. select HAVE_ARCH_IOMAP
  154. select HAVE_PRIVATE_LIBGCC
  155. select OF_CONTROL
  156. select PCI
  157. select SUPPORT_OF_CONTROL
  158. select TIMER
  159. select USE_PRIVATE_LIBGCC
  160. select X86_TSC_TIMER
  161. imply BLK
  162. imply CMD_DM
  163. imply CMD_FPGA_LOADMK
  164. imply CMD_GETTIME
  165. imply CMD_IO
  166. imply CMD_IRQ
  167. imply CMD_PCI
  168. imply CMD_SF
  169. imply CMD_SF_TEST
  170. imply CMD_ZBOOT
  171. imply DM_ETH
  172. imply DM_GPIO
  173. imply DM_KEYBOARD
  174. imply DM_MMC
  175. imply DM_RTC
  176. imply DM_SCSI
  177. imply DM_SERIAL
  178. imply DM_SPI
  179. imply DM_SPI_FLASH
  180. imply DM_USB
  181. imply DM_VIDEO
  182. imply SYSRESET
  183. imply SPL_SYSRESET
  184. imply SYSRESET_X86
  185. imply USB_ETHER_ASIX
  186. imply USB_ETHER_SMSC95XX
  187. imply USB_HOST_ETHER
  188. imply PCH
  189. imply RTC_MC146818
  190. # Thing to enable for when SPL/TPL are enabled: SPL
  191. imply SPL_DM
  192. imply SPL_OF_LIBFDT
  193. imply SPL_DRIVERS_MISC_SUPPORT
  194. imply SPL_GPIO_SUPPORT
  195. imply SPL_LIBCOMMON_SUPPORT
  196. imply SPL_LIBGENERIC_SUPPORT
  197. imply SPL_SERIAL_SUPPORT
  198. imply SPL_SPI_FLASH_SUPPORT
  199. imply SPL_SPI_SUPPORT
  200. imply SPL_OF_CONTROL
  201. imply SPL_TIMER
  202. imply SPL_REGMAP
  203. imply SPL_SYSCON
  204. # TPL
  205. imply TPL_DM
  206. imply TPL_OF_LIBFDT
  207. imply TPL_DRIVERS_MISC_SUPPORT
  208. imply TPL_GPIO_SUPPORT
  209. imply TPL_LIBCOMMON_SUPPORT
  210. imply TPL_LIBGENERIC_SUPPORT
  211. imply TPL_SERIAL_SUPPORT
  212. imply TPL_SPI_FLASH_SUPPORT
  213. imply TPL_SPI_SUPPORT
  214. imply TPL_OF_CONTROL
  215. imply TPL_TIMER
  216. imply TPL_REGMAP
  217. imply TPL_SYSCON
  218. config XTENSA
  219. bool "Xtensa architecture"
  220. select CREATE_ARCH_SYMLINK
  221. select SUPPORT_OF_CONTROL
  222. endchoice
  223. config SYS_ARCH
  224. string
  225. help
  226. This option should contain the architecture name to build the
  227. appropriate arch/<CONFIG_SYS_ARCH> directory.
  228. All the architectures should specify this option correctly.
  229. config SYS_CPU
  230. string
  231. help
  232. This option should contain the CPU name to build the correct
  233. arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
  234. This is optional. For those targets without the CPU directory,
  235. leave this option empty.
  236. config SYS_SOC
  237. string
  238. help
  239. This option should contain the SoC name to build the directory
  240. arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
  241. This is optional. For those targets without the SoC directory,
  242. leave this option empty.
  243. config SYS_VENDOR
  244. string
  245. help
  246. This option should contain the vendor name of the target board.
  247. If it is set and
  248. board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
  249. directory is compiled.
  250. If CONFIG_SYS_BOARD is also set, the sources under
  251. board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
  252. This is optional. For those targets without the vendor directory,
  253. leave this option empty.
  254. config SYS_BOARD
  255. string
  256. help
  257. This option should contain the name of the target board.
  258. If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
  259. or board/<CONFIG_SYS_BOARD> directory is compiled depending on
  260. whether CONFIG_SYS_VENDOR is set or not.
  261. This is optional. For those targets without the board directory,
  262. leave this option empty.
  263. config SYS_CONFIG_NAME
  264. string
  265. help
  266. This option should contain the base name of board header file.
  267. The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
  268. should be included from include/config.h.
  269. config SYS_DISABLE_DCACHE_OPS
  270. bool
  271. help
  272. This option disables dcache flush and dcache invalidation
  273. operations. For example, on coherent systems where cache
  274. operatios are not required, enable this option to avoid them.
  275. Note that, its up to the individual architectures to implement
  276. this functionality.
  277. source "arch/arc/Kconfig"
  278. source "arch/arm/Kconfig"
  279. source "arch/csky/Kconfig"
  280. source "arch/m68k/Kconfig"
  281. source "arch/microblaze/Kconfig"
  282. source "arch/mips/Kconfig"
  283. source "arch/nds32/Kconfig"
  284. source "arch/nios2/Kconfig"
  285. source "arch/powerpc/Kconfig"
  286. source "arch/sandbox/Kconfig"
  287. source "arch/sh/Kconfig"
  288. source "arch/x86/Kconfig"
  289. source "arch/xtensa/Kconfig"
  290. source "arch/riscv/Kconfig"