Kconfig 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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 M68K
  22. bool "M68000 architecture"
  23. select HAVE_PRIVATE_LIBGCC
  24. select SYS_BOOT_GET_CMDLINE
  25. select SYS_BOOT_GET_KBD
  26. config MICROBLAZE
  27. bool "MicroBlaze architecture"
  28. select SUPPORT_OF_CONTROL
  29. imply CMD_IRQ
  30. config MIPS
  31. bool "MIPS architecture"
  32. select HAVE_ARCH_IOREMAP
  33. select HAVE_PRIVATE_LIBGCC
  34. select SUPPORT_OF_CONTROL
  35. config NDS32
  36. bool "NDS32 architecture"
  37. select SUPPORT_OF_CONTROL
  38. config NIOS2
  39. bool "Nios II architecture"
  40. select CPU
  41. select DM
  42. select OF_CONTROL
  43. select SUPPORT_OF_CONTROL
  44. imply CMD_DM
  45. config PPC
  46. bool "PowerPC architecture"
  47. select HAVE_PRIVATE_LIBGCC
  48. select SUPPORT_OF_CONTROL
  49. select SYS_BOOT_GET_CMDLINE
  50. select SYS_BOOT_GET_KBD
  51. config RISCV
  52. bool "RISC-V architecture"
  53. select SUPPORT_OF_CONTROL
  54. select OF_CONTROL
  55. select DM
  56. imply DM_SERIAL
  57. imply DM_ETH
  58. imply DM_MMC
  59. imply DM_SPI
  60. imply DM_SPI_FLASH
  61. imply BLK
  62. imply CLK
  63. imply MTD
  64. imply TIMER
  65. imply CMD_DM
  66. config SANDBOX
  67. bool "Sandbox"
  68. select BOARD_LATE_INIT
  69. select DM
  70. select DM_GPIO
  71. select DM_I2C
  72. select DM_KEYBOARD
  73. select DM_MMC
  74. select DM_SERIAL
  75. select DM_SPI
  76. select DM_SPI_FLASH
  77. select HAVE_BLOCK_DEVICE
  78. select LZO
  79. select SPI
  80. select SUPPORT_OF_CONTROL
  81. imply BITREVERSE
  82. imply CMD_DM
  83. imply CMD_GETTIME
  84. imply CMD_HASH
  85. imply CMD_IO
  86. imply CMD_IOTRACE
  87. imply CMD_LZMADEC
  88. imply CMD_SATA
  89. imply CMD_SF_TEST
  90. imply CRC32_VERIFY
  91. imply FAT_WRITE
  92. imply FIRMWARE
  93. imply HASH_VERIFY
  94. imply LZMA
  95. imply SCSI
  96. imply TEE
  97. imply AVB_VERIFY
  98. imply LIBAVB
  99. imply CMD_AVB
  100. imply UDP_FUNCTION_FASTBOOT
  101. imply VIRTIO_MMIO
  102. imply VIRTIO_PCI
  103. imply VIRTIO_SANDBOX
  104. imply VIRTIO_BLK
  105. imply VIRTIO_NET
  106. config SH
  107. bool "SuperH architecture"
  108. select HAVE_PRIVATE_LIBGCC
  109. config X86
  110. bool "x86 architecture"
  111. select CREATE_ARCH_SYMLINK
  112. select DM
  113. select DM_PCI
  114. select HAVE_ARCH_IOMAP
  115. select HAVE_PRIVATE_LIBGCC
  116. select OF_CONTROL
  117. select PCI
  118. select SUPPORT_OF_CONTROL
  119. select TIMER
  120. select USE_PRIVATE_LIBGCC
  121. select X86_TSC_TIMER
  122. imply BLK
  123. imply CMD_DM
  124. imply CMD_FPGA_LOADMK
  125. imply CMD_GETTIME
  126. imply CMD_IO
  127. imply CMD_IRQ
  128. imply CMD_PCI
  129. imply CMD_SF_TEST
  130. imply CMD_ZBOOT
  131. imply DM_ETH
  132. imply DM_GPIO
  133. imply DM_KEYBOARD
  134. imply DM_MMC
  135. imply DM_RTC
  136. imply DM_SCSI
  137. imply DM_SERIAL
  138. imply DM_SPI
  139. imply DM_SPI_FLASH
  140. imply DM_USB
  141. imply DM_VIDEO
  142. imply SYSRESET
  143. imply SYSRESET_X86
  144. imply USB_ETHER_ASIX
  145. imply USB_ETHER_SMSC95XX
  146. imply USB_HOST_ETHER
  147. config XTENSA
  148. bool "Xtensa architecture"
  149. select CREATE_ARCH_SYMLINK
  150. select SUPPORT_OF_CONTROL
  151. endchoice
  152. config SYS_ARCH
  153. string
  154. help
  155. This option should contain the architecture name to build the
  156. appropriate arch/<CONFIG_SYS_ARCH> directory.
  157. All the architectures should specify this option correctly.
  158. config SYS_CPU
  159. string
  160. help
  161. This option should contain the CPU name to build the correct
  162. arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
  163. This is optional. For those targets without the CPU directory,
  164. leave this option empty.
  165. config SYS_SOC
  166. string
  167. help
  168. This option should contain the SoC name to build the directory
  169. arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
  170. This is optional. For those targets without the SoC directory,
  171. leave this option empty.
  172. config SYS_VENDOR
  173. string
  174. help
  175. This option should contain the vendor name of the target board.
  176. If it is set and
  177. board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
  178. directory is compiled.
  179. If CONFIG_SYS_BOARD is also set, the sources under
  180. board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
  181. This is optional. For those targets without the vendor directory,
  182. leave this option empty.
  183. config SYS_BOARD
  184. string
  185. help
  186. This option should contain the name of the target board.
  187. If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
  188. or board/<CONFIG_SYS_BOARD> directory is compiled depending on
  189. whether CONFIG_SYS_VENDOR is set or not.
  190. This is optional. For those targets without the board directory,
  191. leave this option empty.
  192. config SYS_CONFIG_NAME
  193. string
  194. help
  195. This option should contain the base name of board header file.
  196. The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
  197. should be included from include/config.h.
  198. source "arch/arc/Kconfig"
  199. source "arch/arm/Kconfig"
  200. source "arch/m68k/Kconfig"
  201. source "arch/microblaze/Kconfig"
  202. source "arch/mips/Kconfig"
  203. source "arch/nds32/Kconfig"
  204. source "arch/nios2/Kconfig"
  205. source "arch/powerpc/Kconfig"
  206. source "arch/sandbox/Kconfig"
  207. source "arch/sh/Kconfig"
  208. source "arch/x86/Kconfig"
  209. source "arch/xtensa/Kconfig"
  210. source "arch/riscv/Kconfig"