Kconfig 61 KB

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