Kconfig 61 KB

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