Kconfig 4.3 KB

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