Kconfig 4.3 KB

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