Kconfig 50 KB

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