Kconfig 7.0 KB

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