Kconfig 52 KB

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