Kconfig 52 KB

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