Kconfig 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  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. config SH
  102. bool "SuperH architecture"
  103. select HAVE_PRIVATE_LIBGCC
  104. config X86
  105. bool "x86 architecture"
  106. select CREATE_ARCH_SYMLINK
  107. select DM
  108. select DM_PCI
  109. select HAVE_PRIVATE_LIBGCC
  110. select OF_CONTROL
  111. select PCI
  112. select SUPPORT_OF_CONTROL
  113. select TIMER
  114. select USE_PRIVATE_LIBGCC
  115. select X86_TSC_TIMER
  116. imply BLK
  117. imply CMD_DM
  118. imply CMD_FPGA_LOADMK
  119. imply CMD_GETTIME
  120. imply CMD_IO
  121. imply CMD_IRQ
  122. imply CMD_PCI
  123. imply CMD_SF_TEST
  124. imply CMD_ZBOOT
  125. imply DM_ETH
  126. imply DM_GPIO
  127. imply DM_KEYBOARD
  128. imply DM_MMC
  129. imply DM_RTC
  130. imply DM_SCSI
  131. imply DM_SERIAL
  132. imply DM_SPI
  133. imply DM_SPI_FLASH
  134. imply DM_USB
  135. imply DM_VIDEO
  136. imply SYSRESET
  137. imply SYSRESET_X86
  138. imply USB_ETHER_ASIX
  139. imply USB_ETHER_SMSC95XX
  140. imply USB_HOST_ETHER
  141. config XTENSA
  142. bool "Xtensa architecture"
  143. select CREATE_ARCH_SYMLINK
  144. select SUPPORT_OF_CONTROL
  145. endchoice
  146. config SYS_ARCH
  147. string
  148. help
  149. This option should contain the architecture name to build the
  150. appropriate arch/<CONFIG_SYS_ARCH> directory.
  151. All the architectures should specify this option correctly.
  152. config SYS_CPU
  153. string
  154. help
  155. This option should contain the CPU name to build the correct
  156. arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
  157. This is optional. For those targets without the CPU directory,
  158. leave this option empty.
  159. config SYS_SOC
  160. string
  161. help
  162. This option should contain the SoC name to build the directory
  163. arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
  164. This is optional. For those targets without the SoC directory,
  165. leave this option empty.
  166. config SYS_VENDOR
  167. string
  168. help
  169. This option should contain the vendor name of the target board.
  170. If it is set and
  171. board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
  172. directory is compiled.
  173. If CONFIG_SYS_BOARD is also set, the sources under
  174. board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
  175. This is optional. For those targets without the vendor directory,
  176. leave this option empty.
  177. config SYS_BOARD
  178. string
  179. help
  180. This option should contain the name of the target board.
  181. If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
  182. or board/<CONFIG_SYS_BOARD> directory is compiled depending on
  183. whether CONFIG_SYS_VENDOR is set or not.
  184. This is optional. For those targets without the board directory,
  185. leave this option empty.
  186. config SYS_CONFIG_NAME
  187. string
  188. help
  189. This option should contain the base name of board header file.
  190. The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
  191. should be included from include/config.h.
  192. source "arch/arc/Kconfig"
  193. source "arch/arm/Kconfig"
  194. source "arch/m68k/Kconfig"
  195. source "arch/microblaze/Kconfig"
  196. source "arch/mips/Kconfig"
  197. source "arch/nds32/Kconfig"
  198. source "arch/nios2/Kconfig"
  199. source "arch/powerpc/Kconfig"
  200. source "arch/sandbox/Kconfig"
  201. source "arch/sh/Kconfig"
  202. source "arch/x86/Kconfig"
  203. source "arch/xtensa/Kconfig"
  204. source "arch/riscv/Kconfig"