Kconfig 6.8 KB

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