Kconfig 6.9 KB

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