Kconfig 50 KB

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