Kconfig 6.8 KB

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