Kconfig 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  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. imply BITREVERSE
  110. select BLOBLIST
  111. imply CMD_DM
  112. imply CMD_EXCEPTION
  113. imply CMD_GETTIME
  114. imply CMD_HASH
  115. imply CMD_IO
  116. imply CMD_IOTRACE
  117. imply CMD_LZMADEC
  118. imply CMD_SATA
  119. imply CMD_SF
  120. imply CMD_SF_TEST
  121. imply CRC32_VERIFY
  122. imply FAT_WRITE
  123. imply FIRMWARE
  124. imply HASH_VERIFY
  125. imply LZMA
  126. imply SCSI
  127. imply TEE
  128. imply AVB_VERIFY
  129. imply LIBAVB
  130. imply CMD_AVB
  131. imply SCP03
  132. imply CMD_SCP03
  133. imply UDP_FUNCTION_FASTBOOT
  134. imply VIRTIO_MMIO
  135. imply VIRTIO_PCI
  136. imply VIRTIO_SANDBOX
  137. imply VIRTIO_BLK
  138. imply VIRTIO_NET
  139. imply DM_SOUND
  140. imply PCI_SANDBOX_EP
  141. imply PCH
  142. imply PHYLIB
  143. imply DM_MDIO
  144. imply DM_MDIO_MUX
  145. imply ACPI_PMC
  146. imply ACPI_PMC_SANDBOX
  147. imply CMD_PMC
  148. imply CMD_CLONE
  149. imply SILENT_CONSOLE
  150. imply BOOTARGS_SUBST
  151. imply PHY_FIXED
  152. imply DM_DSA
  153. config SH
  154. bool "SuperH architecture"
  155. select HAVE_PRIVATE_LIBGCC
  156. select SUPPORT_OF_CONTROL
  157. config X86
  158. bool "x86 architecture"
  159. select SUPPORT_SPL
  160. select SUPPORT_TPL
  161. select CREATE_ARCH_SYMLINK
  162. select DM
  163. select DM_PCI
  164. select HAVE_ARCH_IOMAP
  165. select HAVE_PRIVATE_LIBGCC
  166. select OF_CONTROL
  167. select PCI
  168. select SUPPORT_OF_CONTROL
  169. select TIMER
  170. select USE_PRIVATE_LIBGCC
  171. select X86_TSC_TIMER
  172. imply HAS_ROM if X86_RESET_VECTOR
  173. imply BLK
  174. imply CMD_DM
  175. imply CMD_FPGA_LOADMK
  176. imply CMD_GETTIME
  177. imply CMD_IO
  178. imply CMD_IRQ
  179. imply CMD_PCI
  180. imply CMD_SF
  181. imply CMD_SF_TEST
  182. imply CMD_ZBOOT
  183. imply DM_ETH
  184. imply DM_GPIO
  185. imply DM_KEYBOARD
  186. imply DM_MMC
  187. imply DM_RTC
  188. imply DM_SCSI
  189. imply DM_SERIAL
  190. imply DM_SPI
  191. imply DM_SPI_FLASH
  192. imply DM_USB
  193. imply DM_VIDEO
  194. imply SYSRESET
  195. imply SPL_SYSRESET
  196. imply SYSRESET_X86
  197. imply USB_ETHER_ASIX
  198. imply USB_ETHER_SMSC95XX
  199. imply USB_HOST_ETHER
  200. imply PCH
  201. imply RTC_MC146818
  202. imply IRQ
  203. imply ACPIGEN if !QEMU
  204. imply SYSINFO if GENERATE_SMBIOS_TABLE
  205. imply SYSINFO_SMBIOS if GENERATE_SMBIOS_TABLE
  206. # Thing to enable for when SPL/TPL are enabled: SPL
  207. imply SPL_DM
  208. imply SPL_OF_LIBFDT
  209. imply SPL_DRIVERS_MISC_SUPPORT
  210. imply SPL_GPIO_SUPPORT
  211. imply SPL_PINCTRL
  212. imply SPL_LIBCOMMON_SUPPORT
  213. imply SPL_LIBGENERIC_SUPPORT
  214. imply SPL_SERIAL_SUPPORT
  215. imply SPL_SPI_FLASH_SUPPORT
  216. imply SPL_SPI_SUPPORT
  217. imply SPL_OF_CONTROL
  218. imply SPL_TIMER
  219. imply SPL_REGMAP
  220. imply SPL_SYSCON
  221. # TPL
  222. imply TPL_DM
  223. imply TPL_DRIVERS_MISC_SUPPORT
  224. imply TPL_GPIO_SUPPORT
  225. imply TPL_PINCTRL
  226. imply TPL_LIBCOMMON_SUPPORT
  227. imply TPL_LIBGENERIC_SUPPORT
  228. imply TPL_SERIAL_SUPPORT
  229. imply TPL_OF_CONTROL
  230. imply TPL_TIMER
  231. imply TPL_REGMAP
  232. imply TPL_SYSCON
  233. config XTENSA
  234. bool "Xtensa architecture"
  235. select CREATE_ARCH_SYMLINK
  236. select SUPPORT_OF_CONTROL
  237. endchoice
  238. config SYS_ARCH
  239. string
  240. help
  241. This option should contain the architecture name to build the
  242. appropriate arch/<CONFIG_SYS_ARCH> directory.
  243. All the architectures should specify this option correctly.
  244. config SYS_CPU
  245. string
  246. help
  247. This option should contain the CPU name to build the correct
  248. arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
  249. This is optional. For those targets without the CPU directory,
  250. leave this option empty.
  251. config SYS_SOC
  252. string
  253. help
  254. This option should contain the SoC name to build the directory
  255. arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
  256. This is optional. For those targets without the SoC directory,
  257. leave this option empty.
  258. config SYS_VENDOR
  259. string
  260. help
  261. This option should contain the vendor name of the target board.
  262. If it is set and
  263. board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
  264. directory is compiled.
  265. If CONFIG_SYS_BOARD is also set, the sources under
  266. board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
  267. This is optional. For those targets without the vendor directory,
  268. leave this option empty.
  269. config SYS_BOARD
  270. string
  271. help
  272. This option should contain the name of the target board.
  273. If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
  274. or board/<CONFIG_SYS_BOARD> directory is compiled depending on
  275. whether CONFIG_SYS_VENDOR is set or not.
  276. This is optional. For those targets without the board directory,
  277. leave this option empty.
  278. config SYS_CONFIG_NAME
  279. string
  280. help
  281. This option should contain the base name of board header file.
  282. The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
  283. should be included from include/config.h.
  284. config SYS_DISABLE_DCACHE_OPS
  285. bool
  286. help
  287. This option disables dcache flush and dcache invalidation
  288. operations. For example, on coherent systems where cache
  289. operatios are not required, enable this option to avoid them.
  290. Note that, its up to the individual architectures to implement
  291. this functionality.
  292. source "arch/arc/Kconfig"
  293. source "arch/arm/Kconfig"
  294. source "arch/m68k/Kconfig"
  295. source "arch/microblaze/Kconfig"
  296. source "arch/mips/Kconfig"
  297. source "arch/nds32/Kconfig"
  298. source "arch/nios2/Kconfig"
  299. source "arch/powerpc/Kconfig"
  300. source "arch/sandbox/Kconfig"
  301. source "arch/sh/Kconfig"
  302. source "arch/x86/Kconfig"
  303. source "arch/xtensa/Kconfig"
  304. source "arch/riscv/Kconfig"