Kconfig 6.8 KB

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