Kconfig 58 KB

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