Kconfig 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. config CREATE_ARCH_SYMLINK
  2. bool
  3. config HAVE_GENERIC_BOARD
  4. bool
  5. config SYS_GENERIC_BOARD
  6. bool
  7. depends on HAVE_GENERIC_BOARD
  8. choice
  9. prompt "Architecture select"
  10. default SANDBOX
  11. config ARC
  12. bool "ARC architecture"
  13. select HAVE_PRIVATE_LIBGCC
  14. select HAVE_GENERIC_BOARD
  15. select SYS_GENERIC_BOARD
  16. select SUPPORT_OF_CONTROL
  17. config ARM
  18. bool "ARM architecture"
  19. select CREATE_ARCH_SYMLINK
  20. select HAVE_PRIVATE_LIBGCC if !ARM64
  21. select HAVE_GENERIC_BOARD
  22. select SYS_GENERIC_BOARD
  23. select SUPPORT_OF_CONTROL
  24. config AVR32
  25. bool "AVR32 architecture"
  26. select CREATE_ARCH_SYMLINK
  27. select HAVE_GENERIC_BOARD
  28. select SYS_GENERIC_BOARD
  29. config BLACKFIN
  30. bool "Blackfin architecture"
  31. select HAVE_GENERIC_BOARD
  32. select SYS_GENERIC_BOARD
  33. config M68K
  34. bool "M68000 architecture"
  35. select HAVE_GENERIC_BOARD
  36. select SYS_GENERIC_BOARD
  37. config MICROBLAZE
  38. bool "MicroBlaze architecture"
  39. select HAVE_GENERIC_BOARD
  40. select SYS_GENERIC_BOARD
  41. select SUPPORT_OF_CONTROL
  42. config MIPS
  43. bool "MIPS architecture"
  44. select HAVE_PRIVATE_LIBGCC
  45. select HAVE_GENERIC_BOARD
  46. select SYS_GENERIC_BOARD
  47. config NDS32
  48. bool "NDS32 architecture"
  49. select HAVE_GENERIC_BOARD
  50. select SYS_GENERIC_BOARD
  51. config NIOS2
  52. bool "Nios II architecture"
  53. select HAVE_GENERIC_BOARD
  54. select SYS_GENERIC_BOARD
  55. select SUPPORT_OF_CONTROL
  56. select OF_CONTROL
  57. select DM
  58. select CPU
  59. config OPENRISC
  60. bool "OpenRISC architecture"
  61. config PPC
  62. bool "PowerPC architecture"
  63. select HAVE_PRIVATE_LIBGCC
  64. select HAVE_GENERIC_BOARD
  65. select SYS_GENERIC_BOARD
  66. select SUPPORT_OF_CONTROL
  67. config SANDBOX
  68. bool "Sandbox"
  69. select HAVE_GENERIC_BOARD
  70. select SYS_GENERIC_BOARD
  71. select SUPPORT_OF_CONTROL
  72. select DM
  73. select DM_SPI_FLASH
  74. select DM_SERIAL
  75. select DM_I2C
  76. select DM_SPI
  77. select DM_GPIO
  78. config SH
  79. bool "SuperH architecture"
  80. select HAVE_PRIVATE_LIBGCC
  81. config SPARC
  82. bool "SPARC architecture"
  83. select HAVE_GENERIC_BOARD
  84. select CREATE_ARCH_SYMLINK
  85. config X86
  86. bool "x86 architecture"
  87. select CREATE_ARCH_SYMLINK
  88. select HAVE_PRIVATE_LIBGCC
  89. select HAVE_GENERIC_BOARD
  90. select SYS_GENERIC_BOARD
  91. select SUPPORT_OF_CONTROL
  92. select DM
  93. select DM_SERIAL
  94. select DM_GPIO
  95. select DM_SPI
  96. select DM_SPI_FLASH
  97. endchoice
  98. config SYS_ARCH
  99. string
  100. help
  101. This option should contain the architecture name to build the
  102. appropriate arch/<CONFIG_SYS_ARCH> directory.
  103. All the architectures should specify this option correctly.
  104. config SYS_CPU
  105. string
  106. help
  107. This option should contain the CPU name to build the correct
  108. arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
  109. This is optional. For those targets without the CPU directory,
  110. leave this option empty.
  111. config SYS_SOC
  112. string
  113. help
  114. This option should contain the SoC name to build the directory
  115. arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
  116. This is optional. For those targets without the SoC directory,
  117. leave this option empty.
  118. config SYS_VENDOR
  119. string
  120. help
  121. This option should contain the vendor name of the target board.
  122. If it is set and
  123. board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
  124. directory is compiled.
  125. If CONFIG_SYS_BOARD is also set, the sources under
  126. board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
  127. This is optional. For those targets without the vendor directory,
  128. leave this option empty.
  129. config SYS_BOARD
  130. string
  131. help
  132. This option should contain the name of the target board.
  133. If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
  134. or board/<CONFIG_SYS_BOARD> directory is compiled depending on
  135. whether CONFIG_SYS_VENDOR is set or not.
  136. This is optional. For those targets without the board directory,
  137. leave this option empty.
  138. config SYS_CONFIG_NAME
  139. string
  140. help
  141. This option should contain the base name of board header file.
  142. The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
  143. should be included from include/config.h.
  144. source "arch/arc/Kconfig"
  145. source "arch/arm/Kconfig"
  146. source "arch/avr32/Kconfig"
  147. source "arch/blackfin/Kconfig"
  148. source "arch/m68k/Kconfig"
  149. source "arch/microblaze/Kconfig"
  150. source "arch/mips/Kconfig"
  151. source "arch/nds32/Kconfig"
  152. source "arch/nios2/Kconfig"
  153. source "arch/openrisc/Kconfig"
  154. source "arch/powerpc/Kconfig"
  155. source "arch/sandbox/Kconfig"
  156. source "arch/sh/Kconfig"
  157. source "arch/sparc/Kconfig"
  158. source "arch/x86/Kconfig"