Kconfig 6.7 KB

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