Kconfig 53 KB

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