Kconfig 7.1 KB

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