Kconfig 52 KB

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