Kconfig 52 KB

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