Kconfig 6.5 KB

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