Kconfig 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. #############################################################################
  2. #
  3. # For a description of the syntax of this configuration file,
  4. # see Documentation/kbuild/kconfig-language.txt.
  5. #
  6. #############################################################################
  7. mainmenu "uClinux/v850 (w/o MMU) Kernel Configuration"
  8. config MMU
  9. bool
  10. default n
  11. config RWSEM_GENERIC_SPINLOCK
  12. bool
  13. default y
  14. config RWSEM_XCHGADD_ALGORITHM
  15. bool
  16. default n
  17. config GENERIC_FIND_NEXT_BIT
  18. bool
  19. default y
  20. config GENERIC_HWEIGHT
  21. bool
  22. default y
  23. config GENERIC_CALIBRATE_DELAY
  24. bool
  25. default y
  26. config GENERIC_HARDIRQS
  27. bool
  28. default y
  29. config GENERIC_IRQ_PROBE
  30. bool
  31. default y
  32. config TIME_LOW_RES
  33. bool
  34. default y
  35. config ARCH_HAS_ILOG2_U32
  36. bool
  37. default n
  38. config ARCH_HAS_ILOG2_U64
  39. bool
  40. default n
  41. # Turn off some random 386 crap that can affect device config
  42. config ISA
  43. bool
  44. default n
  45. config ISAPNP
  46. bool
  47. default n
  48. config EISA
  49. bool
  50. default n
  51. config MCA
  52. bool
  53. default n
  54. #############################################################################
  55. #### v850-specific config
  56. # Define the architecture
  57. config V850
  58. bool
  59. default y
  60. menu "Processor type and features"
  61. choice
  62. prompt "Platform"
  63. default GDB
  64. config V850E_SIM
  65. bool "GDB"
  66. config RTE_CB_MA1
  67. bool "RTE-V850E/MA1-CB"
  68. config RTE_CB_NB85E
  69. bool "RTE-V850E/NB85E-CB"
  70. config RTE_CB_ME2
  71. bool "RTE-V850E/ME2-CB"
  72. config V850E_AS85EP1
  73. bool "AS85EP1"
  74. config V850E2_SIM85E2C
  75. bool "sim85e2c"
  76. config V850E2_SIM85E2S
  77. bool "sim85e2s"
  78. config V850E2_FPGA85E2C
  79. bool "NA85E2C-FPGA"
  80. config V850E2_ANNA
  81. bool "Anna"
  82. endchoice
  83. #### V850E processor-specific config
  84. # All CPUs currently supported use the v850e architecture
  85. config V850E
  86. bool
  87. default y
  88. # The RTE-V850E/MA1-CB is the only type of V850E/MA1 platform we
  89. # currently support
  90. config V850E_MA1
  91. bool
  92. depends on RTE_CB_MA1
  93. default y
  94. # Similarly for the RTE-V850E/NB85E-CB - V850E/TEG
  95. config V850E_TEG
  96. bool
  97. depends on RTE_CB_NB85E
  98. default y
  99. # ... and the RTE-V850E/ME2-CB - V850E/ME2
  100. config V850E_ME2
  101. bool
  102. depends on RTE_CB_ME2
  103. default y
  104. #### sim85e2-specific config
  105. config V850E2_SIM85E2
  106. bool
  107. depends on V850E2_SIM85E2C || V850E2_SIM85E2S
  108. default y
  109. #### V850E2 processor-specific config
  110. # V850E2 processors
  111. config V850E2
  112. bool
  113. depends on V850E2_SIM85E2 || V850E2_FPGA85E2C || V850E2_ANNA
  114. default y
  115. #### RTE-CB platform-specific config
  116. # Boards in the RTE-x-CB series
  117. config RTE_CB
  118. bool
  119. depends on RTE_CB_MA1 || RTE_CB_NB85E || RTE_CB_ME2
  120. default y
  121. config RTE_CB_MULTI
  122. bool
  123. # RTE_CB_NB85E can either have multi ROM support or not, but
  124. # other platforms (currently only RTE_CB_MA1) require it.
  125. prompt "Multi monitor ROM support" if RTE_CB_NB85E
  126. depends on RTE_CB_MA1 || RTE_CB_NB85E
  127. default y
  128. config RTE_CB_MULTI_DBTRAP
  129. bool "Pass illegal insn trap / dbtrap to kernel"
  130. depends on RTE_CB_MULTI
  131. default n
  132. config RTE_CB_MA1_KSRAM
  133. bool "Kernel in SRAM (limits size of kernel)"
  134. depends on RTE_CB_MA1 && RTE_CB_MULTI
  135. default n
  136. config RTE_MB_A_PCI
  137. bool "Mother-A PCI support"
  138. depends on RTE_CB
  139. default y
  140. # The GBUS is used to talk to the RTE-MOTHER-A board
  141. config RTE_GBUS_INT
  142. bool
  143. depends on RTE_MB_A_PCI
  144. default y
  145. # The only PCI bus we support is on the RTE-MOTHER-A board
  146. config PCI
  147. bool
  148. default RTE_MB_A_PCI
  149. #### Some feature-specific configs
  150. # Everything except for the GDB simulator uses the same interrupt controller
  151. config V850E_INTC
  152. bool
  153. default !V850E_SIM
  154. # Everything except for the various simulators uses the "Timer D" unit
  155. config V850E_TIMER_D
  156. bool
  157. default !V850E_SIM && !V850E2_SIM85E2
  158. # Cache control used on some v850e1 processors
  159. config V850E_CACHE
  160. bool
  161. default V850E_TEG || V850E_ME2
  162. # Cache control used on v850e2 processors; I think this should
  163. # actually apply to more, but currently only the SIM85E2S uses it
  164. config V850E2_CACHE
  165. bool
  166. default V850E2_SIM85E2S
  167. config NO_CACHE
  168. bool
  169. default !V850E_CACHE && !V850E2_CACHE
  170. #### Misc config
  171. config ROM_KERNEL
  172. bool "Kernel in ROM"
  173. depends on V850E2_ANNA || V850E_AS85EP1 || RTE_CB_ME2
  174. # Some platforms pre-zero memory, in which case the kernel doesn't need to
  175. config ZERO_BSS
  176. bool
  177. depends !V850E2_SIM85E2C
  178. default y
  179. # The crappy-ass zone allocator requires that the start of allocatable
  180. # memory be aligned to the largest possible allocation.
  181. config FORCE_MAX_ZONEORDER
  182. int
  183. default 8 if V850E2_SIM85E2C || V850E2_FPGA85E2C
  184. config V850E_HIGHRES_TIMER
  185. bool "High resolution timer support"
  186. depends on V850E_TIMER_D
  187. config TIME_BOOTUP
  188. bool "Time bootup"
  189. depends on V850E_HIGHRES_TIMER
  190. config RESET_GUARD
  191. bool "Reset Guard"
  192. config LARGE_ALLOCS
  193. bool "Allow allocating large blocks (> 1MB) of memory"
  194. help
  195. Allow the slab memory allocator to keep chains for very large
  196. memory sizes - upto 32MB. You may need this if your system has
  197. a lot of RAM, and you need to able to allocate very large
  198. contiguous chunks. If unsure, say N.
  199. source "mm/Kconfig"
  200. endmenu
  201. #############################################################################
  202. source init/Kconfig
  203. #############################################################################
  204. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  205. # config PCI
  206. # bool "PCI support"
  207. # help
  208. # Support for PCI bus.
  209. source "drivers/pci/Kconfig"
  210. source "drivers/pcmcia/Kconfig"
  211. source "drivers/pci/hotplug/Kconfig"
  212. endmenu
  213. menu "Executable file formats"
  214. source "fs/Kconfig.binfmt"
  215. endmenu
  216. source "net/Kconfig"
  217. #############################################################################
  218. source "drivers/base/Kconfig"
  219. source drivers/mtd/Kconfig
  220. source drivers/parport/Kconfig
  221. #source drivers/pnp/Kconfig
  222. source drivers/block/Kconfig
  223. #############################################################################
  224. menu "Disk device support"
  225. source "drivers/ide/Kconfig"
  226. source "drivers/scsi/Kconfig"
  227. endmenu
  228. #############################################################################
  229. source "drivers/md/Kconfig"
  230. source "drivers/message/fusion/Kconfig"
  231. source "drivers/ieee1394/Kconfig"
  232. source "drivers/message/i2o/Kconfig"
  233. source "drivers/net/Kconfig"
  234. source "drivers/isdn/Kconfig"
  235. #source "drivers/telephony/Kconfig"
  236. #
  237. # input before char - char/joystick depends on it. As does USB.
  238. #
  239. source "drivers/input/Kconfig"
  240. source "drivers/char/Kconfig"
  241. #source drivers/misc/Config.in
  242. source "drivers/media/Kconfig"
  243. source "fs/Kconfig"
  244. source "drivers/video/Kconfig"
  245. source "sound/Kconfig"
  246. source "drivers/usb/Kconfig"
  247. source "arch/v850/Kconfig.debug"
  248. source "security/Kconfig"
  249. source "crypto/Kconfig"
  250. source "lib/Kconfig"
  251. #############################################################################