Kconfig 4.4 KB

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