Kconfig 61 KB

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