Kconfig 4.4 KB

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