Kconfig 50 KB

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