Kconfig 51 KB

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