Kconfig 49 KB

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