Kconfig 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106
  1. config MIPS
  2. bool
  3. default y
  4. select HAVE_IDE
  5. select HAVE_OPROFILE
  6. # Horrible source of confusion. Die, die, die ...
  7. select EMBEDDED
  8. select RTC_LIB
  9. mainmenu "Linux/MIPS Kernel Configuration"
  10. menu "Machine selection"
  11. config ZONE_DMA
  12. bool
  13. choice
  14. prompt "System type"
  15. default SGI_IP22
  16. config MACH_ALCHEMY
  17. bool "Alchemy processor based machines"
  18. config BASLER_EXCITE
  19. bool "Basler eXcite smart camera"
  20. select CEVT_R4K
  21. select CSRC_R4K
  22. select DMA_COHERENT
  23. select HW_HAS_PCI
  24. select IRQ_CPU
  25. select IRQ_CPU_RM7K
  26. select IRQ_CPU_RM9K
  27. select MIPS_RM9122
  28. select SYS_HAS_CPU_RM9000
  29. select SYS_SUPPORTS_32BIT_KERNEL
  30. select SYS_SUPPORTS_BIG_ENDIAN
  31. select SYS_SUPPORTS_KGDB
  32. help
  33. The eXcite is a smart camera platform manufactured by
  34. Basler Vision Technologies AG.
  35. config BCM47XX
  36. bool "BCM47XX based boards"
  37. select CEVT_R4K
  38. select CSRC_R4K
  39. select DMA_NONCOHERENT
  40. select HW_HAS_PCI
  41. select IRQ_CPU
  42. select SYS_HAS_CPU_MIPS32_R1
  43. select SYS_SUPPORTS_32BIT_KERNEL
  44. select SYS_SUPPORTS_LITTLE_ENDIAN
  45. select SSB
  46. select SSB_DRIVER_MIPS
  47. select SSB_DRIVER_EXTIF
  48. select SSB_PCICORE_HOSTMODE if PCI
  49. select GENERIC_GPIO
  50. select SYS_HAS_EARLY_PRINTK
  51. select CFE
  52. help
  53. Support for BCM47XX based boards
  54. config MIPS_COBALT
  55. bool "Cobalt Server"
  56. select CEVT_R4K
  57. select CSRC_R4K
  58. select CEVT_GT641XX
  59. select DMA_NONCOHERENT
  60. select HW_HAS_PCI
  61. select I8253
  62. select I8259
  63. select IRQ_CPU
  64. select IRQ_GT641XX
  65. select PCI_GT64XXX_PCI0
  66. select SYS_HAS_CPU_NEVADA
  67. select SYS_HAS_EARLY_PRINTK
  68. select SYS_SUPPORTS_32BIT_KERNEL
  69. select SYS_SUPPORTS_64BIT_KERNEL
  70. select SYS_SUPPORTS_LITTLE_ENDIAN
  71. select GENERIC_HARDIRQS_NO__DO_IRQ
  72. config MACH_DECSTATION
  73. bool "DECstations"
  74. select BOOT_ELF32
  75. select CEVT_R4K
  76. select CSRC_R4K
  77. select CPU_DADDI_WORKAROUNDS if 64BIT
  78. select CPU_R4000_WORKAROUNDS if 64BIT
  79. select CPU_R4400_WORKAROUNDS if 64BIT
  80. select DMA_NONCOHERENT
  81. select NO_IOPORT
  82. select IRQ_CPU
  83. select SYS_HAS_CPU_R3000
  84. select SYS_HAS_CPU_R4X00
  85. select SYS_SUPPORTS_32BIT_KERNEL
  86. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  87. select SYS_SUPPORTS_LITTLE_ENDIAN
  88. select SYS_SUPPORTS_128HZ
  89. select SYS_SUPPORTS_256HZ
  90. select SYS_SUPPORTS_1024HZ
  91. help
  92. This enables support for DEC's MIPS based workstations. For details
  93. see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
  94. DECstation porting pages on <http://decstation.unix-ag.org/>.
  95. If you have one of the following DECstation Models you definitely
  96. want to choose R4xx0 for the CPU Type:
  97. DECstation 5000/50
  98. DECstation 5000/150
  99. DECstation 5000/260
  100. DECsystem 5900/260
  101. otherwise choose R3000.
  102. config MACH_JAZZ
  103. bool "Jazz family of machines"
  104. select ARC
  105. select ARC32
  106. select ARCH_MAY_HAVE_PC_FDC
  107. select CEVT_R4K
  108. select CSRC_R4K
  109. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  110. select GENERIC_ISA_DMA
  111. select IRQ_CPU
  112. select I8253
  113. select I8259
  114. select ISA
  115. select SYS_HAS_CPU_R4X00
  116. select SYS_SUPPORTS_32BIT_KERNEL
  117. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  118. select SYS_SUPPORTS_100HZ
  119. select GENERIC_HARDIRQS_NO__DO_IRQ
  120. help
  121. This a family of machines based on the MIPS R4030 chipset which was
  122. used by several vendors to build RISC/os and Windows NT workstations.
  123. Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
  124. Olivetti M700-10 workstations.
  125. config LASAT
  126. bool "LASAT Networks platforms"
  127. select CEVT_R4K
  128. select CSRC_R4K
  129. select DMA_NONCOHERENT
  130. select SYS_HAS_EARLY_PRINTK
  131. select HW_HAS_PCI
  132. select IRQ_CPU
  133. select PCI_GT64XXX_PCI0
  134. select MIPS_NILE4
  135. select R5000_CPU_SCACHE
  136. select SYS_HAS_CPU_R5000
  137. select SYS_SUPPORTS_32BIT_KERNEL
  138. select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
  139. select SYS_SUPPORTS_LITTLE_ENDIAN
  140. select GENERIC_HARDIRQS_NO__DO_IRQ
  141. config LEMOTE_FULONG
  142. bool "Lemote Fulong mini-PC"
  143. select ARCH_SPARSEMEM_ENABLE
  144. select CEVT_R4K
  145. select CSRC_R4K
  146. select SYS_HAS_CPU_LOONGSON2
  147. select DMA_NONCOHERENT
  148. select BOOT_ELF32
  149. select BOARD_SCACHE
  150. select HAVE_STD_PC_SERIAL_PORT
  151. select HW_HAS_PCI
  152. select I8259
  153. select ISA
  154. select IRQ_CPU
  155. select SYS_SUPPORTS_32BIT_KERNEL
  156. select SYS_SUPPORTS_64BIT_KERNEL
  157. select SYS_SUPPORTS_LITTLE_ENDIAN
  158. select SYS_SUPPORTS_HIGHMEM
  159. select SYS_HAS_EARLY_PRINTK
  160. select GENERIC_HARDIRQS_NO__DO_IRQ
  161. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  162. select CPU_HAS_WB
  163. help
  164. Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
  165. an FPGA northbridge
  166. config MIPS_ATLAS
  167. bool "MIPS Atlas board"
  168. select BOOT_ELF32
  169. select BOOT_RAW
  170. select CEVT_R4K
  171. select CSRC_R4K
  172. select DMA_NONCOHERENT
  173. select SYS_HAS_EARLY_PRINTK
  174. select IRQ_CPU
  175. select HW_HAS_PCI
  176. select MIPS_BOARDS_GEN
  177. select MIPS_BONITO64
  178. select PCI_GT64XXX_PCI0
  179. select MIPS_MSC
  180. select RM7000_CPU_SCACHE
  181. select SWAP_IO_SPACE
  182. select SYS_HAS_CPU_MIPS32_R1
  183. select SYS_HAS_CPU_MIPS32_R2
  184. select SYS_HAS_CPU_MIPS64_R1
  185. select SYS_HAS_CPU_NEVADA
  186. select SYS_HAS_CPU_RM7000
  187. select SYS_SUPPORTS_32BIT_KERNEL
  188. select SYS_SUPPORTS_64BIT_KERNEL
  189. select SYS_SUPPORTS_BIG_ENDIAN
  190. select SYS_SUPPORTS_LITTLE_ENDIAN
  191. select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
  192. select SYS_SUPPORTS_SMARTMIPS
  193. select GENERIC_HARDIRQS_NO__DO_IRQ
  194. help
  195. This enables support for the MIPS Technologies Atlas evaluation
  196. board.
  197. config MIPS_MALTA
  198. bool "MIPS Malta board"
  199. select ARCH_MAY_HAVE_PC_FDC
  200. select BOOT_ELF32
  201. select BOOT_RAW
  202. select CEVT_R4K
  203. select CSRC_R4K
  204. select DMA_NONCOHERENT
  205. select GENERIC_ISA_DMA
  206. select IRQ_CPU
  207. select HW_HAS_PCI
  208. select I8253
  209. select I8259
  210. select MIPS_BOARDS_GEN
  211. select MIPS_BONITO64
  212. select MIPS_CPU_SCACHE
  213. select PCI_GT64XXX_PCI0
  214. select MIPS_MSC
  215. select SWAP_IO_SPACE
  216. select SYS_HAS_CPU_MIPS32_R1
  217. select SYS_HAS_CPU_MIPS32_R2
  218. select SYS_HAS_CPU_MIPS64_R1
  219. select SYS_HAS_CPU_NEVADA
  220. select SYS_HAS_CPU_RM7000
  221. select SYS_HAS_EARLY_PRINTK
  222. select SYS_SUPPORTS_32BIT_KERNEL
  223. select SYS_SUPPORTS_64BIT_KERNEL
  224. select SYS_SUPPORTS_BIG_ENDIAN
  225. select SYS_SUPPORTS_LITTLE_ENDIAN
  226. select SYS_SUPPORTS_MULTITHREADING
  227. select SYS_SUPPORTS_SMARTMIPS
  228. help
  229. This enables support for the MIPS Technologies Malta evaluation
  230. board.
  231. config MIPS_SEAD
  232. bool "MIPS SEAD board"
  233. select CEVT_R4K
  234. select CSRC_R4K
  235. select IRQ_CPU
  236. select DMA_NONCOHERENT
  237. select SYS_HAS_EARLY_PRINTK
  238. select MIPS_BOARDS_GEN
  239. select SYS_HAS_CPU_MIPS32_R1
  240. select SYS_HAS_CPU_MIPS32_R2
  241. select SYS_HAS_CPU_MIPS64_R1
  242. select SYS_SUPPORTS_32BIT_KERNEL
  243. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  244. select SYS_SUPPORTS_BIG_ENDIAN
  245. select SYS_SUPPORTS_LITTLE_ENDIAN
  246. select SYS_SUPPORTS_SMARTMIPS
  247. help
  248. This enables support for the MIPS Technologies SEAD evaluation
  249. board.
  250. config MIPS_SIM
  251. bool 'MIPS simulator (MIPSsim)'
  252. select CEVT_R4K
  253. select CSRC_R4K
  254. select DMA_NONCOHERENT
  255. select SYS_HAS_EARLY_PRINTK
  256. select IRQ_CPU
  257. select BOOT_RAW
  258. select SYS_HAS_CPU_MIPS32_R1
  259. select SYS_HAS_CPU_MIPS32_R2
  260. select SYS_HAS_EARLY_PRINTK
  261. select SYS_SUPPORTS_32BIT_KERNEL
  262. select SYS_SUPPORTS_BIG_ENDIAN
  263. select SYS_SUPPORTS_MULTITHREADING
  264. select SYS_SUPPORTS_LITTLE_ENDIAN
  265. help
  266. This option enables support for MIPS Technologies MIPSsim software
  267. emulator.
  268. config MARKEINS
  269. bool "NEC EMMA2RH Mark-eins"
  270. select CEVT_R4K
  271. select CSRC_R4K
  272. select DMA_NONCOHERENT
  273. select HW_HAS_PCI
  274. select IRQ_CPU
  275. select SWAP_IO_SPACE
  276. select SYS_SUPPORTS_32BIT_KERNEL
  277. select SYS_SUPPORTS_BIG_ENDIAN
  278. select SYS_SUPPORTS_LITTLE_ENDIAN
  279. select SYS_HAS_CPU_R5000
  280. help
  281. This enables support for the R5432-based NEC Mark-eins
  282. boards with R5500 CPU.
  283. config MACH_VR41XX
  284. bool "NEC VR4100 series based machines"
  285. select CEVT_R4K
  286. select CSRC_R4K
  287. select SYS_HAS_CPU_VR41XX
  288. select GENERIC_HARDIRQS_NO__DO_IRQ
  289. config PNX8550_JBS
  290. bool "Philips PNX8550 based JBS board"
  291. select PNX8550
  292. select SYS_SUPPORTS_LITTLE_ENDIAN
  293. config PNX8550_STB810
  294. bool "Philips PNX8550 based STB810 board"
  295. select PNX8550
  296. select SYS_SUPPORTS_LITTLE_ENDIAN
  297. config PMC_MSP
  298. bool "PMC-Sierra MSP chipsets"
  299. depends on EXPERIMENTAL
  300. select DMA_NONCOHERENT
  301. select SWAP_IO_SPACE
  302. select NO_EXCEPT_FILL
  303. select BOOT_RAW
  304. select SYS_HAS_CPU_MIPS32_R1
  305. select SYS_HAS_CPU_MIPS32_R2
  306. select SYS_SUPPORTS_32BIT_KERNEL
  307. select SYS_SUPPORTS_BIG_ENDIAN
  308. select SYS_SUPPORTS_KGDB
  309. select IRQ_CPU
  310. select SERIAL_8250
  311. select SERIAL_8250_CONSOLE
  312. help
  313. This adds support for the PMC-Sierra family of Multi-Service
  314. Processor System-On-A-Chips. These parts include a number
  315. of integrated peripherals, interfaces and DSPs in addition to
  316. a variety of MIPS cores.
  317. config PMC_YOSEMITE
  318. bool "PMC-Sierra Yosemite eval board"
  319. select CEVT_R4K
  320. select CSRC_R4K
  321. select DMA_COHERENT
  322. select HW_HAS_PCI
  323. select IRQ_CPU
  324. select IRQ_CPU_RM7K
  325. select IRQ_CPU_RM9K
  326. select SWAP_IO_SPACE
  327. select SYS_HAS_CPU_RM9000
  328. select SYS_HAS_EARLY_PRINTK
  329. select SYS_SUPPORTS_32BIT_KERNEL
  330. select SYS_SUPPORTS_64BIT_KERNEL
  331. select SYS_SUPPORTS_BIG_ENDIAN
  332. select SYS_SUPPORTS_HIGHMEM
  333. select SYS_SUPPORTS_KGDB
  334. select SYS_SUPPORTS_SMP
  335. help
  336. Yosemite is an evaluation board for the RM9000x2 processor
  337. manufactured by PMC-Sierra.
  338. config SGI_IP22
  339. bool "SGI IP22 (Indy/Indigo2)"
  340. select ARC
  341. select ARC32
  342. select BOOT_ELF32
  343. select CEVT_R4K
  344. select CSRC_R4K
  345. select DEFAULT_SGI_PARTITION
  346. select DMA_NONCOHERENT
  347. select HW_HAS_EISA
  348. select I8253
  349. select I8259
  350. select IP22_CPU_SCACHE
  351. select IRQ_CPU
  352. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  353. select SGI_HAS_DS1286
  354. select SGI_HAS_I8042
  355. select SGI_HAS_INDYDOG
  356. select SGI_HAS_SEEQ
  357. select SGI_HAS_WD93
  358. select SGI_HAS_ZILOG
  359. select SWAP_IO_SPACE
  360. select SYS_HAS_CPU_R4X00
  361. select SYS_HAS_CPU_R5000
  362. select SYS_HAS_EARLY_PRINTK
  363. select SYS_SUPPORTS_32BIT_KERNEL
  364. select SYS_SUPPORTS_64BIT_KERNEL
  365. select SYS_SUPPORTS_BIG_ENDIAN
  366. help
  367. This are the SGI Indy, Challenge S and Indigo2, as well as certain
  368. OEM variants like the Tandem CMN B006S. To compile a Linux kernel
  369. that runs on these, say Y here.
  370. config SGI_IP27
  371. bool "SGI IP27 (Origin200/2000)"
  372. select ARC
  373. select ARC64
  374. select BOOT_ELF64
  375. select DEFAULT_SGI_PARTITION
  376. select DMA_IP27
  377. select SYS_HAS_EARLY_PRINTK
  378. select HW_HAS_PCI
  379. select NR_CPUS_DEFAULT_64
  380. select SYS_HAS_CPU_R10000
  381. select SYS_SUPPORTS_64BIT_KERNEL
  382. select SYS_SUPPORTS_BIG_ENDIAN
  383. select SYS_SUPPORTS_KGDB
  384. select SYS_SUPPORTS_NUMA
  385. select SYS_SUPPORTS_SMP
  386. select GENERIC_HARDIRQS_NO__DO_IRQ
  387. help
  388. This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
  389. workstations. To compile a Linux kernel that runs on these, say Y
  390. here.
  391. config SGI_IP28
  392. bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
  393. depends on EXPERIMENTAL
  394. select ARC
  395. select ARC64
  396. select BOOT_ELF64
  397. select CEVT_R4K
  398. select CSRC_R4K
  399. select DEFAULT_SGI_PARTITION
  400. select DMA_NONCOHERENT
  401. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  402. select IRQ_CPU
  403. select HW_HAS_EISA
  404. select I8253
  405. select I8259
  406. select SGI_HAS_DS1286
  407. select SGI_HAS_I8042
  408. select SGI_HAS_INDYDOG
  409. select SGI_HAS_SEEQ
  410. select SGI_HAS_WD93
  411. select SGI_HAS_ZILOG
  412. select SWAP_IO_SPACE
  413. select SYS_HAS_CPU_R10000
  414. select SYS_HAS_EARLY_PRINTK
  415. select SYS_SUPPORTS_64BIT_KERNEL
  416. select SYS_SUPPORTS_BIG_ENDIAN
  417. help
  418. This is the SGI Indigo2 with R10000 processor. To compile a Linux
  419. kernel that runs on these, say Y here.
  420. config SGI_IP32
  421. bool "SGI IP32 (O2)"
  422. select ARC
  423. select ARC32
  424. select BOOT_ELF32
  425. select CEVT_R4K
  426. select CSRC_R4K
  427. select DMA_NONCOHERENT
  428. select HW_HAS_PCI
  429. select IRQ_CPU
  430. select R5000_CPU_SCACHE
  431. select RM7000_CPU_SCACHE
  432. select SYS_HAS_CPU_R5000
  433. select SYS_HAS_CPU_R10000 if BROKEN
  434. select SYS_HAS_CPU_RM7000
  435. select SYS_HAS_CPU_NEVADA
  436. select SYS_SUPPORTS_64BIT_KERNEL
  437. select SYS_SUPPORTS_BIG_ENDIAN
  438. help
  439. If you want this kernel to run on SGI O2 workstation, say Y here.
  440. config SIBYTE_CRHINE
  441. bool "Sibyte BCM91120C-CRhine"
  442. depends on EXPERIMENTAL
  443. select BOOT_ELF32
  444. select DMA_COHERENT
  445. select SIBYTE_BCM1120
  446. select SWAP_IO_SPACE
  447. select SYS_HAS_CPU_SB1
  448. select SYS_SUPPORTS_BIG_ENDIAN
  449. select SYS_SUPPORTS_LITTLE_ENDIAN
  450. config SIBYTE_CARMEL
  451. bool "Sibyte BCM91120x-Carmel"
  452. depends on EXPERIMENTAL
  453. select BOOT_ELF32
  454. select DMA_COHERENT
  455. select SIBYTE_BCM1120
  456. select SWAP_IO_SPACE
  457. select SYS_HAS_CPU_SB1
  458. select SYS_SUPPORTS_BIG_ENDIAN
  459. select SYS_SUPPORTS_LITTLE_ENDIAN
  460. config SIBYTE_CRHONE
  461. bool "Sibyte BCM91125C-CRhone"
  462. depends on EXPERIMENTAL
  463. select BOOT_ELF32
  464. select DMA_COHERENT
  465. select SIBYTE_BCM1125
  466. select SWAP_IO_SPACE
  467. select SYS_HAS_CPU_SB1
  468. select SYS_SUPPORTS_BIG_ENDIAN
  469. select SYS_SUPPORTS_HIGHMEM
  470. select SYS_SUPPORTS_LITTLE_ENDIAN
  471. config SIBYTE_RHONE
  472. bool "Sibyte BCM91125E-Rhone"
  473. depends on EXPERIMENTAL
  474. select BOOT_ELF32
  475. select DMA_COHERENT
  476. select SIBYTE_BCM1125H
  477. select SWAP_IO_SPACE
  478. select SYS_HAS_CPU_SB1
  479. select SYS_SUPPORTS_BIG_ENDIAN
  480. select SYS_SUPPORTS_LITTLE_ENDIAN
  481. config SIBYTE_SWARM
  482. bool "Sibyte BCM91250A-SWARM"
  483. select BOOT_ELF32
  484. select DMA_COHERENT
  485. select NR_CPUS_DEFAULT_2
  486. select SIBYTE_SB1250
  487. select SWAP_IO_SPACE
  488. select SYS_HAS_CPU_SB1
  489. select SYS_SUPPORTS_BIG_ENDIAN
  490. select SYS_SUPPORTS_HIGHMEM
  491. select SYS_SUPPORTS_KGDB
  492. select SYS_SUPPORTS_LITTLE_ENDIAN
  493. select ZONE_DMA32 if 64BIT
  494. config SIBYTE_LITTLESUR
  495. bool "Sibyte BCM91250C2-LittleSur"
  496. depends on EXPERIMENTAL
  497. select BOOT_ELF32
  498. select DMA_COHERENT
  499. select NR_CPUS_DEFAULT_2
  500. select SIBYTE_SB1250
  501. select SWAP_IO_SPACE
  502. select SYS_HAS_CPU_SB1
  503. select SYS_SUPPORTS_BIG_ENDIAN
  504. select SYS_SUPPORTS_HIGHMEM
  505. select SYS_SUPPORTS_LITTLE_ENDIAN
  506. config SIBYTE_SENTOSA
  507. bool "Sibyte BCM91250E-Sentosa"
  508. depends on EXPERIMENTAL
  509. select BOOT_ELF32
  510. select DMA_COHERENT
  511. select NR_CPUS_DEFAULT_2
  512. select SIBYTE_SB1250
  513. select SWAP_IO_SPACE
  514. select SYS_HAS_CPU_SB1
  515. select SYS_SUPPORTS_BIG_ENDIAN
  516. select SYS_SUPPORTS_LITTLE_ENDIAN
  517. config SIBYTE_BIGSUR
  518. bool "Sibyte BCM91480B-BigSur"
  519. select BOOT_ELF32
  520. select DMA_COHERENT
  521. select NR_CPUS_DEFAULT_4
  522. select SIBYTE_BCM1x80
  523. select SWAP_IO_SPACE
  524. select SYS_HAS_CPU_SB1
  525. select SYS_SUPPORTS_BIG_ENDIAN
  526. select SYS_SUPPORTS_HIGHMEM
  527. select SYS_SUPPORTS_LITTLE_ENDIAN
  528. select ZONE_DMA32 if 64BIT
  529. config SNI_RM
  530. bool "SNI RM200/300/400"
  531. select ARC if CPU_LITTLE_ENDIAN
  532. select ARC32 if CPU_LITTLE_ENDIAN
  533. select SNIPROM if CPU_BIG_ENDIAN
  534. select ARCH_MAY_HAVE_PC_FDC
  535. select BOOT_ELF32
  536. select CEVT_R4K
  537. select CSRC_R4K
  538. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  539. select DMA_NONCOHERENT
  540. select GENERIC_ISA_DMA
  541. select HW_HAS_EISA
  542. select HW_HAS_PCI
  543. select IRQ_CPU
  544. select I8253
  545. select I8259
  546. select ISA
  547. select SWAP_IO_SPACE if CPU_BIG_ENDIAN
  548. select SYS_HAS_CPU_R4X00
  549. select SYS_HAS_CPU_R5000
  550. select SYS_HAS_CPU_R10000
  551. select R5000_CPU_SCACHE
  552. select SYS_HAS_EARLY_PRINTK
  553. select SYS_SUPPORTS_32BIT_KERNEL
  554. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  555. select SYS_SUPPORTS_BIG_ENDIAN
  556. select SYS_SUPPORTS_HIGHMEM
  557. select SYS_SUPPORTS_LITTLE_ENDIAN
  558. help
  559. The SNI RM200/300/400 are MIPS-based machines manufactured by
  560. Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
  561. Technology and now in turn merged with Fujitsu. Say Y here to
  562. support this machine type.
  563. config TOSHIBA_JMR3927
  564. bool "Toshiba JMR-TX3927 board"
  565. select CEVT_TXX9
  566. select DMA_NONCOHERENT
  567. select HW_HAS_PCI
  568. select MIPS_TX3927
  569. select IRQ_TXX9
  570. select SWAP_IO_SPACE
  571. select SYS_HAS_CPU_TX39XX
  572. select SYS_SUPPORTS_32BIT_KERNEL
  573. select SYS_SUPPORTS_LITTLE_ENDIAN
  574. select SYS_SUPPORTS_BIG_ENDIAN
  575. select GENERIC_HARDIRQS_NO__DO_IRQ
  576. config TOSHIBA_RBTX4927
  577. bool "Toshiba RBTX49[23]7 board"
  578. select CEVT_R4K
  579. select CSRC_R4K
  580. select CEVT_TXX9
  581. select DMA_NONCOHERENT
  582. select HAS_TXX9_SERIAL
  583. select HW_HAS_PCI
  584. select IRQ_CPU
  585. select IRQ_TXX9
  586. select I8259 if TOSHIBA_FPCIB0
  587. select SWAP_IO_SPACE
  588. select SYS_HAS_CPU_TX49XX
  589. select SYS_SUPPORTS_32BIT_KERNEL
  590. select SYS_SUPPORTS_64BIT_KERNEL
  591. select SYS_SUPPORTS_LITTLE_ENDIAN
  592. select SYS_SUPPORTS_BIG_ENDIAN
  593. select SYS_SUPPORTS_KGDB
  594. select GENERIC_HARDIRQS_NO__DO_IRQ
  595. help
  596. This Toshiba board is based on the TX4927 processor. Say Y here to
  597. support this machine type
  598. config TOSHIBA_RBTX4938
  599. bool "Toshiba RBTX4938 board"
  600. select CEVT_R4K
  601. select CSRC_R4K
  602. select CEVT_TXX9
  603. select DMA_NONCOHERENT
  604. select HAS_TXX9_SERIAL
  605. select HW_HAS_PCI
  606. select IRQ_CPU
  607. select IRQ_TXX9
  608. select SWAP_IO_SPACE
  609. select SYS_HAS_CPU_TX49XX
  610. select SYS_SUPPORTS_32BIT_KERNEL
  611. select SYS_SUPPORTS_LITTLE_ENDIAN
  612. select SYS_SUPPORTS_BIG_ENDIAN
  613. select SYS_SUPPORTS_KGDB
  614. select GENERIC_HARDIRQS_NO__DO_IRQ
  615. select GENERIC_GPIO
  616. help
  617. This Toshiba board is based on the TX4938 processor. Say Y here to
  618. support this machine type
  619. config WR_PPMC
  620. bool "Wind River PPMC board"
  621. select CEVT_R4K
  622. select CSRC_R4K
  623. select IRQ_CPU
  624. select BOOT_ELF32
  625. select DMA_NONCOHERENT
  626. select HW_HAS_PCI
  627. select PCI_GT64XXX_PCI0
  628. select SWAP_IO_SPACE
  629. select SYS_HAS_CPU_MIPS32_R1
  630. select SYS_HAS_CPU_MIPS32_R2
  631. select SYS_HAS_CPU_MIPS64_R1
  632. select SYS_HAS_CPU_NEVADA
  633. select SYS_HAS_CPU_RM7000
  634. select SYS_SUPPORTS_32BIT_KERNEL
  635. select SYS_SUPPORTS_64BIT_KERNEL
  636. select SYS_SUPPORTS_BIG_ENDIAN
  637. select SYS_SUPPORTS_LITTLE_ENDIAN
  638. help
  639. This enables support for the Wind River MIPS32 4KC PPMC evaluation
  640. board, which is based on GT64120 bridge chip.
  641. endchoice
  642. source "arch/mips/au1000/Kconfig"
  643. source "arch/mips/basler/excite/Kconfig"
  644. source "arch/mips/jazz/Kconfig"
  645. source "arch/mips/lasat/Kconfig"
  646. source "arch/mips/pmc-sierra/Kconfig"
  647. source "arch/mips/sgi-ip27/Kconfig"
  648. source "arch/mips/sibyte/Kconfig"
  649. source "arch/mips/tx4927/Kconfig"
  650. source "arch/mips/tx4938/Kconfig"
  651. source "arch/mips/vr41xx/Kconfig"
  652. endmenu
  653. config GENERIC_LOCKBREAK
  654. bool
  655. default y
  656. depends on SMP && PREEMPT
  657. config RWSEM_GENERIC_SPINLOCK
  658. bool
  659. default y
  660. config RWSEM_XCHGADD_ALGORITHM
  661. bool
  662. config ARCH_HAS_ILOG2_U32
  663. bool
  664. default n
  665. config ARCH_HAS_ILOG2_U64
  666. bool
  667. default n
  668. config ARCH_SUPPORTS_OPROFILE
  669. bool
  670. default y if !MIPS_MT_SMTC
  671. config GENERIC_FIND_NEXT_BIT
  672. bool
  673. default y
  674. config GENERIC_HWEIGHT
  675. bool
  676. default y
  677. config GENERIC_CALIBRATE_DELAY
  678. bool
  679. default y
  680. config GENERIC_CLOCKEVENTS
  681. bool
  682. default y
  683. config GENERIC_TIME
  684. bool
  685. default y
  686. config GENERIC_CMOS_UPDATE
  687. bool
  688. default y
  689. config SCHED_NO_NO_OMIT_FRAME_POINTER
  690. bool
  691. default y
  692. config GENERIC_HARDIRQS_NO__DO_IRQ
  693. bool
  694. default n
  695. #
  696. # Select some configuration options automatically based on user selections.
  697. #
  698. config ARC
  699. bool
  700. config ARCH_MAY_HAVE_PC_FDC
  701. bool
  702. config BOOT_RAW
  703. bool
  704. config CEVT_BCM1480
  705. bool
  706. config CEVT_GT641XX
  707. bool
  708. config CEVT_R4K
  709. bool
  710. config CEVT_SB1250
  711. bool
  712. config CEVT_TXX9
  713. bool
  714. config CSRC_BCM1480
  715. bool
  716. config CSRC_R4K
  717. bool
  718. config CSRC_SB1250
  719. bool
  720. config CFE
  721. bool
  722. config DMA_COHERENT
  723. bool
  724. config DMA_IP27
  725. bool
  726. config DMA_NONCOHERENT
  727. bool
  728. select DMA_NEED_PCI_MAP_STATE
  729. config DMA_NEED_PCI_MAP_STATE
  730. bool
  731. config EARLY_PRINTK
  732. bool "Early printk" if EMBEDDED && DEBUG_KERNEL
  733. depends on SYS_HAS_EARLY_PRINTK
  734. default y
  735. help
  736. This option enables special console drivers which allow the kernel
  737. to print messages very early in the bootup process.
  738. This is useful for kernel debugging when your machine crashes very
  739. early before the console code is initialized. For normal operation,
  740. it is not recommended because it looks ugly on some machines and
  741. doesn't cooperate with an X server. You should normally say N here,
  742. unless you want to debug such a crash.
  743. config SYS_HAS_EARLY_PRINTK
  744. bool
  745. config HOTPLUG_CPU
  746. bool
  747. default n
  748. config I8259
  749. bool
  750. config MIPS_BONITO64
  751. bool
  752. config MIPS_MSC
  753. bool
  754. config MIPS_NILE4
  755. bool
  756. config MIPS_DISABLE_OBSOLETE_IDE
  757. bool
  758. config NO_IOPORT
  759. def_bool n
  760. config GENERIC_ISA_DMA
  761. bool
  762. select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
  763. config GENERIC_ISA_DMA_SUPPORT_BROKEN
  764. bool
  765. select GENERIC_ISA_DMA
  766. config GENERIC_GPIO
  767. bool
  768. #
  769. # Endianess selection. Sufficiently obscure so many users don't know what to
  770. # answer,so we try hard to limit the available choices. Also the use of a
  771. # choice statement should be more obvious to the user.
  772. #
  773. choice
  774. prompt "Endianess selection"
  775. help
  776. Some MIPS machines can be configured for either little or big endian
  777. byte order. These modes require different kernels and a different
  778. Linux distribution. In general there is one preferred byteorder for a
  779. particular system but some systems are just as commonly used in the
  780. one or the other endianness.
  781. config CPU_BIG_ENDIAN
  782. bool "Big endian"
  783. depends on SYS_SUPPORTS_BIG_ENDIAN
  784. config CPU_LITTLE_ENDIAN
  785. bool "Little endian"
  786. depends on SYS_SUPPORTS_LITTLE_ENDIAN
  787. help
  788. endchoice
  789. config SYS_SUPPORTS_APM_EMULATION
  790. bool
  791. config SYS_SUPPORTS_BIG_ENDIAN
  792. bool
  793. config SYS_SUPPORTS_LITTLE_ENDIAN
  794. bool
  795. config IRQ_CPU
  796. bool
  797. config IRQ_CPU_RM7K
  798. bool
  799. config IRQ_CPU_RM9K
  800. bool
  801. config IRQ_MSP_SLP
  802. bool
  803. config IRQ_MSP_CIC
  804. bool
  805. config IRQ_TXX9
  806. bool
  807. config IRQ_GT641XX
  808. bool
  809. config MIPS_BOARDS_GEN
  810. bool
  811. config PCI_GT64XXX_PCI0
  812. bool
  813. config NO_EXCEPT_FILL
  814. bool
  815. config MIPS_TX3927
  816. bool
  817. select HAS_TXX9_SERIAL
  818. config MIPS_RM9122
  819. bool
  820. select SERIAL_RM9000
  821. config PNX8550
  822. bool
  823. select SOC_PNX8550
  824. config SOC_PNX8550
  825. bool
  826. select DMA_NONCOHERENT
  827. select HW_HAS_PCI
  828. select SYS_HAS_CPU_MIPS32_R1
  829. select SYS_HAS_EARLY_PRINTK
  830. select SYS_SUPPORTS_32BIT_KERNEL
  831. select GENERIC_HARDIRQS_NO__DO_IRQ
  832. select SYS_SUPPORTS_KGDB
  833. select GENERIC_GPIO
  834. config SWAP_IO_SPACE
  835. bool
  836. config EMMA2RH
  837. bool
  838. depends on MARKEINS
  839. default y
  840. config SERIAL_RM9000
  841. bool
  842. config SGI_HAS_DS1286
  843. bool
  844. config SGI_HAS_INDYDOG
  845. bool
  846. config SGI_HAS_SEEQ
  847. bool
  848. config SGI_HAS_WD93
  849. bool
  850. config SGI_HAS_ZILOG
  851. bool
  852. config SGI_HAS_I8042
  853. bool
  854. config DEFAULT_SGI_PARTITION
  855. bool
  856. config ARC32
  857. bool
  858. config SNIPROM
  859. bool
  860. config BOOT_ELF32
  861. bool
  862. config MIPS_L1_CACHE_SHIFT
  863. int
  864. default "4" if MACH_DECSTATION
  865. default "7" if SGI_IP27 || SGI_IP28 || SNI_RM
  866. default "4" if PMC_MSP4200_EVAL
  867. default "5"
  868. config HAVE_STD_PC_SERIAL_PORT
  869. bool
  870. config ARC_CONSOLE
  871. bool "ARC console support"
  872. depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
  873. config ARC_MEMORY
  874. bool
  875. depends on MACH_JAZZ || SNI_RM || SGI_IP32
  876. default y
  877. config ARC_PROMLIB
  878. bool
  879. depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
  880. default y
  881. config ARC64
  882. bool
  883. config BOOT_ELF64
  884. bool
  885. menu "CPU selection"
  886. choice
  887. prompt "CPU type"
  888. default CPU_R4X00
  889. config CPU_LOONGSON2
  890. bool "Loongson 2"
  891. depends on SYS_HAS_CPU_LOONGSON2
  892. select CPU_SUPPORTS_32BIT_KERNEL
  893. select CPU_SUPPORTS_64BIT_KERNEL
  894. select CPU_SUPPORTS_HIGHMEM
  895. help
  896. The Loongson 2E processor implements the MIPS III instruction set
  897. with many extensions.
  898. config CPU_MIPS32_R1
  899. bool "MIPS32 Release 1"
  900. depends on SYS_HAS_CPU_MIPS32_R1
  901. select CPU_HAS_LLSC
  902. select CPU_HAS_PREFETCH
  903. select CPU_SUPPORTS_32BIT_KERNEL
  904. select CPU_SUPPORTS_HIGHMEM
  905. help
  906. Choose this option to build a kernel for release 1 or later of the
  907. MIPS32 architecture. Most modern embedded systems with a 32-bit
  908. MIPS processor are based on a MIPS32 processor. If you know the
  909. specific type of processor in your system, choose those that one
  910. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  911. Release 2 of the MIPS32 architecture is available since several
  912. years so chances are you even have a MIPS32 Release 2 processor
  913. in which case you should choose CPU_MIPS32_R2 instead for better
  914. performance.
  915. config CPU_MIPS32_R2
  916. bool "MIPS32 Release 2"
  917. depends on SYS_HAS_CPU_MIPS32_R2
  918. select CPU_HAS_LLSC
  919. select CPU_HAS_PREFETCH
  920. select CPU_SUPPORTS_32BIT_KERNEL
  921. select CPU_SUPPORTS_HIGHMEM
  922. help
  923. Choose this option to build a kernel for release 2 or later of the
  924. MIPS32 architecture. Most modern embedded systems with a 32-bit
  925. MIPS processor are based on a MIPS32 processor. If you know the
  926. specific type of processor in your system, choose those that one
  927. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  928. config CPU_MIPS64_R1
  929. bool "MIPS64 Release 1"
  930. depends on SYS_HAS_CPU_MIPS64_R1
  931. select CPU_HAS_LLSC
  932. select CPU_HAS_PREFETCH
  933. select CPU_SUPPORTS_32BIT_KERNEL
  934. select CPU_SUPPORTS_64BIT_KERNEL
  935. select CPU_SUPPORTS_HIGHMEM
  936. help
  937. Choose this option to build a kernel for release 1 or later of the
  938. MIPS64 architecture. Many modern embedded systems with a 64-bit
  939. MIPS processor are based on a MIPS64 processor. If you know the
  940. specific type of processor in your system, choose those that one
  941. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  942. Release 2 of the MIPS64 architecture is available since several
  943. years so chances are you even have a MIPS64 Release 2 processor
  944. in which case you should choose CPU_MIPS64_R2 instead for better
  945. performance.
  946. config CPU_MIPS64_R2
  947. bool "MIPS64 Release 2"
  948. depends on SYS_HAS_CPU_MIPS64_R2
  949. select CPU_HAS_LLSC
  950. select CPU_HAS_PREFETCH
  951. select CPU_SUPPORTS_32BIT_KERNEL
  952. select CPU_SUPPORTS_64BIT_KERNEL
  953. select CPU_SUPPORTS_HIGHMEM
  954. help
  955. Choose this option to build a kernel for release 2 or later of the
  956. MIPS64 architecture. Many modern embedded systems with a 64-bit
  957. MIPS processor are based on a MIPS64 processor. If you know the
  958. specific type of processor in your system, choose those that one
  959. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  960. config CPU_R3000
  961. bool "R3000"
  962. depends on SYS_HAS_CPU_R3000
  963. select CPU_HAS_WB
  964. select CPU_SUPPORTS_32BIT_KERNEL
  965. select CPU_SUPPORTS_HIGHMEM
  966. help
  967. Please make sure to pick the right CPU type. Linux/MIPS is not
  968. designed to be generic, i.e. Kernels compiled for R3000 CPUs will
  969. *not* work on R4000 machines and vice versa. However, since most
  970. of the supported machines have an R4000 (or similar) CPU, R4x00
  971. might be a safe bet. If the resulting kernel does not work,
  972. try to recompile with R3000.
  973. config CPU_TX39XX
  974. bool "R39XX"
  975. depends on SYS_HAS_CPU_TX39XX
  976. select CPU_SUPPORTS_32BIT_KERNEL
  977. config CPU_VR41XX
  978. bool "R41xx"
  979. depends on SYS_HAS_CPU_VR41XX
  980. select CPU_SUPPORTS_32BIT_KERNEL
  981. select CPU_SUPPORTS_64BIT_KERNEL
  982. help
  983. The options selects support for the NEC VR4100 series of processors.
  984. Only choose this option if you have one of these processors as a
  985. kernel built with this option will not run on any other type of
  986. processor or vice versa.
  987. config CPU_R4300
  988. bool "R4300"
  989. depends on SYS_HAS_CPU_R4300
  990. select CPU_HAS_LLSC
  991. select CPU_SUPPORTS_32BIT_KERNEL
  992. select CPU_SUPPORTS_64BIT_KERNEL
  993. help
  994. MIPS Technologies R4300-series processors.
  995. config CPU_R4X00
  996. bool "R4x00"
  997. depends on SYS_HAS_CPU_R4X00
  998. select CPU_HAS_LLSC
  999. select CPU_SUPPORTS_32BIT_KERNEL
  1000. select CPU_SUPPORTS_64BIT_KERNEL
  1001. help
  1002. MIPS Technologies R4000-series processors other than 4300, including
  1003. the R4000, R4400, R4600, and 4700.
  1004. config CPU_TX49XX
  1005. bool "R49XX"
  1006. depends on SYS_HAS_CPU_TX49XX
  1007. select CPU_HAS_LLSC
  1008. select CPU_HAS_PREFETCH
  1009. select CPU_SUPPORTS_32BIT_KERNEL
  1010. select CPU_SUPPORTS_64BIT_KERNEL
  1011. config CPU_R5000
  1012. bool "R5000"
  1013. depends on SYS_HAS_CPU_R5000
  1014. select CPU_HAS_LLSC
  1015. select CPU_SUPPORTS_32BIT_KERNEL
  1016. select CPU_SUPPORTS_64BIT_KERNEL
  1017. help
  1018. MIPS Technologies R5000-series processors other than the Nevada.
  1019. config CPU_R5432
  1020. bool "R5432"
  1021. depends on SYS_HAS_CPU_R5432
  1022. select CPU_HAS_LLSC
  1023. select CPU_SUPPORTS_32BIT_KERNEL
  1024. select CPU_SUPPORTS_64BIT_KERNEL
  1025. config CPU_R6000
  1026. bool "R6000"
  1027. depends on EXPERIMENTAL
  1028. select CPU_HAS_LLSC
  1029. depends on SYS_HAS_CPU_R6000
  1030. select CPU_SUPPORTS_32BIT_KERNEL
  1031. help
  1032. MIPS Technologies R6000 and R6000A series processors. Note these
  1033. processors are extremely rare and the support for them is incomplete.
  1034. config CPU_NEVADA
  1035. bool "RM52xx"
  1036. depends on SYS_HAS_CPU_NEVADA
  1037. select CPU_HAS_LLSC
  1038. select CPU_SUPPORTS_32BIT_KERNEL
  1039. select CPU_SUPPORTS_64BIT_KERNEL
  1040. help
  1041. QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  1042. config CPU_R8000
  1043. bool "R8000"
  1044. depends on EXPERIMENTAL
  1045. depends on SYS_HAS_CPU_R8000
  1046. select CPU_HAS_LLSC
  1047. select CPU_HAS_PREFETCH
  1048. select CPU_SUPPORTS_64BIT_KERNEL
  1049. help
  1050. MIPS Technologies R8000 processors. Note these processors are
  1051. uncommon and the support for them is incomplete.
  1052. config CPU_R10000
  1053. bool "R10000"
  1054. depends on SYS_HAS_CPU_R10000
  1055. select CPU_HAS_LLSC
  1056. select CPU_HAS_PREFETCH
  1057. select CPU_SUPPORTS_32BIT_KERNEL
  1058. select CPU_SUPPORTS_64BIT_KERNEL
  1059. select CPU_SUPPORTS_HIGHMEM
  1060. help
  1061. MIPS Technologies R10000-series processors.
  1062. config CPU_RM7000
  1063. bool "RM7000"
  1064. depends on SYS_HAS_CPU_RM7000
  1065. select CPU_HAS_LLSC
  1066. select CPU_HAS_PREFETCH
  1067. select CPU_SUPPORTS_32BIT_KERNEL
  1068. select CPU_SUPPORTS_64BIT_KERNEL
  1069. select CPU_SUPPORTS_HIGHMEM
  1070. config CPU_RM9000
  1071. bool "RM9000"
  1072. depends on SYS_HAS_CPU_RM9000
  1073. select CPU_HAS_LLSC
  1074. select CPU_HAS_PREFETCH
  1075. select CPU_SUPPORTS_32BIT_KERNEL
  1076. select CPU_SUPPORTS_64BIT_KERNEL
  1077. select CPU_SUPPORTS_HIGHMEM
  1078. select WEAK_ORDERING
  1079. config CPU_SB1
  1080. bool "SB1"
  1081. depends on SYS_HAS_CPU_SB1
  1082. select CPU_HAS_LLSC
  1083. select CPU_SUPPORTS_32BIT_KERNEL
  1084. select CPU_SUPPORTS_64BIT_KERNEL
  1085. select CPU_SUPPORTS_HIGHMEM
  1086. select WEAK_ORDERING
  1087. endchoice
  1088. config SYS_HAS_CPU_LOONGSON2
  1089. bool
  1090. config SYS_HAS_CPU_MIPS32_R1
  1091. bool
  1092. config SYS_HAS_CPU_MIPS32_R2
  1093. bool
  1094. config SYS_HAS_CPU_MIPS64_R1
  1095. bool
  1096. config SYS_HAS_CPU_MIPS64_R2
  1097. bool
  1098. config SYS_HAS_CPU_R3000
  1099. bool
  1100. config SYS_HAS_CPU_TX39XX
  1101. bool
  1102. config SYS_HAS_CPU_VR41XX
  1103. bool
  1104. config SYS_HAS_CPU_R4300
  1105. bool
  1106. config SYS_HAS_CPU_R4X00
  1107. bool
  1108. config SYS_HAS_CPU_TX49XX
  1109. bool
  1110. config SYS_HAS_CPU_R5000
  1111. bool
  1112. config SYS_HAS_CPU_R5432
  1113. bool
  1114. config SYS_HAS_CPU_R6000
  1115. bool
  1116. config SYS_HAS_CPU_NEVADA
  1117. bool
  1118. config SYS_HAS_CPU_R8000
  1119. bool
  1120. config SYS_HAS_CPU_R10000
  1121. bool
  1122. config SYS_HAS_CPU_RM7000
  1123. bool
  1124. config SYS_HAS_CPU_RM9000
  1125. bool
  1126. config SYS_HAS_CPU_SB1
  1127. bool
  1128. #
  1129. # CPU may reorder R->R, R->W, W->R, W->W
  1130. # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
  1131. #
  1132. config WEAK_ORDERING
  1133. bool
  1134. #
  1135. # CPU may reorder reads and writes beyond LL/SC
  1136. # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
  1137. #
  1138. config WEAK_REORDERING_BEYOND_LLSC
  1139. bool
  1140. endmenu
  1141. #
  1142. # These two indicate any level of the MIPS32 and MIPS64 architecture
  1143. #
  1144. config CPU_MIPS32
  1145. bool
  1146. default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
  1147. config CPU_MIPS64
  1148. bool
  1149. default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
  1150. #
  1151. # These two indicate the revision of the architecture, either Release 1 or Release 2
  1152. #
  1153. config CPU_MIPSR1
  1154. bool
  1155. default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  1156. config CPU_MIPSR2
  1157. bool
  1158. default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
  1159. config SYS_SUPPORTS_32BIT_KERNEL
  1160. bool
  1161. config SYS_SUPPORTS_64BIT_KERNEL
  1162. bool
  1163. config CPU_SUPPORTS_32BIT_KERNEL
  1164. bool
  1165. config CPU_SUPPORTS_64BIT_KERNEL
  1166. bool
  1167. menu "Kernel type"
  1168. choice
  1169. prompt "Kernel code model"
  1170. help
  1171. You should only select this option if you have a workload that
  1172. actually benefits from 64-bit processing or if your machine has
  1173. large memory. You will only be presented a single option in this
  1174. menu if your system does not support both 32-bit and 64-bit kernels.
  1175. config 32BIT
  1176. bool "32-bit kernel"
  1177. depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
  1178. select TRAD_SIGNALS
  1179. help
  1180. Select this option if you want to build a 32-bit kernel.
  1181. config 64BIT
  1182. bool "64-bit kernel"
  1183. depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
  1184. help
  1185. Select this option if you want to build a 64-bit kernel.
  1186. endchoice
  1187. choice
  1188. prompt "Kernel page size"
  1189. default PAGE_SIZE_4KB
  1190. config PAGE_SIZE_4KB
  1191. bool "4kB"
  1192. help
  1193. This option select the standard 4kB Linux page size. On some
  1194. R3000-family processors this is the only available page size. Using
  1195. 4kB page size will minimize memory consumption and is therefore
  1196. recommended for low memory systems.
  1197. config PAGE_SIZE_8KB
  1198. bool "8kB"
  1199. depends on EXPERIMENTAL && CPU_R8000
  1200. help
  1201. Using 8kB page size will result in higher performance kernel at
  1202. the price of higher memory consumption. This option is available
  1203. only on the R8000 processor. Not that at the time of this writing
  1204. this option is still high experimental; there are also issues with
  1205. compatibility of user applications.
  1206. config PAGE_SIZE_16KB
  1207. bool "16kB"
  1208. depends on !CPU_R3000 && !CPU_TX39XX
  1209. help
  1210. Using 16kB page size will result in higher performance kernel at
  1211. the price of higher memory consumption. This option is available on
  1212. all non-R3000 family processors. Note that you will need a suitable
  1213. Linux distribution to support this.
  1214. config PAGE_SIZE_64KB
  1215. bool "64kB"
  1216. depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
  1217. help
  1218. Using 64kB page size will result in higher performance kernel at
  1219. the price of higher memory consumption. This option is available on
  1220. all non-R3000 family processor. Not that at the time of this
  1221. writing this option is still high experimental.
  1222. endchoice
  1223. config BOARD_SCACHE
  1224. bool
  1225. config IP22_CPU_SCACHE
  1226. bool
  1227. select BOARD_SCACHE
  1228. #
  1229. # Support for a MIPS32 / MIPS64 style S-caches
  1230. #
  1231. config MIPS_CPU_SCACHE
  1232. bool
  1233. select BOARD_SCACHE
  1234. config R5000_CPU_SCACHE
  1235. bool
  1236. select BOARD_SCACHE
  1237. config RM7000_CPU_SCACHE
  1238. bool
  1239. select BOARD_SCACHE
  1240. config SIBYTE_DMA_PAGEOPS
  1241. bool "Use DMA to clear/copy pages"
  1242. depends on CPU_SB1
  1243. help
  1244. Instead of using the CPU to zero and copy pages, use a Data Mover
  1245. channel. These DMA channels are otherwise unused by the standard
  1246. SiByte Linux port. Seems to give a small performance benefit.
  1247. config CPU_HAS_PREFETCH
  1248. bool
  1249. choice
  1250. prompt "MIPS MT options"
  1251. config MIPS_MT_DISABLED
  1252. bool "Disable multithreading support."
  1253. help
  1254. Use this option if your workload can't take advantage of
  1255. MIPS hardware multithreading support. On systems that don't have
  1256. the option of an MT-enabled processor this option will be the only
  1257. option in this menu.
  1258. config MIPS_MT_SMP
  1259. bool "Use 1 TC on each available VPE for SMP"
  1260. depends on SYS_SUPPORTS_MULTITHREADING
  1261. select CPU_MIPSR2_IRQ_VI
  1262. select CPU_MIPSR2_IRQ_EI
  1263. select MIPS_MT
  1264. select NR_CPUS_DEFAULT_2
  1265. select SMP
  1266. select SYS_SUPPORTS_SCHED_SMT if SMP
  1267. select SYS_SUPPORTS_SMP
  1268. select SMP_UP
  1269. help
  1270. This is a kernel model which is also known a VSMP or lately
  1271. has been marketesed into SMVP.
  1272. config MIPS_MT_SMTC
  1273. bool "SMTC: Use all TCs on all VPEs for SMP"
  1274. depends on CPU_MIPS32_R2
  1275. #depends on CPU_MIPS64_R2 # once there is hardware ...
  1276. depends on SYS_SUPPORTS_MULTITHREADING
  1277. select GENERIC_CLOCKEVENTS_BROADCAST
  1278. select CPU_MIPSR2_IRQ_VI
  1279. select CPU_MIPSR2_IRQ_EI
  1280. select MIPS_MT
  1281. select NR_CPUS_DEFAULT_8
  1282. select SMP
  1283. select SYS_SUPPORTS_SMP
  1284. select SMP_UP
  1285. help
  1286. This is a kernel model which is known a SMTC or lately has been
  1287. marketesed into SMVP.
  1288. endchoice
  1289. config MIPS_MT
  1290. bool
  1291. config SCHED_SMT
  1292. bool "SMT (multithreading) scheduler support"
  1293. depends on SYS_SUPPORTS_SCHED_SMT
  1294. default n
  1295. help
  1296. SMT scheduler support improves the CPU scheduler's decision making
  1297. when dealing with MIPS MT enabled cores at a cost of slightly
  1298. increased overhead in some places. If unsure say N here.
  1299. config SYS_SUPPORTS_SCHED_SMT
  1300. bool
  1301. config SYS_SUPPORTS_MULTITHREADING
  1302. bool
  1303. config MIPS_MT_FPAFF
  1304. bool "Dynamic FPU affinity for FP-intensive threads"
  1305. default y
  1306. depends on MIPS_MT_SMP || MIPS_MT_SMTC
  1307. config MIPS_VPE_LOADER
  1308. bool "VPE loader support."
  1309. depends on SYS_SUPPORTS_MULTITHREADING
  1310. select CPU_MIPSR2_IRQ_VI
  1311. select CPU_MIPSR2_IRQ_EI
  1312. select MIPS_MT
  1313. help
  1314. Includes a loader for loading an elf relocatable object
  1315. onto another VPE and running it.
  1316. config MIPS_MT_SMTC_INSTANT_REPLAY
  1317. bool "Low-latency Dispatch of Deferred SMTC IPIs"
  1318. depends on MIPS_MT_SMTC && !PREEMPT
  1319. default y
  1320. help
  1321. SMTC pseudo-interrupts between TCs are deferred and queued
  1322. if the target TC is interrupt-inhibited (IXMT). In the first
  1323. SMTC prototypes, these queued IPIs were serviced on return
  1324. to user mode, or on entry into the kernel idle loop. The
  1325. INSTANT_REPLAY option dispatches them as part of local_irq_restore()
  1326. processing, which adds runtime overhead (hence the option to turn
  1327. it off), but ensures that IPIs are handled promptly even under
  1328. heavy I/O interrupt load.
  1329. config MIPS_MT_SMTC_IM_BACKSTOP
  1330. bool "Use per-TC register bits as backstop for inhibited IM bits"
  1331. depends on MIPS_MT_SMTC
  1332. default y
  1333. help
  1334. To support multiple TC microthreads acting as "CPUs" within
  1335. a VPE, VPE-wide interrupt mask bits must be specially manipulated
  1336. during interrupt handling. To support legacy drivers and interrupt
  1337. controller management code, SMTC has a "backstop" to track and
  1338. if necessary restore the interrupt mask. This has some performance
  1339. impact on interrupt service overhead. Disable it only if you know
  1340. what you are doing.
  1341. config MIPS_MT_SMTC_IRQAFF
  1342. bool "Support IRQ affinity API"
  1343. depends on MIPS_MT_SMTC
  1344. default n
  1345. help
  1346. Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
  1347. for SMTC Linux kernel. Requires platform support, of which
  1348. an example can be found in the MIPS kernel i8259 and Malta
  1349. platform code. It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
  1350. be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
  1351. interrupt dispatch, and should be used only if you know what
  1352. you are doing.
  1353. config MIPS_VPE_LOADER_TOM
  1354. bool "Load VPE program into memory hidden from linux"
  1355. depends on MIPS_VPE_LOADER
  1356. default y
  1357. help
  1358. The loader can use memory that is present but has been hidden from
  1359. Linux using the kernel command line option "mem=xxMB". It's up to
  1360. you to ensure the amount you put in the option and the space your
  1361. program requires is less or equal to the amount physically present.
  1362. # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
  1363. config MIPS_VPE_APSP_API
  1364. bool "Enable support for AP/SP API (RTLX)"
  1365. depends on MIPS_VPE_LOADER
  1366. help
  1367. config MIPS_APSP_KSPD
  1368. bool "Enable KSPD"
  1369. depends on MIPS_VPE_APSP_API
  1370. default y
  1371. help
  1372. KSPD is a kernel daemon that accepts syscall requests from the SP
  1373. side, actions them and returns the results. It also handles the
  1374. "exit" syscall notifying other kernel modules the SP program is
  1375. exiting. You probably want to say yes here.
  1376. config SB1_PASS_1_WORKAROUNDS
  1377. bool
  1378. depends on CPU_SB1_PASS_1
  1379. default y
  1380. config SB1_PASS_2_WORKAROUNDS
  1381. bool
  1382. depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
  1383. default y
  1384. config SB1_PASS_2_1_WORKAROUNDS
  1385. bool
  1386. depends on CPU_SB1 && CPU_SB1_PASS_2
  1387. default y
  1388. config 64BIT_PHYS_ADDR
  1389. bool
  1390. config CPU_HAS_LLSC
  1391. bool
  1392. config CPU_HAS_SMARTMIPS
  1393. depends on SYS_SUPPORTS_SMARTMIPS
  1394. bool "Support for the SmartMIPS ASE"
  1395. help
  1396. SmartMIPS is a extension of the MIPS32 architecture aimed at
  1397. increased security at both hardware and software level for
  1398. smartcards. Enabling this option will allow proper use of the
  1399. SmartMIPS instructions by Linux applications. However a kernel with
  1400. this option will not work on a MIPS core without SmartMIPS core. If
  1401. you don't know you probably don't have SmartMIPS and should say N
  1402. here.
  1403. config CPU_HAS_WB
  1404. bool
  1405. #
  1406. # Vectored interrupt mode is an R2 feature
  1407. #
  1408. config CPU_MIPSR2_IRQ_VI
  1409. bool
  1410. #
  1411. # Extended interrupt mode is an R2 feature
  1412. #
  1413. config CPU_MIPSR2_IRQ_EI
  1414. bool
  1415. config CPU_HAS_SYNC
  1416. bool
  1417. depends on !CPU_R3000
  1418. default y
  1419. config GENERIC_CLOCKEVENTS_BROADCAST
  1420. bool
  1421. #
  1422. # CPU non-features
  1423. #
  1424. config CPU_DADDI_WORKAROUNDS
  1425. bool
  1426. config CPU_R4000_WORKAROUNDS
  1427. bool
  1428. select CPU_R4400_WORKAROUNDS
  1429. config CPU_R4400_WORKAROUNDS
  1430. bool
  1431. #
  1432. # Use the generic interrupt handling code in kernel/irq/:
  1433. #
  1434. config GENERIC_HARDIRQS
  1435. bool
  1436. default y
  1437. config GENERIC_IRQ_PROBE
  1438. bool
  1439. default y
  1440. config IRQ_PER_CPU
  1441. bool
  1442. #
  1443. # - Highmem only makes sense for the 32-bit kernel.
  1444. # - The current highmem code will only work properly on physically indexed
  1445. # caches such as R3000, SB1, R7000 or those that look like they're virtually
  1446. # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
  1447. # moment we protect the user and offer the highmem option only on machines
  1448. # where it's known to be safe. This will not offer highmem on a few systems
  1449. # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
  1450. # indexed CPUs but we're playing safe.
  1451. # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
  1452. # know they might have memory configurations that could make use of highmem
  1453. # support.
  1454. #
  1455. config HIGHMEM
  1456. bool "High Memory Support"
  1457. depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
  1458. config CPU_SUPPORTS_HIGHMEM
  1459. bool
  1460. config SYS_SUPPORTS_HIGHMEM
  1461. bool
  1462. config SYS_SUPPORTS_SMARTMIPS
  1463. bool
  1464. config ARCH_FLATMEM_ENABLE
  1465. def_bool y
  1466. depends on !NUMA
  1467. config ARCH_DISCONTIGMEM_ENABLE
  1468. bool
  1469. default y if SGI_IP27
  1470. help
  1471. Say Y to support efficient handling of discontiguous physical memory,
  1472. for architectures which are either NUMA (Non-Uniform Memory Access)
  1473. or have huge holes in the physical address space for other reasons.
  1474. See <file:Documentation/vm/numa> for more.
  1475. config ARCH_POPULATES_NODE_MAP
  1476. def_bool y
  1477. config ARCH_SPARSEMEM_ENABLE
  1478. bool
  1479. select SPARSEMEM_STATIC
  1480. config NUMA
  1481. bool "NUMA Support"
  1482. depends on SYS_SUPPORTS_NUMA
  1483. help
  1484. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  1485. Access). This option improves performance on systems with more
  1486. than two nodes; on two node systems it is generally better to
  1487. leave it disabled; on single node systems disable this option
  1488. disabled.
  1489. config SYS_SUPPORTS_NUMA
  1490. bool
  1491. config NODES_SHIFT
  1492. int
  1493. default "6"
  1494. depends on NEED_MULTIPLE_NODES
  1495. source "mm/Kconfig"
  1496. config SMP
  1497. bool "Multi-Processing support"
  1498. depends on SYS_SUPPORTS_SMP
  1499. select IRQ_PER_CPU
  1500. help
  1501. This enables support for systems with more than one CPU. If you have
  1502. a system with only one CPU, like most personal computers, say N. If
  1503. you have a system with more than one CPU, say Y.
  1504. If you say N here, the kernel will run on single and multiprocessor
  1505. machines, but will use only one CPU of a multiprocessor machine. If
  1506. you say Y here, the kernel will run on many, but not all,
  1507. singleprocessor machines. On a singleprocessor machine, the kernel
  1508. will run faster if you say N here.
  1509. People using multiprocessor machines who say Y here should also say
  1510. Y to "Enhanced Real Time Clock Support", below.
  1511. See also the SMP-HOWTO available at
  1512. <http://www.tldp.org/docs.html#howto>.
  1513. If you don't know what to do here, say N.
  1514. config SMP_UP
  1515. bool
  1516. config SYS_SUPPORTS_SMP
  1517. bool
  1518. config NR_CPUS_DEFAULT_1
  1519. bool
  1520. config NR_CPUS_DEFAULT_2
  1521. bool
  1522. config NR_CPUS_DEFAULT_4
  1523. bool
  1524. config NR_CPUS_DEFAULT_8
  1525. bool
  1526. config NR_CPUS_DEFAULT_16
  1527. bool
  1528. config NR_CPUS_DEFAULT_32
  1529. bool
  1530. config NR_CPUS_DEFAULT_64
  1531. bool
  1532. config NR_CPUS
  1533. int "Maximum number of CPUs (2-64)"
  1534. range 1 64 if NR_CPUS_DEFAULT_1
  1535. depends on SMP
  1536. default "1" if NR_CPUS_DEFAULT_1
  1537. default "2" if NR_CPUS_DEFAULT_2
  1538. default "4" if NR_CPUS_DEFAULT_4
  1539. default "8" if NR_CPUS_DEFAULT_8
  1540. default "16" if NR_CPUS_DEFAULT_16
  1541. default "32" if NR_CPUS_DEFAULT_32
  1542. default "64" if NR_CPUS_DEFAULT_64
  1543. help
  1544. This allows you to specify the maximum number of CPUs which this
  1545. kernel will support. The maximum supported value is 32 for 32-bit
  1546. kernel and 64 for 64-bit kernels; the minimum value which makes
  1547. sense is 1 for Qemu (useful only for kernel debugging purposes)
  1548. and 2 for all others.
  1549. This is purely to save memory - each supported CPU adds
  1550. approximately eight kilobytes to the kernel image. For best
  1551. performance should round up your number of processors to the next
  1552. power of two.
  1553. source "kernel/time/Kconfig"
  1554. #
  1555. # Timer Interrupt Frequency Configuration
  1556. #
  1557. choice
  1558. prompt "Timer frequency"
  1559. default HZ_250
  1560. help
  1561. Allows the configuration of the timer frequency.
  1562. config HZ_48
  1563. bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
  1564. config HZ_100
  1565. bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
  1566. config HZ_128
  1567. bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
  1568. config HZ_250
  1569. bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
  1570. config HZ_256
  1571. bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
  1572. config HZ_1000
  1573. bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
  1574. config HZ_1024
  1575. bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
  1576. endchoice
  1577. config SYS_SUPPORTS_48HZ
  1578. bool
  1579. config SYS_SUPPORTS_100HZ
  1580. bool
  1581. config SYS_SUPPORTS_128HZ
  1582. bool
  1583. config SYS_SUPPORTS_250HZ
  1584. bool
  1585. config SYS_SUPPORTS_256HZ
  1586. bool
  1587. config SYS_SUPPORTS_1000HZ
  1588. bool
  1589. config SYS_SUPPORTS_1024HZ
  1590. bool
  1591. config SYS_SUPPORTS_ARBIT_HZ
  1592. bool
  1593. default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
  1594. !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
  1595. !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
  1596. !SYS_SUPPORTS_1024HZ
  1597. config HZ
  1598. int
  1599. default 48 if HZ_48
  1600. default 100 if HZ_100
  1601. default 128 if HZ_128
  1602. default 250 if HZ_250
  1603. default 256 if HZ_256
  1604. default 1000 if HZ_1000
  1605. default 1024 if HZ_1024
  1606. source "kernel/Kconfig.preempt"
  1607. config MIPS_INSANE_LARGE
  1608. bool "Support for large 64-bit configurations"
  1609. depends on CPU_R10000 && 64BIT
  1610. help
  1611. MIPS R10000 does support a 44 bit / 16TB address space as opposed to
  1612. previous 64-bit processors which only supported 40 bit / 1TB. If you
  1613. need processes of more than 1TB virtual address space, say Y here.
  1614. This will result in additional memory usage, so it is not
  1615. recommended for normal users.
  1616. config KEXEC
  1617. bool "Kexec system call (EXPERIMENTAL)"
  1618. depends on EXPERIMENTAL
  1619. help
  1620. kexec is a system call that implements the ability to shutdown your
  1621. current kernel, and to start another kernel. It is like a reboot
  1622. but it is independent of the system firmware. And like a reboot
  1623. you can start any kernel with it, not just Linux.
  1624. The name comes from the similarity to the exec system call.
  1625. It is an ongoing process to be certain the hardware in a machine
  1626. is properly shutdown, so do not be surprised if this code does not
  1627. initially work for you. It may help to enable device hotplugging
  1628. support. As of this writing the exact hardware interface is
  1629. strongly in flux, so no good recommendation can be made.
  1630. config SECCOMP
  1631. bool "Enable seccomp to safely compute untrusted bytecode"
  1632. depends on PROC_FS
  1633. default y
  1634. help
  1635. This kernel feature is useful for number crunching applications
  1636. that may need to compute untrusted bytecode during their
  1637. execution. By using pipes or other transports made available to
  1638. the process as file descriptors supporting the read/write
  1639. syscalls, it's possible to isolate those applications in
  1640. their own address space using seccomp. Once seccomp is
  1641. enabled via /proc/<pid>/seccomp, it cannot be disabled
  1642. and the task is only allowed to execute a few safe syscalls
  1643. defined by each seccomp mode.
  1644. If unsure, say Y. Only embedded should say N here.
  1645. endmenu
  1646. config RWSEM_GENERIC_SPINLOCK
  1647. bool
  1648. default y
  1649. config LOCKDEP_SUPPORT
  1650. bool
  1651. default y
  1652. config STACKTRACE_SUPPORT
  1653. bool
  1654. default y
  1655. source "init/Kconfig"
  1656. menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
  1657. config HW_HAS_EISA
  1658. bool
  1659. config HW_HAS_PCI
  1660. bool
  1661. config PCI
  1662. bool "Support for PCI controller"
  1663. depends on HW_HAS_PCI
  1664. select PCI_DOMAINS
  1665. help
  1666. Find out whether you have a PCI motherboard. PCI is the name of a
  1667. bus system, i.e. the way the CPU talks to the other stuff inside
  1668. your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
  1669. say Y, otherwise N.
  1670. config PCI_DOMAINS
  1671. bool
  1672. source "drivers/pci/Kconfig"
  1673. #
  1674. # ISA support is now enabled via select. Too many systems still have the one
  1675. # or other ISA chip on the board that users don't know about so don't expect
  1676. # users to choose the right thing ...
  1677. #
  1678. config ISA
  1679. bool
  1680. config EISA
  1681. bool "EISA support"
  1682. depends on HW_HAS_EISA
  1683. select ISA
  1684. select GENERIC_ISA_DMA
  1685. ---help---
  1686. The Extended Industry Standard Architecture (EISA) bus was
  1687. developed as an open alternative to the IBM MicroChannel bus.
  1688. The EISA bus provided some of the features of the IBM MicroChannel
  1689. bus while maintaining backward compatibility with cards made for
  1690. the older ISA bus. The EISA bus saw limited use between 1988 and
  1691. 1995 when it was made obsolete by the PCI bus.
  1692. Say Y here if you are building a kernel for an EISA-based machine.
  1693. Otherwise, say N.
  1694. source "drivers/eisa/Kconfig"
  1695. config TC
  1696. bool "TURBOchannel support"
  1697. depends on MACH_DECSTATION
  1698. help
  1699. TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
  1700. processors. Documentation on writing device drivers for TurboChannel
  1701. is available at:
  1702. <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
  1703. #config ACCESSBUS
  1704. # bool "Access.Bus support"
  1705. # depends on TC
  1706. config MMU
  1707. bool
  1708. default y
  1709. config I8253
  1710. bool
  1711. config ZONE_DMA32
  1712. bool
  1713. source "drivers/pcmcia/Kconfig"
  1714. source "drivers/pci/hotplug/Kconfig"
  1715. endmenu
  1716. menu "Executable file formats"
  1717. source "fs/Kconfig.binfmt"
  1718. config TRAD_SIGNALS
  1719. bool
  1720. config BINFMT_IRIX
  1721. bool "Include IRIX binary compatibility"
  1722. depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
  1723. config MIPS32_COMPAT
  1724. bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
  1725. depends on 64BIT
  1726. help
  1727. Select this option if you want Linux/MIPS 32-bit binary
  1728. compatibility. Since all software available for Linux/MIPS is
  1729. currently 32-bit you should say Y here.
  1730. config COMPAT
  1731. bool
  1732. depends on MIPS32_COMPAT
  1733. default y
  1734. config SYSVIPC_COMPAT
  1735. bool
  1736. depends on COMPAT && SYSVIPC
  1737. default y
  1738. config MIPS32_O32
  1739. bool "Kernel support for o32 binaries"
  1740. depends on MIPS32_COMPAT
  1741. help
  1742. Select this option if you want to run o32 binaries. These are pure
  1743. 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
  1744. existing binaries are in this format.
  1745. If unsure, say Y.
  1746. config MIPS32_N32
  1747. bool "Kernel support for n32 binaries"
  1748. depends on MIPS32_COMPAT
  1749. help
  1750. Select this option if you want to run n32 binaries. These are
  1751. 64-bit binaries using 32-bit quantities for addressing and certain
  1752. data that would normally be 64-bit. They are used in special
  1753. cases.
  1754. If unsure, say N.
  1755. config BINFMT_ELF32
  1756. bool
  1757. default y if MIPS32_O32 || MIPS32_N32
  1758. endmenu
  1759. menu "Power management options"
  1760. config ARCH_SUSPEND_POSSIBLE
  1761. def_bool y
  1762. depends on !SMP
  1763. source "kernel/power/Kconfig"
  1764. endmenu
  1765. source "net/Kconfig"
  1766. source "drivers/Kconfig"
  1767. source "fs/Kconfig"
  1768. source "arch/mips/Kconfig.debug"
  1769. source "security/Kconfig"
  1770. source "crypto/Kconfig"
  1771. source "lib/Kconfig"