Kconfig 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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 "riscv architecture"
  53. select SUPPORT_OF_CONTROL
  54. config SANDBOX
  55. bool "Sandbox"
  56. select BOARD_LATE_INIT
  57. select DM
  58. select DM_GPIO
  59. select DM_I2C
  60. select DM_KEYBOARD
  61. select DM_MMC
  62. select DM_SERIAL
  63. select DM_SPI
  64. select DM_SPI_FLASH
  65. select HAVE_BLOCK_DEVICE
  66. select LZO
  67. select SPI
  68. select SUPPORT_OF_CONTROL
  69. imply BITREVERSE
  70. imply CMD_DM
  71. imply CMD_GETTIME
  72. imply CMD_HASH
  73. imply CMD_IO
  74. imply CMD_IOTRACE
  75. imply CMD_LZMADEC
  76. imply CMD_SATA
  77. imply CMD_SF_TEST
  78. imply CRC32_VERIFY
  79. imply FAT_WRITE
  80. imply FIRMWARE
  81. imply HASH_VERIFY
  82. imply LZMA
  83. imply SCSI
  84. config SH
  85. bool "SuperH architecture"
  86. select HAVE_PRIVATE_LIBGCC
  87. config X86
  88. bool "x86 architecture"
  89. select CREATE_ARCH_SYMLINK
  90. select DM
  91. select DM_PCI
  92. select HAVE_PRIVATE_LIBGCC
  93. select OF_CONTROL
  94. select PCI
  95. select SUPPORT_OF_CONTROL
  96. select TIMER
  97. select USE_PRIVATE_LIBGCC
  98. select X86_TSC_TIMER
  99. imply BLK
  100. imply CMD_DM
  101. imply CMD_FPGA_LOADMK
  102. imply CMD_GETTIME
  103. imply CMD_IO
  104. imply CMD_IRQ
  105. imply CMD_PCI
  106. imply CMD_SF_TEST
  107. imply CMD_ZBOOT
  108. imply DM_ETH
  109. imply DM_GPIO
  110. imply DM_KEYBOARD
  111. imply DM_MMC
  112. imply DM_RTC
  113. imply DM_SCSI
  114. imply DM_SERIAL
  115. imply DM_SPI
  116. imply DM_SPI_FLASH
  117. imply DM_USB
  118. imply DM_VIDEO
  119. imply SYSRESET
  120. imply SYSRESET_X86
  121. imply USB_ETHER_ASIX
  122. imply USB_ETHER_SMSC95XX
  123. imply USB_HOST_ETHER
  124. config XTENSA
  125. bool "Xtensa architecture"
  126. select CREATE_ARCH_SYMLINK
  127. select SUPPORT_OF_CONTROL
  128. endchoice
  129. config SYS_ARCH
  130. string
  131. help
  132. This option should contain the architecture name to build the
  133. appropriate arch/<CONFIG_SYS_ARCH> directory.
  134. All the architectures should specify this option correctly.
  135. config SYS_CPU
  136. string
  137. help
  138. This option should contain the CPU name to build the correct
  139. arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
  140. This is optional. For those targets without the CPU directory,
  141. leave this option empty.
  142. config SYS_SOC
  143. string
  144. help
  145. This option should contain the SoC name to build the directory
  146. arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
  147. This is optional. For those targets without the SoC directory,
  148. leave this option empty.
  149. config SYS_VENDOR
  150. string
  151. help
  152. This option should contain the vendor name of the target board.
  153. If it is set and
  154. board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
  155. directory is compiled.
  156. If CONFIG_SYS_BOARD is also set, the sources under
  157. board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
  158. This is optional. For those targets without the vendor directory,
  159. leave this option empty.
  160. config SYS_BOARD
  161. string
  162. help
  163. This option should contain the name of the target board.
  164. If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
  165. or board/<CONFIG_SYS_BOARD> directory is compiled depending on
  166. whether CONFIG_SYS_VENDOR is set or not.
  167. This is optional. For those targets without the board directory,
  168. leave this option empty.
  169. config SYS_CONFIG_NAME
  170. string
  171. help
  172. This option should contain the base name of board header file.
  173. The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
  174. should be included from include/config.h.
  175. source "arch/arc/Kconfig"
  176. source "arch/arm/Kconfig"
  177. source "arch/m68k/Kconfig"
  178. source "arch/microblaze/Kconfig"
  179. source "arch/mips/Kconfig"
  180. source "arch/nds32/Kconfig"
  181. source "arch/nios2/Kconfig"
  182. source "arch/powerpc/Kconfig"
  183. source "arch/sandbox/Kconfig"
  184. source "arch/sh/Kconfig"
  185. source "arch/x86/Kconfig"
  186. source "arch/xtensa/Kconfig"
  187. source "arch/riscv/Kconfig"