Kconfig 56 KB

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