Kconfig 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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 SANDBOX
  47. bool "Sandbox"
  48. select BOARD_LATE_INIT
  49. select SUPPORT_OF_CONTROL
  50. select DM
  51. select DM_KEYBOARD
  52. select DM_SPI_FLASH
  53. select DM_SERIAL
  54. select DM_I2C
  55. select DM_SPI
  56. select DM_GPIO
  57. select DM_MMC
  58. imply CMD_GETTIME
  59. imply CMD_HASH
  60. imply CMD_IO
  61. imply CMD_IOTRACE
  62. imply CMD_LZMADEC
  63. imply CRC32_VERIFY
  64. imply FAT_WRITE
  65. imply HASH_VERIFY
  66. imply LZMA
  67. config SH
  68. bool "SuperH architecture"
  69. select HAVE_PRIVATE_LIBGCC
  70. config X86
  71. bool "x86 architecture"
  72. select CREATE_ARCH_SYMLINK
  73. select HAVE_PRIVATE_LIBGCC
  74. select SUPPORT_OF_CONTROL
  75. select DM
  76. select DM_KEYBOARD
  77. select DM_SERIAL
  78. select DM_GPIO
  79. select DM_SPI
  80. select DM_SPI_FLASH
  81. select USB_EHCI_HCD
  82. imply CMD_FPGA_LOADMK
  83. imply CMD_GETTIME
  84. imply CMD_IO
  85. imply CMD_IRQ
  86. config XTENSA
  87. bool "Xtensa architecture"
  88. select CREATE_ARCH_SYMLINK
  89. select SUPPORT_OF_CONTROL
  90. endchoice
  91. config SYS_ARCH
  92. string
  93. help
  94. This option should contain the architecture name to build the
  95. appropriate arch/<CONFIG_SYS_ARCH> directory.
  96. All the architectures should specify this option correctly.
  97. config SYS_CPU
  98. string
  99. help
  100. This option should contain the CPU name to build the correct
  101. arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
  102. This is optional. For those targets without the CPU directory,
  103. leave this option empty.
  104. config SYS_SOC
  105. string
  106. help
  107. This option should contain the SoC name to build the directory
  108. arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
  109. This is optional. For those targets without the SoC directory,
  110. leave this option empty.
  111. config SYS_VENDOR
  112. string
  113. help
  114. This option should contain the vendor name of the target board.
  115. If it is set and
  116. board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
  117. directory is compiled.
  118. If CONFIG_SYS_BOARD is also set, the sources under
  119. board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
  120. This is optional. For those targets without the vendor directory,
  121. leave this option empty.
  122. config SYS_BOARD
  123. string
  124. help
  125. This option should contain the name of the target board.
  126. If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
  127. or board/<CONFIG_SYS_BOARD> directory is compiled depending on
  128. whether CONFIG_SYS_VENDOR is set or not.
  129. This is optional. For those targets without the board directory,
  130. leave this option empty.
  131. config SYS_CONFIG_NAME
  132. string
  133. help
  134. This option should contain the base name of board header file.
  135. The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
  136. should be included from include/config.h.
  137. source "arch/arc/Kconfig"
  138. source "arch/arm/Kconfig"
  139. source "arch/m68k/Kconfig"
  140. source "arch/microblaze/Kconfig"
  141. source "arch/mips/Kconfig"
  142. source "arch/nds32/Kconfig"
  143. source "arch/nios2/Kconfig"
  144. source "arch/powerpc/Kconfig"
  145. source "arch/sandbox/Kconfig"
  146. source "arch/sh/Kconfig"
  147. source "arch/x86/Kconfig"
  148. source "arch/xtensa/Kconfig"