Kconfig 75 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038
  1. config MIPS
  2. bool
  3. default y
  4. select ARCH_SUPPORTS_UPROBES
  5. select ARCH_MIGHT_HAVE_PC_PARPORT
  6. select ARCH_MIGHT_HAVE_PC_SERIO
  7. select ARCH_USE_CMPXCHG_LOCKREF if 64BIT
  8. select ARCH_USE_BUILTIN_BSWAP
  9. select HAVE_CONTEXT_TRACKING
  10. select HAVE_GENERIC_DMA_COHERENT
  11. select HAVE_IDE
  12. select HAVE_OPROFILE
  13. select HAVE_PERF_EVENTS
  14. select PERF_USE_VMALLOC
  15. select HAVE_ARCH_KGDB
  16. select HAVE_ARCH_SECCOMP_FILTER
  17. select HAVE_ARCH_TRACEHOOK
  18. select HAVE_BPF_JIT if !CPU_MICROMIPS
  19. select HAVE_FUNCTION_TRACER
  20. select HAVE_DYNAMIC_FTRACE
  21. select HAVE_FTRACE_MCOUNT_RECORD
  22. select HAVE_C_RECORDMCOUNT
  23. select HAVE_FUNCTION_GRAPH_TRACER
  24. select HAVE_KPROBES
  25. select HAVE_KRETPROBES
  26. select HAVE_SYSCALL_TRACEPOINTS
  27. select HAVE_DEBUG_KMEMLEAK
  28. select HAVE_SYSCALL_TRACEPOINTS
  29. select ARCH_HAS_ELF_RANDOMIZE
  30. select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES && 64BIT
  31. select RTC_LIB if !MACH_LOONGSON64
  32. select GENERIC_ATOMIC64 if !64BIT
  33. select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
  34. select HAVE_DMA_CONTIGUOUS
  35. select HAVE_DMA_API_DEBUG
  36. select GENERIC_IRQ_PROBE
  37. select GENERIC_IRQ_SHOW
  38. select GENERIC_PCI_IOMAP
  39. select HAVE_ARCH_JUMP_LABEL
  40. select ARCH_WANT_IPC_PARSE_VERSION
  41. select IRQ_FORCED_THREADING
  42. select HAVE_MEMBLOCK
  43. select HAVE_MEMBLOCK_NODE_MAP
  44. select ARCH_DISCARD_MEMBLOCK
  45. select GENERIC_SMP_IDLE_THREAD
  46. select BUILDTIME_EXTABLE_SORT
  47. select GENERIC_CLOCKEVENTS
  48. select GENERIC_SCHED_CLOCK if !CAVIUM_OCTEON_SOC
  49. select GENERIC_CMOS_UPDATE
  50. select HAVE_MOD_ARCH_SPECIFIC
  51. select VIRT_TO_BUS
  52. select MODULES_USE_ELF_REL if MODULES
  53. select MODULES_USE_ELF_RELA if MODULES && 64BIT
  54. select CLONE_BACKWARDS
  55. select HAVE_DEBUG_STACKOVERFLOW
  56. select HAVE_CC_STACKPROTECTOR
  57. select CPU_PM if CPU_IDLE
  58. select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
  59. select ARCH_BINFMT_ELF_STATE
  60. select SYSCTL_EXCEPTION_TRACE
  61. select HAVE_VIRT_CPU_ACCOUNTING_GEN
  62. select HAVE_IRQ_TIME_ACCOUNTING
  63. select GENERIC_TIME_VSYSCALL
  64. select ARCH_CLOCKSOURCE_DATA
  65. menu "Machine selection"
  66. choice
  67. prompt "System type"
  68. default SGI_IP22
  69. config MIPS_ALCHEMY
  70. bool "Alchemy processor based machines"
  71. select ARCH_PHYS_ADDR_T_64BIT
  72. select CEVT_R4K
  73. select CSRC_R4K
  74. select IRQ_MIPS_CPU
  75. select DMA_MAYBE_COHERENT # Au1000,1500,1100 aren't, rest is
  76. select SYS_HAS_CPU_MIPS32_R1
  77. select SYS_SUPPORTS_32BIT_KERNEL
  78. select SYS_SUPPORTS_APM_EMULATION
  79. select ARCH_REQUIRE_GPIOLIB
  80. select SYS_SUPPORTS_ZBOOT
  81. select COMMON_CLK
  82. config AR7
  83. bool "Texas Instruments AR7"
  84. select BOOT_ELF32
  85. select DMA_NONCOHERENT
  86. select CEVT_R4K
  87. select CSRC_R4K
  88. select IRQ_MIPS_CPU
  89. select NO_EXCEPT_FILL
  90. select SWAP_IO_SPACE
  91. select SYS_HAS_CPU_MIPS32_R1
  92. select SYS_HAS_EARLY_PRINTK
  93. select SYS_SUPPORTS_32BIT_KERNEL
  94. select SYS_SUPPORTS_LITTLE_ENDIAN
  95. select SYS_SUPPORTS_MIPS16
  96. select SYS_SUPPORTS_ZBOOT_UART16550
  97. select ARCH_REQUIRE_GPIOLIB
  98. select VLYNQ
  99. select HAVE_CLK
  100. help
  101. Support for the Texas Instruments AR7 System-on-a-Chip
  102. family: TNETD7100, 7200 and 7300.
  103. config ATH25
  104. bool "Atheros AR231x/AR531x SoC support"
  105. select CEVT_R4K
  106. select CSRC_R4K
  107. select DMA_NONCOHERENT
  108. select IRQ_MIPS_CPU
  109. select IRQ_DOMAIN
  110. select SYS_HAS_CPU_MIPS32_R1
  111. select SYS_SUPPORTS_BIG_ENDIAN
  112. select SYS_SUPPORTS_32BIT_KERNEL
  113. select SYS_HAS_EARLY_PRINTK
  114. help
  115. Support for Atheros AR231x and Atheros AR531x based boards
  116. config ATH79
  117. bool "Atheros AR71XX/AR724X/AR913X based boards"
  118. select ARCH_HAS_RESET_CONTROLLER
  119. select ARCH_REQUIRE_GPIOLIB
  120. select BOOT_RAW
  121. select CEVT_R4K
  122. select CSRC_R4K
  123. select DMA_NONCOHERENT
  124. select HAVE_CLK
  125. select COMMON_CLK
  126. select CLKDEV_LOOKUP
  127. select IRQ_MIPS_CPU
  128. select MIPS_MACHINE
  129. select SYS_HAS_CPU_MIPS32_R2
  130. select SYS_HAS_EARLY_PRINTK
  131. select SYS_SUPPORTS_32BIT_KERNEL
  132. select SYS_SUPPORTS_BIG_ENDIAN
  133. select SYS_SUPPORTS_MIPS16
  134. select SYS_SUPPORTS_ZBOOT
  135. select USE_OF
  136. help
  137. Support for the Atheros AR71XX/AR724X/AR913X SoCs.
  138. config BMIPS_GENERIC
  139. bool "Broadcom Generic BMIPS kernel"
  140. select BOOT_RAW
  141. select NO_EXCEPT_FILL
  142. select USE_OF
  143. select CEVT_R4K
  144. select CSRC_R4K
  145. select SYNC_R4K
  146. select COMMON_CLK
  147. select BCM6345_L1_IRQ
  148. select BCM7038_L1_IRQ
  149. select BCM7120_L2_IRQ
  150. select BRCMSTB_L2_IRQ
  151. select IRQ_MIPS_CPU
  152. select DMA_NONCOHERENT
  153. select SYS_SUPPORTS_32BIT_KERNEL
  154. select SYS_SUPPORTS_LITTLE_ENDIAN
  155. select SYS_SUPPORTS_BIG_ENDIAN
  156. select SYS_SUPPORTS_HIGHMEM
  157. select SYS_HAS_CPU_BMIPS32_3300
  158. select SYS_HAS_CPU_BMIPS4350
  159. select SYS_HAS_CPU_BMIPS4380
  160. select SYS_HAS_CPU_BMIPS5000
  161. select SWAP_IO_SPACE
  162. select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
  163. select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
  164. select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
  165. select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
  166. select ARCH_WANT_OPTIONAL_GPIOLIB
  167. help
  168. Build a generic DT-based kernel image that boots on select
  169. BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top
  170. box chips. Note that CONFIG_CPU_BIG_ENDIAN/CONFIG_CPU_LITTLE_ENDIAN
  171. must be set appropriately for your board.
  172. config BCM47XX
  173. bool "Broadcom BCM47XX based boards"
  174. select ARCH_WANT_OPTIONAL_GPIOLIB
  175. select BOOT_RAW
  176. select CEVT_R4K
  177. select CSRC_R4K
  178. select DMA_NONCOHERENT
  179. select HW_HAS_PCI
  180. select IRQ_MIPS_CPU
  181. select SYS_HAS_CPU_MIPS32_R1
  182. select NO_EXCEPT_FILL
  183. select SYS_SUPPORTS_32BIT_KERNEL
  184. select SYS_SUPPORTS_LITTLE_ENDIAN
  185. select SYS_SUPPORTS_MIPS16
  186. select SYS_HAS_EARLY_PRINTK
  187. select USE_GENERIC_EARLY_PRINTK_8250
  188. select GPIOLIB
  189. select LEDS_GPIO_REGISTER
  190. select BCM47XX_NVRAM
  191. help
  192. Support for BCM47XX based boards
  193. config BCM63XX
  194. bool "Broadcom BCM63XX based boards"
  195. select BOOT_RAW
  196. select CEVT_R4K
  197. select CSRC_R4K
  198. select SYNC_R4K
  199. select DMA_NONCOHERENT
  200. select IRQ_MIPS_CPU
  201. select SYS_SUPPORTS_32BIT_KERNEL
  202. select SYS_SUPPORTS_BIG_ENDIAN
  203. select SYS_HAS_EARLY_PRINTK
  204. select SWAP_IO_SPACE
  205. select ARCH_REQUIRE_GPIOLIB
  206. select HAVE_CLK
  207. select MIPS_L1_CACHE_SHIFT_4
  208. help
  209. Support for BCM63XX based boards
  210. config MIPS_COBALT
  211. bool "Cobalt Server"
  212. select CEVT_R4K
  213. select CSRC_R4K
  214. select CEVT_GT641XX
  215. select DMA_NONCOHERENT
  216. select HW_HAS_PCI
  217. select I8253
  218. select I8259
  219. select IRQ_MIPS_CPU
  220. select IRQ_GT641XX
  221. select PCI_GT64XXX_PCI0
  222. select PCI
  223. select SYS_HAS_CPU_NEVADA
  224. select SYS_HAS_EARLY_PRINTK
  225. select SYS_SUPPORTS_32BIT_KERNEL
  226. select SYS_SUPPORTS_64BIT_KERNEL
  227. select SYS_SUPPORTS_LITTLE_ENDIAN
  228. select USE_GENERIC_EARLY_PRINTK_8250
  229. config MACH_DECSTATION
  230. bool "DECstations"
  231. select BOOT_ELF32
  232. select CEVT_DS1287
  233. select CEVT_R4K if CPU_R4X00
  234. select CSRC_IOASIC
  235. select CSRC_R4K if CPU_R4X00
  236. select CPU_DADDI_WORKAROUNDS if 64BIT
  237. select CPU_R4000_WORKAROUNDS if 64BIT
  238. select CPU_R4400_WORKAROUNDS if 64BIT
  239. select DMA_NONCOHERENT
  240. select NO_IOPORT_MAP
  241. select IRQ_MIPS_CPU
  242. select SYS_HAS_CPU_R3000
  243. select SYS_HAS_CPU_R4X00
  244. select SYS_SUPPORTS_32BIT_KERNEL
  245. select SYS_SUPPORTS_64BIT_KERNEL
  246. select SYS_SUPPORTS_LITTLE_ENDIAN
  247. select SYS_SUPPORTS_128HZ
  248. select SYS_SUPPORTS_256HZ
  249. select SYS_SUPPORTS_1024HZ
  250. select MIPS_L1_CACHE_SHIFT_4
  251. help
  252. This enables support for DEC's MIPS based workstations. For details
  253. see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
  254. DECstation porting pages on <http://decstation.unix-ag.org/>.
  255. If you have one of the following DECstation Models you definitely
  256. want to choose R4xx0 for the CPU Type:
  257. DECstation 5000/50
  258. DECstation 5000/150
  259. DECstation 5000/260
  260. DECsystem 5900/260
  261. otherwise choose R3000.
  262. config MACH_JAZZ
  263. bool "Jazz family of machines"
  264. select FW_ARC
  265. select FW_ARC32
  266. select ARCH_MAY_HAVE_PC_FDC
  267. select CEVT_R4K
  268. select CSRC_R4K
  269. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  270. select GENERIC_ISA_DMA
  271. select HAVE_PCSPKR_PLATFORM
  272. select IRQ_MIPS_CPU
  273. select I8253
  274. select I8259
  275. select ISA
  276. select SYS_HAS_CPU_R4X00
  277. select SYS_SUPPORTS_32BIT_KERNEL
  278. select SYS_SUPPORTS_64BIT_KERNEL
  279. select SYS_SUPPORTS_100HZ
  280. help
  281. This a family of machines based on the MIPS R4030 chipset which was
  282. used by several vendors to build RISC/os and Windows NT workstations.
  283. Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
  284. Olivetti M700-10 workstations.
  285. config MACH_INGENIC
  286. bool "Ingenic SoC based machines"
  287. select SYS_SUPPORTS_32BIT_KERNEL
  288. select SYS_SUPPORTS_LITTLE_ENDIAN
  289. select SYS_SUPPORTS_ZBOOT_UART16550
  290. select DMA_NONCOHERENT
  291. select IRQ_MIPS_CPU
  292. select ARCH_REQUIRE_GPIOLIB
  293. select COMMON_CLK
  294. select GENERIC_IRQ_CHIP
  295. select BUILTIN_DTB
  296. select USE_OF
  297. select LIBFDT
  298. config LANTIQ
  299. bool "Lantiq based platforms"
  300. select DMA_NONCOHERENT
  301. select IRQ_MIPS_CPU
  302. select CEVT_R4K
  303. select CSRC_R4K
  304. select SYS_HAS_CPU_MIPS32_R1
  305. select SYS_HAS_CPU_MIPS32_R2
  306. select SYS_SUPPORTS_BIG_ENDIAN
  307. select SYS_SUPPORTS_32BIT_KERNEL
  308. select SYS_SUPPORTS_MIPS16
  309. select SYS_SUPPORTS_MULTITHREADING
  310. select SYS_HAS_EARLY_PRINTK
  311. select ARCH_REQUIRE_GPIOLIB
  312. select SWAP_IO_SPACE
  313. select BOOT_RAW
  314. select HAVE_MACH_CLKDEV
  315. select CLKDEV_LOOKUP
  316. select USE_OF
  317. select PINCTRL
  318. select PINCTRL_LANTIQ
  319. select ARCH_HAS_RESET_CONTROLLER
  320. select RESET_CONTROLLER
  321. config LASAT
  322. bool "LASAT Networks platforms"
  323. select CEVT_R4K
  324. select CRC32
  325. select CSRC_R4K
  326. select DMA_NONCOHERENT
  327. select SYS_HAS_EARLY_PRINTK
  328. select HW_HAS_PCI
  329. select IRQ_MIPS_CPU
  330. select PCI_GT64XXX_PCI0
  331. select MIPS_NILE4
  332. select R5000_CPU_SCACHE
  333. select SYS_HAS_CPU_R5000
  334. select SYS_SUPPORTS_32BIT_KERNEL
  335. select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
  336. select SYS_SUPPORTS_LITTLE_ENDIAN
  337. config MACH_LOONGSON32
  338. bool "Loongson-1 family of machines"
  339. select SYS_SUPPORTS_ZBOOT
  340. help
  341. This enables support for the Loongson-1 family of machines.
  342. Loongson-1 is a family of 32-bit MIPS-compatible SoCs developed by
  343. the Institute of Computing Technology (ICT), Chinese Academy of
  344. Sciences (CAS).
  345. config MACH_LOONGSON64
  346. bool "Loongson-2/3 family of machines"
  347. select SYS_SUPPORTS_ZBOOT
  348. help
  349. This enables the support of Loongson-2/3 family of machines.
  350. Loongson-2 is a family of single-core CPUs and Loongson-3 is a
  351. family of multi-core CPUs. They are both 64-bit general-purpose
  352. MIPS-compatible CPUs. Loongson-2/3 are developed by the Institute
  353. of Computing Technology (ICT), Chinese Academy of Sciences (CAS)
  354. in the People's Republic of China. The chief architect is Professor
  355. Weiwu Hu.
  356. config MACH_PISTACHIO
  357. bool "IMG Pistachio SoC based boards"
  358. select ARCH_REQUIRE_GPIOLIB
  359. select BOOT_ELF32
  360. select BOOT_RAW
  361. select CEVT_R4K
  362. select CLKSRC_MIPS_GIC
  363. select COMMON_CLK
  364. select CSRC_R4K
  365. select DMA_MAYBE_COHERENT
  366. select IRQ_MIPS_CPU
  367. select LIBFDT
  368. select MFD_SYSCON
  369. select MIPS_CPU_SCACHE
  370. select MIPS_GIC
  371. select PINCTRL
  372. select REGULATOR
  373. select SYS_HAS_CPU_MIPS32_R2
  374. select SYS_SUPPORTS_32BIT_KERNEL
  375. select SYS_SUPPORTS_LITTLE_ENDIAN
  376. select SYS_SUPPORTS_MIPS_CPS
  377. select SYS_SUPPORTS_MULTITHREADING
  378. select SYS_SUPPORTS_ZBOOT
  379. select SYS_HAS_EARLY_PRINTK
  380. select USE_GENERIC_EARLY_PRINTK_8250
  381. select USE_OF
  382. help
  383. This enables support for the IMG Pistachio SoC platform.
  384. config MACH_XILFPGA
  385. bool "MIPSfpga Xilinx based boards"
  386. select ARCH_REQUIRE_GPIOLIB
  387. select BOOT_ELF32
  388. select BOOT_RAW
  389. select BUILTIN_DTB
  390. select CEVT_R4K
  391. select COMMON_CLK
  392. select CSRC_R4K
  393. select IRQ_MIPS_CPU
  394. select LIBFDT
  395. select MIPS_CPU_SCACHE
  396. select SYS_HAS_EARLY_PRINTK
  397. select SYS_HAS_CPU_MIPS32_R2
  398. select SYS_SUPPORTS_32BIT_KERNEL
  399. select SYS_SUPPORTS_LITTLE_ENDIAN
  400. select SYS_SUPPORTS_ZBOOT_UART16550
  401. select USE_OF
  402. select USE_GENERIC_EARLY_PRINTK_8250
  403. help
  404. This enables support for the IMG University Program MIPSfpga platform.
  405. config MIPS_MALTA
  406. bool "MIPS Malta board"
  407. select ARCH_MAY_HAVE_PC_FDC
  408. select BOOT_ELF32
  409. select BOOT_RAW
  410. select BUILTIN_DTB
  411. select CEVT_R4K
  412. select CSRC_R4K
  413. select CLKSRC_MIPS_GIC
  414. select COMMON_CLK
  415. select DMA_MAYBE_COHERENT
  416. select GENERIC_ISA_DMA
  417. select HAVE_PCSPKR_PLATFORM
  418. select IRQ_MIPS_CPU
  419. select MIPS_GIC
  420. select HW_HAS_PCI
  421. select I8253
  422. select I8259
  423. select MIPS_BONITO64
  424. select MIPS_CPU_SCACHE
  425. select MIPS_L1_CACHE_SHIFT_6
  426. select PCI_GT64XXX_PCI0
  427. select MIPS_MSC
  428. select SMP_UP if SMP
  429. select SWAP_IO_SPACE
  430. select SYS_HAS_CPU_MIPS32_R1
  431. select SYS_HAS_CPU_MIPS32_R2
  432. select SYS_HAS_CPU_MIPS32_R3_5
  433. select SYS_HAS_CPU_MIPS32_R5
  434. select SYS_HAS_CPU_MIPS32_R6
  435. select SYS_HAS_CPU_MIPS64_R1
  436. select SYS_HAS_CPU_MIPS64_R2
  437. select SYS_HAS_CPU_MIPS64_R6
  438. select SYS_HAS_CPU_NEVADA
  439. select SYS_HAS_CPU_RM7000
  440. select SYS_SUPPORTS_32BIT_KERNEL
  441. select SYS_SUPPORTS_64BIT_KERNEL
  442. select SYS_SUPPORTS_BIG_ENDIAN
  443. select SYS_SUPPORTS_HIGHMEM
  444. select SYS_SUPPORTS_LITTLE_ENDIAN
  445. select SYS_SUPPORTS_MICROMIPS
  446. select SYS_SUPPORTS_MIPS_CMP
  447. select SYS_SUPPORTS_MIPS_CPS
  448. select SYS_SUPPORTS_MIPS16
  449. select SYS_SUPPORTS_MULTITHREADING
  450. select SYS_SUPPORTS_SMARTMIPS
  451. select SYS_SUPPORTS_ZBOOT
  452. select USE_OF
  453. select ZONE_DMA32 if 64BIT
  454. select BUILTIN_DTB
  455. select LIBFDT
  456. help
  457. This enables support for the MIPS Technologies Malta evaluation
  458. board.
  459. config MACH_PIC32
  460. bool "Microchip PIC32 Family"
  461. help
  462. This enables support for the Microchip PIC32 family of platforms.
  463. Microchip PIC32 is a family of general-purpose 32 bit MIPS core
  464. microcontrollers.
  465. config MIPS_SEAD3
  466. bool "MIPS SEAD3 board"
  467. select BOOT_ELF32
  468. select BOOT_RAW
  469. select BUILTIN_DTB
  470. select CEVT_R4K
  471. select CSRC_R4K
  472. select CLKSRC_MIPS_GIC
  473. select COMMON_CLK
  474. select CPU_MIPSR2_IRQ_VI
  475. select CPU_MIPSR2_IRQ_EI
  476. select DMA_NONCOHERENT
  477. select IRQ_MIPS_CPU
  478. select MIPS_GIC
  479. select LIBFDT
  480. select MIPS_MSC
  481. select SYS_HAS_CPU_MIPS32_R1
  482. select SYS_HAS_CPU_MIPS32_R2
  483. select SYS_HAS_CPU_MIPS64_R1
  484. select SYS_HAS_EARLY_PRINTK
  485. select SYS_SUPPORTS_32BIT_KERNEL
  486. select SYS_SUPPORTS_64BIT_KERNEL
  487. select SYS_SUPPORTS_BIG_ENDIAN
  488. select SYS_SUPPORTS_LITTLE_ENDIAN
  489. select SYS_SUPPORTS_SMARTMIPS
  490. select SYS_SUPPORTS_MICROMIPS
  491. select SYS_SUPPORTS_MIPS16
  492. select USB_EHCI_BIG_ENDIAN_DESC
  493. select USB_EHCI_BIG_ENDIAN_MMIO
  494. select USE_OF
  495. help
  496. This enables support for the MIPS Technologies SEAD3 evaluation
  497. board.
  498. config NEC_MARKEINS
  499. bool "NEC EMMA2RH Mark-eins board"
  500. select SOC_EMMA2RH
  501. select HW_HAS_PCI
  502. help
  503. This enables support for the NEC Electronics Mark-eins boards.
  504. config MACH_VR41XX
  505. bool "NEC VR4100 series based machines"
  506. select CEVT_R4K
  507. select CSRC_R4K
  508. select SYS_HAS_CPU_VR41XX
  509. select SYS_SUPPORTS_MIPS16
  510. select ARCH_REQUIRE_GPIOLIB
  511. config NXP_STB220
  512. bool "NXP STB220 board"
  513. select SOC_PNX833X
  514. help
  515. Support for NXP Semiconductors STB220 Development Board.
  516. config NXP_STB225
  517. bool "NXP 225 board"
  518. select SOC_PNX833X
  519. select SOC_PNX8335
  520. help
  521. Support for NXP Semiconductors STB225 Development Board.
  522. config PMC_MSP
  523. bool "PMC-Sierra MSP chipsets"
  524. select CEVT_R4K
  525. select CSRC_R4K
  526. select DMA_NONCOHERENT
  527. select SWAP_IO_SPACE
  528. select NO_EXCEPT_FILL
  529. select BOOT_RAW
  530. select SYS_HAS_CPU_MIPS32_R1
  531. select SYS_HAS_CPU_MIPS32_R2
  532. select SYS_SUPPORTS_32BIT_KERNEL
  533. select SYS_SUPPORTS_BIG_ENDIAN
  534. select SYS_SUPPORTS_MIPS16
  535. select IRQ_MIPS_CPU
  536. select SERIAL_8250
  537. select SERIAL_8250_CONSOLE
  538. select USB_EHCI_BIG_ENDIAN_MMIO
  539. select USB_EHCI_BIG_ENDIAN_DESC
  540. help
  541. This adds support for the PMC-Sierra family of Multi-Service
  542. Processor System-On-A-Chips. These parts include a number
  543. of integrated peripherals, interfaces and DSPs in addition to
  544. a variety of MIPS cores.
  545. config RALINK
  546. bool "Ralink based machines"
  547. select CEVT_R4K
  548. select CSRC_R4K
  549. select BOOT_RAW
  550. select DMA_NONCOHERENT
  551. select IRQ_MIPS_CPU
  552. select USE_OF
  553. select SYS_HAS_CPU_MIPS32_R1
  554. select SYS_HAS_CPU_MIPS32_R2
  555. select SYS_SUPPORTS_32BIT_KERNEL
  556. select SYS_SUPPORTS_LITTLE_ENDIAN
  557. select SYS_SUPPORTS_MIPS16
  558. select SYS_HAS_EARLY_PRINTK
  559. select HAVE_MACH_CLKDEV
  560. select CLKDEV_LOOKUP
  561. select ARCH_HAS_RESET_CONTROLLER
  562. select RESET_CONTROLLER
  563. config SGI_IP22
  564. bool "SGI IP22 (Indy/Indigo2)"
  565. select FW_ARC
  566. select FW_ARC32
  567. select BOOT_ELF32
  568. select CEVT_R4K
  569. select CSRC_R4K
  570. select DEFAULT_SGI_PARTITION
  571. select DMA_NONCOHERENT
  572. select HW_HAS_EISA
  573. select I8253
  574. select I8259
  575. select IP22_CPU_SCACHE
  576. select IRQ_MIPS_CPU
  577. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  578. select SGI_HAS_I8042
  579. select SGI_HAS_INDYDOG
  580. select SGI_HAS_HAL2
  581. select SGI_HAS_SEEQ
  582. select SGI_HAS_WD93
  583. select SGI_HAS_ZILOG
  584. select SWAP_IO_SPACE
  585. select SYS_HAS_CPU_R4X00
  586. select SYS_HAS_CPU_R5000
  587. #
  588. # Disable EARLY_PRINTK for now since it leads to overwritten prom
  589. # memory during early boot on some machines.
  590. #
  591. # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  592. # for a more details discussion
  593. #
  594. # select SYS_HAS_EARLY_PRINTK
  595. select SYS_SUPPORTS_32BIT_KERNEL
  596. select SYS_SUPPORTS_64BIT_KERNEL
  597. select SYS_SUPPORTS_BIG_ENDIAN
  598. select MIPS_L1_CACHE_SHIFT_7
  599. help
  600. This are the SGI Indy, Challenge S and Indigo2, as well as certain
  601. OEM variants like the Tandem CMN B006S. To compile a Linux kernel
  602. that runs on these, say Y here.
  603. config SGI_IP27
  604. bool "SGI IP27 (Origin200/2000)"
  605. select FW_ARC
  606. select FW_ARC64
  607. select BOOT_ELF64
  608. select DEFAULT_SGI_PARTITION
  609. select DMA_COHERENT
  610. select SYS_HAS_EARLY_PRINTK
  611. select HW_HAS_PCI
  612. select NR_CPUS_DEFAULT_64
  613. select SYS_HAS_CPU_R10000
  614. select SYS_SUPPORTS_64BIT_KERNEL
  615. select SYS_SUPPORTS_BIG_ENDIAN
  616. select SYS_SUPPORTS_NUMA
  617. select SYS_SUPPORTS_SMP
  618. select MIPS_L1_CACHE_SHIFT_7
  619. help
  620. This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
  621. workstations. To compile a Linux kernel that runs on these, say Y
  622. here.
  623. config SGI_IP28
  624. bool "SGI IP28 (Indigo2 R10k)"
  625. select FW_ARC
  626. select FW_ARC64
  627. select BOOT_ELF64
  628. select CEVT_R4K
  629. select CSRC_R4K
  630. select DEFAULT_SGI_PARTITION
  631. select DMA_NONCOHERENT
  632. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  633. select IRQ_MIPS_CPU
  634. select HW_HAS_EISA
  635. select I8253
  636. select I8259
  637. select SGI_HAS_I8042
  638. select SGI_HAS_INDYDOG
  639. select SGI_HAS_HAL2
  640. select SGI_HAS_SEEQ
  641. select SGI_HAS_WD93
  642. select SGI_HAS_ZILOG
  643. select SWAP_IO_SPACE
  644. select SYS_HAS_CPU_R10000
  645. #
  646. # Disable EARLY_PRINTK for now since it leads to overwritten prom
  647. # memory during early boot on some machines.
  648. #
  649. # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  650. # for a more details discussion
  651. #
  652. # select SYS_HAS_EARLY_PRINTK
  653. select SYS_SUPPORTS_64BIT_KERNEL
  654. select SYS_SUPPORTS_BIG_ENDIAN
  655. select MIPS_L1_CACHE_SHIFT_7
  656. help
  657. This is the SGI Indigo2 with R10000 processor. To compile a Linux
  658. kernel that runs on these, say Y here.
  659. config SGI_IP32
  660. bool "SGI IP32 (O2)"
  661. select FW_ARC
  662. select FW_ARC32
  663. select BOOT_ELF32
  664. select CEVT_R4K
  665. select CSRC_R4K
  666. select DMA_NONCOHERENT
  667. select HW_HAS_PCI
  668. select IRQ_MIPS_CPU
  669. select R5000_CPU_SCACHE
  670. select RM7000_CPU_SCACHE
  671. select SYS_HAS_CPU_R5000
  672. select SYS_HAS_CPU_R10000 if BROKEN
  673. select SYS_HAS_CPU_RM7000
  674. select SYS_HAS_CPU_NEVADA
  675. select SYS_SUPPORTS_64BIT_KERNEL
  676. select SYS_SUPPORTS_BIG_ENDIAN
  677. help
  678. If you want this kernel to run on SGI O2 workstation, say Y here.
  679. config SIBYTE_CRHINE
  680. bool "Sibyte BCM91120C-CRhine"
  681. select BOOT_ELF32
  682. select DMA_COHERENT
  683. select SIBYTE_BCM1120
  684. select SWAP_IO_SPACE
  685. select SYS_HAS_CPU_SB1
  686. select SYS_SUPPORTS_BIG_ENDIAN
  687. select SYS_SUPPORTS_LITTLE_ENDIAN
  688. config SIBYTE_CARMEL
  689. bool "Sibyte BCM91120x-Carmel"
  690. select BOOT_ELF32
  691. select DMA_COHERENT
  692. select SIBYTE_BCM1120
  693. select SWAP_IO_SPACE
  694. select SYS_HAS_CPU_SB1
  695. select SYS_SUPPORTS_BIG_ENDIAN
  696. select SYS_SUPPORTS_LITTLE_ENDIAN
  697. config SIBYTE_CRHONE
  698. bool "Sibyte BCM91125C-CRhone"
  699. select BOOT_ELF32
  700. select DMA_COHERENT
  701. select SIBYTE_BCM1125
  702. select SWAP_IO_SPACE
  703. select SYS_HAS_CPU_SB1
  704. select SYS_SUPPORTS_BIG_ENDIAN
  705. select SYS_SUPPORTS_HIGHMEM
  706. select SYS_SUPPORTS_LITTLE_ENDIAN
  707. config SIBYTE_RHONE
  708. bool "Sibyte BCM91125E-Rhone"
  709. select BOOT_ELF32
  710. select DMA_COHERENT
  711. select SIBYTE_BCM1125H
  712. select SWAP_IO_SPACE
  713. select SYS_HAS_CPU_SB1
  714. select SYS_SUPPORTS_BIG_ENDIAN
  715. select SYS_SUPPORTS_LITTLE_ENDIAN
  716. config SIBYTE_SWARM
  717. bool "Sibyte BCM91250A-SWARM"
  718. select BOOT_ELF32
  719. select DMA_COHERENT
  720. select HAVE_PATA_PLATFORM
  721. select SIBYTE_SB1250
  722. select SWAP_IO_SPACE
  723. select SYS_HAS_CPU_SB1
  724. select SYS_SUPPORTS_BIG_ENDIAN
  725. select SYS_SUPPORTS_HIGHMEM
  726. select SYS_SUPPORTS_LITTLE_ENDIAN
  727. select ZONE_DMA32 if 64BIT
  728. config SIBYTE_LITTLESUR
  729. bool "Sibyte BCM91250C2-LittleSur"
  730. select BOOT_ELF32
  731. select DMA_COHERENT
  732. select HAVE_PATA_PLATFORM
  733. select SIBYTE_SB1250
  734. select SWAP_IO_SPACE
  735. select SYS_HAS_CPU_SB1
  736. select SYS_SUPPORTS_BIG_ENDIAN
  737. select SYS_SUPPORTS_HIGHMEM
  738. select SYS_SUPPORTS_LITTLE_ENDIAN
  739. config SIBYTE_SENTOSA
  740. bool "Sibyte BCM91250E-Sentosa"
  741. select BOOT_ELF32
  742. select DMA_COHERENT
  743. select SIBYTE_SB1250
  744. select SWAP_IO_SPACE
  745. select SYS_HAS_CPU_SB1
  746. select SYS_SUPPORTS_BIG_ENDIAN
  747. select SYS_SUPPORTS_LITTLE_ENDIAN
  748. config SIBYTE_BIGSUR
  749. bool "Sibyte BCM91480B-BigSur"
  750. select BOOT_ELF32
  751. select DMA_COHERENT
  752. select NR_CPUS_DEFAULT_4
  753. select SIBYTE_BCM1x80
  754. select SWAP_IO_SPACE
  755. select SYS_HAS_CPU_SB1
  756. select SYS_SUPPORTS_BIG_ENDIAN
  757. select SYS_SUPPORTS_HIGHMEM
  758. select SYS_SUPPORTS_LITTLE_ENDIAN
  759. select ZONE_DMA32 if 64BIT
  760. config SNI_RM
  761. bool "SNI RM200/300/400"
  762. select FW_ARC if CPU_LITTLE_ENDIAN
  763. select FW_ARC32 if CPU_LITTLE_ENDIAN
  764. select FW_SNIPROM if CPU_BIG_ENDIAN
  765. select ARCH_MAY_HAVE_PC_FDC
  766. select BOOT_ELF32
  767. select CEVT_R4K
  768. select CSRC_R4K
  769. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  770. select DMA_NONCOHERENT
  771. select GENERIC_ISA_DMA
  772. select HAVE_PCSPKR_PLATFORM
  773. select HW_HAS_EISA
  774. select HW_HAS_PCI
  775. select IRQ_MIPS_CPU
  776. select I8253
  777. select I8259
  778. select ISA
  779. select SWAP_IO_SPACE if CPU_BIG_ENDIAN
  780. select SYS_HAS_CPU_R4X00
  781. select SYS_HAS_CPU_R5000
  782. select SYS_HAS_CPU_R10000
  783. select R5000_CPU_SCACHE
  784. select SYS_HAS_EARLY_PRINTK
  785. select SYS_SUPPORTS_32BIT_KERNEL
  786. select SYS_SUPPORTS_64BIT_KERNEL
  787. select SYS_SUPPORTS_BIG_ENDIAN
  788. select SYS_SUPPORTS_HIGHMEM
  789. select SYS_SUPPORTS_LITTLE_ENDIAN
  790. help
  791. The SNI RM200/300/400 are MIPS-based machines manufactured by
  792. Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
  793. Technology and now in turn merged with Fujitsu. Say Y here to
  794. support this machine type.
  795. config MACH_TX39XX
  796. bool "Toshiba TX39 series based machines"
  797. config MACH_TX49XX
  798. bool "Toshiba TX49 series based machines"
  799. config MIKROTIK_RB532
  800. bool "Mikrotik RB532 boards"
  801. select CEVT_R4K
  802. select CSRC_R4K
  803. select DMA_NONCOHERENT
  804. select HW_HAS_PCI
  805. select IRQ_MIPS_CPU
  806. select SYS_HAS_CPU_MIPS32_R1
  807. select SYS_SUPPORTS_32BIT_KERNEL
  808. select SYS_SUPPORTS_LITTLE_ENDIAN
  809. select SWAP_IO_SPACE
  810. select BOOT_RAW
  811. select ARCH_REQUIRE_GPIOLIB
  812. select MIPS_L1_CACHE_SHIFT_4
  813. help
  814. Support the Mikrotik(tm) RouterBoard 532 series,
  815. based on the IDT RC32434 SoC.
  816. config CAVIUM_OCTEON_SOC
  817. bool "Cavium Networks Octeon SoC based boards"
  818. select CEVT_R4K
  819. select ARCH_PHYS_ADDR_T_64BIT
  820. select DMA_COHERENT
  821. select SYS_SUPPORTS_64BIT_KERNEL
  822. select SYS_SUPPORTS_BIG_ENDIAN
  823. select EDAC_SUPPORT
  824. select EDAC_ATOMIC_SCRUB
  825. select SYS_SUPPORTS_LITTLE_ENDIAN
  826. select SYS_SUPPORTS_HOTPLUG_CPU if CPU_BIG_ENDIAN
  827. select SYS_HAS_EARLY_PRINTK
  828. select SYS_HAS_CPU_CAVIUM_OCTEON
  829. select SWAP_IO_SPACE
  830. select HW_HAS_PCI
  831. select ZONE_DMA32
  832. select HOLES_IN_ZONE
  833. select ARCH_REQUIRE_GPIOLIB
  834. select LIBFDT
  835. select USE_OF
  836. select ARCH_SPARSEMEM_ENABLE
  837. select SYS_SUPPORTS_SMP
  838. select NR_CPUS_DEFAULT_16
  839. select BUILTIN_DTB
  840. select MTD_COMPLEX_MAPPINGS
  841. help
  842. This option supports all of the Octeon reference boards from Cavium
  843. Networks. It builds a kernel that dynamically determines the Octeon
  844. CPU type and supports all known board reference implementations.
  845. Some of the supported boards are:
  846. EBT3000
  847. EBH3000
  848. EBH3100
  849. Thunder
  850. Kodama
  851. Hikari
  852. Say Y here for most Octeon reference boards.
  853. config NLM_XLR_BOARD
  854. bool "Netlogic XLR/XLS based systems"
  855. select BOOT_ELF32
  856. select NLM_COMMON
  857. select SYS_HAS_CPU_XLR
  858. select SYS_SUPPORTS_SMP
  859. select HW_HAS_PCI
  860. select SWAP_IO_SPACE
  861. select SYS_SUPPORTS_32BIT_KERNEL
  862. select SYS_SUPPORTS_64BIT_KERNEL
  863. select ARCH_PHYS_ADDR_T_64BIT
  864. select SYS_SUPPORTS_BIG_ENDIAN
  865. select SYS_SUPPORTS_HIGHMEM
  866. select DMA_COHERENT
  867. select NR_CPUS_DEFAULT_32
  868. select CEVT_R4K
  869. select CSRC_R4K
  870. select IRQ_MIPS_CPU
  871. select ZONE_DMA32 if 64BIT
  872. select SYNC_R4K
  873. select SYS_HAS_EARLY_PRINTK
  874. select SYS_SUPPORTS_ZBOOT
  875. select SYS_SUPPORTS_ZBOOT_UART16550
  876. help
  877. Support for systems based on Netlogic XLR and XLS processors.
  878. Say Y here if you have a XLR or XLS based board.
  879. config NLM_XLP_BOARD
  880. bool "Netlogic XLP based systems"
  881. select BOOT_ELF32
  882. select NLM_COMMON
  883. select SYS_HAS_CPU_XLP
  884. select SYS_SUPPORTS_SMP
  885. select HW_HAS_PCI
  886. select SYS_SUPPORTS_32BIT_KERNEL
  887. select SYS_SUPPORTS_64BIT_KERNEL
  888. select ARCH_PHYS_ADDR_T_64BIT
  889. select ARCH_REQUIRE_GPIOLIB
  890. select SYS_SUPPORTS_BIG_ENDIAN
  891. select SYS_SUPPORTS_LITTLE_ENDIAN
  892. select SYS_SUPPORTS_HIGHMEM
  893. select DMA_COHERENT
  894. select NR_CPUS_DEFAULT_32
  895. select CEVT_R4K
  896. select CSRC_R4K
  897. select IRQ_MIPS_CPU
  898. select ZONE_DMA32 if 64BIT
  899. select SYNC_R4K
  900. select SYS_HAS_EARLY_PRINTK
  901. select USE_OF
  902. select SYS_SUPPORTS_ZBOOT
  903. select SYS_SUPPORTS_ZBOOT_UART16550
  904. help
  905. This board is based on Netlogic XLP Processor.
  906. Say Y here if you have a XLP based board.
  907. config MIPS_PARAVIRT
  908. bool "Para-Virtualized guest system"
  909. select CEVT_R4K
  910. select CSRC_R4K
  911. select DMA_COHERENT
  912. select SYS_SUPPORTS_64BIT_KERNEL
  913. select SYS_SUPPORTS_32BIT_KERNEL
  914. select SYS_SUPPORTS_BIG_ENDIAN
  915. select SYS_SUPPORTS_SMP
  916. select NR_CPUS_DEFAULT_4
  917. select SYS_HAS_EARLY_PRINTK
  918. select SYS_HAS_CPU_MIPS32_R2
  919. select SYS_HAS_CPU_MIPS64_R2
  920. select SYS_HAS_CPU_CAVIUM_OCTEON
  921. select HW_HAS_PCI
  922. select SWAP_IO_SPACE
  923. help
  924. This option supports guest running under ????
  925. endchoice
  926. source "arch/mips/alchemy/Kconfig"
  927. source "arch/mips/ath25/Kconfig"
  928. source "arch/mips/ath79/Kconfig"
  929. source "arch/mips/bcm47xx/Kconfig"
  930. source "arch/mips/bcm63xx/Kconfig"
  931. source "arch/mips/bmips/Kconfig"
  932. source "arch/mips/jazz/Kconfig"
  933. source "arch/mips/jz4740/Kconfig"
  934. source "arch/mips/lantiq/Kconfig"
  935. source "arch/mips/lasat/Kconfig"
  936. source "arch/mips/pic32/Kconfig"
  937. source "arch/mips/pistachio/Kconfig"
  938. source "arch/mips/pmcs-msp71xx/Kconfig"
  939. source "arch/mips/ralink/Kconfig"
  940. source "arch/mips/sgi-ip27/Kconfig"
  941. source "arch/mips/sibyte/Kconfig"
  942. source "arch/mips/txx9/Kconfig"
  943. source "arch/mips/vr41xx/Kconfig"
  944. source "arch/mips/cavium-octeon/Kconfig"
  945. source "arch/mips/loongson32/Kconfig"
  946. source "arch/mips/loongson64/Kconfig"
  947. source "arch/mips/netlogic/Kconfig"
  948. source "arch/mips/paravirt/Kconfig"
  949. source "arch/mips/xilfpga/Kconfig"
  950. endmenu
  951. config RWSEM_GENERIC_SPINLOCK
  952. bool
  953. default y
  954. config RWSEM_XCHGADD_ALGORITHM
  955. bool
  956. config ARCH_HAS_ILOG2_U32
  957. bool
  958. default n
  959. config ARCH_HAS_ILOG2_U64
  960. bool
  961. default n
  962. config GENERIC_HWEIGHT
  963. bool
  964. default y
  965. config GENERIC_CALIBRATE_DELAY
  966. bool
  967. default y
  968. config SCHED_OMIT_FRAME_POINTER
  969. bool
  970. default y
  971. #
  972. # Select some configuration options automatically based on user selections.
  973. #
  974. config FW_ARC
  975. bool
  976. config ARCH_MAY_HAVE_PC_FDC
  977. bool
  978. config BOOT_RAW
  979. bool
  980. config CEVT_BCM1480
  981. bool
  982. config CEVT_DS1287
  983. bool
  984. config CEVT_GT641XX
  985. bool
  986. config CEVT_R4K
  987. bool
  988. config CEVT_SB1250
  989. bool
  990. config CEVT_TXX9
  991. bool
  992. config CSRC_BCM1480
  993. bool
  994. config CSRC_IOASIC
  995. bool
  996. config CSRC_R4K
  997. bool
  998. config CSRC_SB1250
  999. bool
  1000. config MIPS_CLOCK_VSYSCALL
  1001. def_bool CSRC_R4K || CLKSRC_MIPS_GIC
  1002. config GPIO_TXX9
  1003. select ARCH_REQUIRE_GPIOLIB
  1004. bool
  1005. config FW_CFE
  1006. bool
  1007. config ARCH_DMA_ADDR_T_64BIT
  1008. def_bool (HIGHMEM && ARCH_PHYS_ADDR_T_64BIT) || 64BIT
  1009. config ARCH_SUPPORTS_UPROBES
  1010. bool
  1011. config DMA_MAYBE_COHERENT
  1012. select DMA_NONCOHERENT
  1013. bool
  1014. config DMA_COHERENT
  1015. bool
  1016. config DMA_NONCOHERENT
  1017. bool
  1018. select NEED_DMA_MAP_STATE
  1019. config NEED_DMA_MAP_STATE
  1020. bool
  1021. config SYS_HAS_EARLY_PRINTK
  1022. bool
  1023. config HOTPLUG_CPU
  1024. bool "Support for hot-pluggable CPUs"
  1025. depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU
  1026. help
  1027. Say Y here to allow turning CPUs off and on. CPUs can be
  1028. controlled through /sys/devices/system/cpu.
  1029. (Note: power management support will enable this option
  1030. automatically on SMP systems. )
  1031. Say N if you want to disable CPU hotplug.
  1032. config SYS_SUPPORTS_HOTPLUG_CPU
  1033. bool
  1034. config MIPS_BONITO64
  1035. bool
  1036. config MIPS_MSC
  1037. bool
  1038. config MIPS_NILE4
  1039. bool
  1040. config SYNC_R4K
  1041. bool
  1042. config MIPS_MACHINE
  1043. def_bool n
  1044. config NO_IOPORT_MAP
  1045. def_bool n
  1046. config GENERIC_CSUM
  1047. bool
  1048. config GENERIC_ISA_DMA
  1049. bool
  1050. select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
  1051. select ISA_DMA_API
  1052. config GENERIC_ISA_DMA_SUPPORT_BROKEN
  1053. bool
  1054. select GENERIC_ISA_DMA
  1055. config ISA_DMA_API
  1056. bool
  1057. config HOLES_IN_ZONE
  1058. bool
  1059. #
  1060. # Endianness selection. Sufficiently obscure so many users don't know what to
  1061. # answer,so we try hard to limit the available choices. Also the use of a
  1062. # choice statement should be more obvious to the user.
  1063. #
  1064. choice
  1065. prompt "Endianness selection"
  1066. help
  1067. Some MIPS machines can be configured for either little or big endian
  1068. byte order. These modes require different kernels and a different
  1069. Linux distribution. In general there is one preferred byteorder for a
  1070. particular system but some systems are just as commonly used in the
  1071. one or the other endianness.
  1072. config CPU_BIG_ENDIAN
  1073. bool "Big endian"
  1074. depends on SYS_SUPPORTS_BIG_ENDIAN
  1075. config CPU_LITTLE_ENDIAN
  1076. bool "Little endian"
  1077. depends on SYS_SUPPORTS_LITTLE_ENDIAN
  1078. endchoice
  1079. config EXPORT_UASM
  1080. bool
  1081. config SYS_SUPPORTS_APM_EMULATION
  1082. bool
  1083. config SYS_SUPPORTS_BIG_ENDIAN
  1084. bool
  1085. config SYS_SUPPORTS_LITTLE_ENDIAN
  1086. bool
  1087. config SYS_SUPPORTS_HUGETLBFS
  1088. bool
  1089. depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
  1090. default y
  1091. config MIPS_HUGE_TLB_SUPPORT
  1092. def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
  1093. config IRQ_CPU_RM7K
  1094. bool
  1095. config IRQ_MSP_SLP
  1096. bool
  1097. config IRQ_MSP_CIC
  1098. bool
  1099. config IRQ_TXX9
  1100. bool
  1101. config IRQ_GT641XX
  1102. bool
  1103. config PCI_GT64XXX_PCI0
  1104. bool
  1105. config NO_EXCEPT_FILL
  1106. bool
  1107. config SOC_EMMA2RH
  1108. bool
  1109. select CEVT_R4K
  1110. select CSRC_R4K
  1111. select DMA_NONCOHERENT
  1112. select IRQ_MIPS_CPU
  1113. select SWAP_IO_SPACE
  1114. select SYS_HAS_CPU_R5500
  1115. select SYS_SUPPORTS_32BIT_KERNEL
  1116. select SYS_SUPPORTS_64BIT_KERNEL
  1117. select SYS_SUPPORTS_BIG_ENDIAN
  1118. config SOC_PNX833X
  1119. bool
  1120. select CEVT_R4K
  1121. select CSRC_R4K
  1122. select IRQ_MIPS_CPU
  1123. select DMA_NONCOHERENT
  1124. select SYS_HAS_CPU_MIPS32_R2
  1125. select SYS_SUPPORTS_32BIT_KERNEL
  1126. select SYS_SUPPORTS_LITTLE_ENDIAN
  1127. select SYS_SUPPORTS_BIG_ENDIAN
  1128. select SYS_SUPPORTS_MIPS16
  1129. select CPU_MIPSR2_IRQ_VI
  1130. config SOC_PNX8335
  1131. bool
  1132. select SOC_PNX833X
  1133. config MIPS_SPRAM
  1134. bool
  1135. config SWAP_IO_SPACE
  1136. bool
  1137. config SGI_HAS_INDYDOG
  1138. bool
  1139. config SGI_HAS_HAL2
  1140. bool
  1141. config SGI_HAS_SEEQ
  1142. bool
  1143. config SGI_HAS_WD93
  1144. bool
  1145. config SGI_HAS_ZILOG
  1146. bool
  1147. config SGI_HAS_I8042
  1148. bool
  1149. config DEFAULT_SGI_PARTITION
  1150. bool
  1151. config FW_ARC32
  1152. bool
  1153. config FW_SNIPROM
  1154. bool
  1155. config BOOT_ELF32
  1156. bool
  1157. config MIPS_L1_CACHE_SHIFT_4
  1158. bool
  1159. config MIPS_L1_CACHE_SHIFT_5
  1160. bool
  1161. config MIPS_L1_CACHE_SHIFT_6
  1162. bool
  1163. config MIPS_L1_CACHE_SHIFT_7
  1164. bool
  1165. config MIPS_L1_CACHE_SHIFT
  1166. int
  1167. default "7" if MIPS_L1_CACHE_SHIFT_7
  1168. default "6" if MIPS_L1_CACHE_SHIFT_6
  1169. default "5" if MIPS_L1_CACHE_SHIFT_5
  1170. default "4" if MIPS_L1_CACHE_SHIFT_4
  1171. default "5"
  1172. config HAVE_STD_PC_SERIAL_PORT
  1173. bool
  1174. config ARC_CONSOLE
  1175. bool "ARC console support"
  1176. depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
  1177. config ARC_MEMORY
  1178. bool
  1179. depends on MACH_JAZZ || SNI_RM || SGI_IP32
  1180. default y
  1181. config ARC_PROMLIB
  1182. bool
  1183. depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
  1184. default y
  1185. config FW_ARC64
  1186. bool
  1187. config BOOT_ELF64
  1188. bool
  1189. menu "CPU selection"
  1190. choice
  1191. prompt "CPU type"
  1192. default CPU_R4X00
  1193. config CPU_LOONGSON3
  1194. bool "Loongson 3 CPU"
  1195. depends on SYS_HAS_CPU_LOONGSON3
  1196. select CPU_SUPPORTS_64BIT_KERNEL
  1197. select CPU_SUPPORTS_HIGHMEM
  1198. select CPU_SUPPORTS_HUGEPAGES
  1199. select WEAK_ORDERING
  1200. select WEAK_REORDERING_BEYOND_LLSC
  1201. select ARCH_REQUIRE_GPIOLIB
  1202. help
  1203. The Loongson 3 processor implements the MIPS64R2 instruction
  1204. set with many extensions.
  1205. config CPU_LOONGSON2E
  1206. bool "Loongson 2E"
  1207. depends on SYS_HAS_CPU_LOONGSON2E
  1208. select CPU_LOONGSON2
  1209. help
  1210. The Loongson 2E processor implements the MIPS III instruction set
  1211. with many extensions.
  1212. It has an internal FPGA northbridge, which is compatible to
  1213. bonito64.
  1214. config CPU_LOONGSON2F
  1215. bool "Loongson 2F"
  1216. depends on SYS_HAS_CPU_LOONGSON2F
  1217. select CPU_LOONGSON2
  1218. select ARCH_REQUIRE_GPIOLIB
  1219. help
  1220. The Loongson 2F processor implements the MIPS III instruction set
  1221. with many extensions.
  1222. Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
  1223. have a similar programming interface with FPGA northbridge used in
  1224. Loongson2E.
  1225. config CPU_LOONGSON1B
  1226. bool "Loongson 1B"
  1227. depends on SYS_HAS_CPU_LOONGSON1B
  1228. select CPU_LOONGSON1
  1229. help
  1230. The Loongson 1B is a 32-bit SoC, which implements the MIPS32
  1231. release 2 instruction set.
  1232. config CPU_MIPS32_R1
  1233. bool "MIPS32 Release 1"
  1234. depends on SYS_HAS_CPU_MIPS32_R1
  1235. select CPU_HAS_PREFETCH
  1236. select CPU_SUPPORTS_32BIT_KERNEL
  1237. select CPU_SUPPORTS_HIGHMEM
  1238. help
  1239. Choose this option to build a kernel for release 1 or later of the
  1240. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1241. MIPS processor are based on a MIPS32 processor. If you know the
  1242. specific type of processor in your system, choose those that one
  1243. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1244. Release 2 of the MIPS32 architecture is available since several
  1245. years so chances are you even have a MIPS32 Release 2 processor
  1246. in which case you should choose CPU_MIPS32_R2 instead for better
  1247. performance.
  1248. config CPU_MIPS32_R2
  1249. bool "MIPS32 Release 2"
  1250. depends on SYS_HAS_CPU_MIPS32_R2
  1251. select CPU_HAS_PREFETCH
  1252. select CPU_SUPPORTS_32BIT_KERNEL
  1253. select CPU_SUPPORTS_HIGHMEM
  1254. select CPU_SUPPORTS_MSA
  1255. select HAVE_KVM
  1256. help
  1257. Choose this option to build a kernel for release 2 or later of the
  1258. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1259. MIPS processor are based on a MIPS32 processor. If you know the
  1260. specific type of processor in your system, choose those that one
  1261. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1262. config CPU_MIPS32_R6
  1263. bool "MIPS32 Release 6"
  1264. depends on SYS_HAS_CPU_MIPS32_R6
  1265. select CPU_HAS_PREFETCH
  1266. select CPU_SUPPORTS_32BIT_KERNEL
  1267. select CPU_SUPPORTS_HIGHMEM
  1268. select CPU_SUPPORTS_MSA
  1269. select GENERIC_CSUM
  1270. select HAVE_KVM
  1271. select MIPS_O32_FP64_SUPPORT
  1272. help
  1273. Choose this option to build a kernel for release 6 or later of the
  1274. MIPS32 architecture. New MIPS processors, starting with the Warrior
  1275. family, are based on a MIPS32r6 processor. If you own an older
  1276. processor, you probably need to select MIPS32r1 or MIPS32r2 instead.
  1277. config CPU_MIPS64_R1
  1278. bool "MIPS64 Release 1"
  1279. depends on SYS_HAS_CPU_MIPS64_R1
  1280. select CPU_HAS_PREFETCH
  1281. select CPU_SUPPORTS_32BIT_KERNEL
  1282. select CPU_SUPPORTS_64BIT_KERNEL
  1283. select CPU_SUPPORTS_HIGHMEM
  1284. select CPU_SUPPORTS_HUGEPAGES
  1285. help
  1286. Choose this option to build a kernel for release 1 or later of the
  1287. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1288. MIPS processor are based on a MIPS64 processor. If you know the
  1289. specific type of processor in your system, choose those that one
  1290. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1291. Release 2 of the MIPS64 architecture is available since several
  1292. years so chances are you even have a MIPS64 Release 2 processor
  1293. in which case you should choose CPU_MIPS64_R2 instead for better
  1294. performance.
  1295. config CPU_MIPS64_R2
  1296. bool "MIPS64 Release 2"
  1297. depends on SYS_HAS_CPU_MIPS64_R2
  1298. select CPU_HAS_PREFETCH
  1299. select CPU_SUPPORTS_32BIT_KERNEL
  1300. select CPU_SUPPORTS_64BIT_KERNEL
  1301. select CPU_SUPPORTS_HIGHMEM
  1302. select CPU_SUPPORTS_HUGEPAGES
  1303. select CPU_SUPPORTS_MSA
  1304. help
  1305. Choose this option to build a kernel for release 2 or later of the
  1306. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1307. MIPS processor are based on a MIPS64 processor. If you know the
  1308. specific type of processor in your system, choose those that one
  1309. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1310. config CPU_MIPS64_R6
  1311. bool "MIPS64 Release 6"
  1312. depends on SYS_HAS_CPU_MIPS64_R6
  1313. select CPU_HAS_PREFETCH
  1314. select CPU_SUPPORTS_32BIT_KERNEL
  1315. select CPU_SUPPORTS_64BIT_KERNEL
  1316. select CPU_SUPPORTS_HIGHMEM
  1317. select CPU_SUPPORTS_MSA
  1318. select GENERIC_CSUM
  1319. select MIPS_O32_FP64_SUPPORT if MIPS32_O32
  1320. help
  1321. Choose this option to build a kernel for release 6 or later of the
  1322. MIPS64 architecture. New MIPS processors, starting with the Warrior
  1323. family, are based on a MIPS64r6 processor. If you own an older
  1324. processor, you probably need to select MIPS64r1 or MIPS64r2 instead.
  1325. config CPU_R3000
  1326. bool "R3000"
  1327. depends on SYS_HAS_CPU_R3000
  1328. select CPU_HAS_WB
  1329. select CPU_SUPPORTS_32BIT_KERNEL
  1330. select CPU_SUPPORTS_HIGHMEM
  1331. help
  1332. Please make sure to pick the right CPU type. Linux/MIPS is not
  1333. designed to be generic, i.e. Kernels compiled for R3000 CPUs will
  1334. *not* work on R4000 machines and vice versa. However, since most
  1335. of the supported machines have an R4000 (or similar) CPU, R4x00
  1336. might be a safe bet. If the resulting kernel does not work,
  1337. try to recompile with R3000.
  1338. config CPU_TX39XX
  1339. bool "R39XX"
  1340. depends on SYS_HAS_CPU_TX39XX
  1341. select CPU_SUPPORTS_32BIT_KERNEL
  1342. config CPU_VR41XX
  1343. bool "R41xx"
  1344. depends on SYS_HAS_CPU_VR41XX
  1345. select CPU_SUPPORTS_32BIT_KERNEL
  1346. select CPU_SUPPORTS_64BIT_KERNEL
  1347. help
  1348. The options selects support for the NEC VR4100 series of processors.
  1349. Only choose this option if you have one of these processors as a
  1350. kernel built with this option will not run on any other type of
  1351. processor or vice versa.
  1352. config CPU_R4300
  1353. bool "R4300"
  1354. depends on SYS_HAS_CPU_R4300
  1355. select CPU_SUPPORTS_32BIT_KERNEL
  1356. select CPU_SUPPORTS_64BIT_KERNEL
  1357. help
  1358. MIPS Technologies R4300-series processors.
  1359. config CPU_R4X00
  1360. bool "R4x00"
  1361. depends on SYS_HAS_CPU_R4X00
  1362. select CPU_SUPPORTS_32BIT_KERNEL
  1363. select CPU_SUPPORTS_64BIT_KERNEL
  1364. select CPU_SUPPORTS_HUGEPAGES
  1365. help
  1366. MIPS Technologies R4000-series processors other than 4300, including
  1367. the R4000, R4400, R4600, and 4700.
  1368. config CPU_TX49XX
  1369. bool "R49XX"
  1370. depends on SYS_HAS_CPU_TX49XX
  1371. select CPU_HAS_PREFETCH
  1372. select CPU_SUPPORTS_32BIT_KERNEL
  1373. select CPU_SUPPORTS_64BIT_KERNEL
  1374. select CPU_SUPPORTS_HUGEPAGES
  1375. config CPU_R5000
  1376. bool "R5000"
  1377. depends on SYS_HAS_CPU_R5000
  1378. select CPU_SUPPORTS_32BIT_KERNEL
  1379. select CPU_SUPPORTS_64BIT_KERNEL
  1380. select CPU_SUPPORTS_HUGEPAGES
  1381. help
  1382. MIPS Technologies R5000-series processors other than the Nevada.
  1383. config CPU_R5432
  1384. bool "R5432"
  1385. depends on SYS_HAS_CPU_R5432
  1386. select CPU_SUPPORTS_32BIT_KERNEL
  1387. select CPU_SUPPORTS_64BIT_KERNEL
  1388. select CPU_SUPPORTS_HUGEPAGES
  1389. config CPU_R5500
  1390. bool "R5500"
  1391. depends on SYS_HAS_CPU_R5500
  1392. select CPU_SUPPORTS_32BIT_KERNEL
  1393. select CPU_SUPPORTS_64BIT_KERNEL
  1394. select CPU_SUPPORTS_HUGEPAGES
  1395. help
  1396. NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
  1397. instruction set.
  1398. config CPU_R6000
  1399. bool "R6000"
  1400. depends on SYS_HAS_CPU_R6000
  1401. select CPU_SUPPORTS_32BIT_KERNEL
  1402. help
  1403. MIPS Technologies R6000 and R6000A series processors. Note these
  1404. processors are extremely rare and the support for them is incomplete.
  1405. config CPU_NEVADA
  1406. bool "RM52xx"
  1407. depends on SYS_HAS_CPU_NEVADA
  1408. select CPU_SUPPORTS_32BIT_KERNEL
  1409. select CPU_SUPPORTS_64BIT_KERNEL
  1410. select CPU_SUPPORTS_HUGEPAGES
  1411. help
  1412. QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  1413. config CPU_R8000
  1414. bool "R8000"
  1415. depends on SYS_HAS_CPU_R8000
  1416. select CPU_HAS_PREFETCH
  1417. select CPU_SUPPORTS_64BIT_KERNEL
  1418. help
  1419. MIPS Technologies R8000 processors. Note these processors are
  1420. uncommon and the support for them is incomplete.
  1421. config CPU_R10000
  1422. bool "R10000"
  1423. depends on SYS_HAS_CPU_R10000
  1424. select CPU_HAS_PREFETCH
  1425. select CPU_SUPPORTS_32BIT_KERNEL
  1426. select CPU_SUPPORTS_64BIT_KERNEL
  1427. select CPU_SUPPORTS_HIGHMEM
  1428. select CPU_SUPPORTS_HUGEPAGES
  1429. help
  1430. MIPS Technologies R10000-series processors.
  1431. config CPU_RM7000
  1432. bool "RM7000"
  1433. depends on SYS_HAS_CPU_RM7000
  1434. select CPU_HAS_PREFETCH
  1435. select CPU_SUPPORTS_32BIT_KERNEL
  1436. select CPU_SUPPORTS_64BIT_KERNEL
  1437. select CPU_SUPPORTS_HIGHMEM
  1438. select CPU_SUPPORTS_HUGEPAGES
  1439. config CPU_SB1
  1440. bool "SB1"
  1441. depends on SYS_HAS_CPU_SB1
  1442. select CPU_SUPPORTS_32BIT_KERNEL
  1443. select CPU_SUPPORTS_64BIT_KERNEL
  1444. select CPU_SUPPORTS_HIGHMEM
  1445. select CPU_SUPPORTS_HUGEPAGES
  1446. select WEAK_ORDERING
  1447. config CPU_CAVIUM_OCTEON
  1448. bool "Cavium Octeon processor"
  1449. depends on SYS_HAS_CPU_CAVIUM_OCTEON
  1450. select CPU_HAS_PREFETCH
  1451. select CPU_SUPPORTS_64BIT_KERNEL
  1452. select WEAK_ORDERING
  1453. select CPU_SUPPORTS_HIGHMEM
  1454. select CPU_SUPPORTS_HUGEPAGES
  1455. select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
  1456. select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
  1457. select MIPS_L1_CACHE_SHIFT_7
  1458. help
  1459. The Cavium Octeon processor is a highly integrated chip containing
  1460. many ethernet hardware widgets for networking tasks. The processor
  1461. can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
  1462. Full details can be found at http://www.caviumnetworks.com.
  1463. config CPU_BMIPS
  1464. bool "Broadcom BMIPS"
  1465. depends on SYS_HAS_CPU_BMIPS
  1466. select CPU_MIPS32
  1467. select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300
  1468. select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350
  1469. select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380
  1470. select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000
  1471. select CPU_SUPPORTS_32BIT_KERNEL
  1472. select DMA_NONCOHERENT
  1473. select IRQ_MIPS_CPU
  1474. select SWAP_IO_SPACE
  1475. select WEAK_ORDERING
  1476. select CPU_SUPPORTS_HIGHMEM
  1477. select CPU_HAS_PREFETCH
  1478. help
  1479. Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
  1480. config CPU_XLR
  1481. bool "Netlogic XLR SoC"
  1482. depends on SYS_HAS_CPU_XLR
  1483. select CPU_SUPPORTS_32BIT_KERNEL
  1484. select CPU_SUPPORTS_64BIT_KERNEL
  1485. select CPU_SUPPORTS_HIGHMEM
  1486. select CPU_SUPPORTS_HUGEPAGES
  1487. select WEAK_ORDERING
  1488. select WEAK_REORDERING_BEYOND_LLSC
  1489. help
  1490. Netlogic Microsystems XLR/XLS processors.
  1491. config CPU_XLP
  1492. bool "Netlogic XLP SoC"
  1493. depends on SYS_HAS_CPU_XLP
  1494. select CPU_SUPPORTS_32BIT_KERNEL
  1495. select CPU_SUPPORTS_64BIT_KERNEL
  1496. select CPU_SUPPORTS_HIGHMEM
  1497. select WEAK_ORDERING
  1498. select WEAK_REORDERING_BEYOND_LLSC
  1499. select CPU_HAS_PREFETCH
  1500. select CPU_MIPSR2
  1501. select CPU_SUPPORTS_HUGEPAGES
  1502. help
  1503. Netlogic Microsystems XLP processors.
  1504. endchoice
  1505. config CPU_MIPS32_3_5_FEATURES
  1506. bool "MIPS32 Release 3.5 Features"
  1507. depends on SYS_HAS_CPU_MIPS32_R3_5
  1508. depends on CPU_MIPS32_R2 || CPU_MIPS32_R6
  1509. help
  1510. Choose this option to build a kernel for release 2 or later of the
  1511. MIPS32 architecture including features from the 3.5 release such as
  1512. support for Enhanced Virtual Addressing (EVA).
  1513. config CPU_MIPS32_3_5_EVA
  1514. bool "Enhanced Virtual Addressing (EVA)"
  1515. depends on CPU_MIPS32_3_5_FEATURES
  1516. select EVA
  1517. default y
  1518. help
  1519. Choose this option if you want to enable the Enhanced Virtual
  1520. Addressing (EVA) on your MIPS32 core (such as proAptiv).
  1521. One of its primary benefits is an increase in the maximum size
  1522. of lowmem (up to 3GB). If unsure, say 'N' here.
  1523. config CPU_MIPS32_R5_FEATURES
  1524. bool "MIPS32 Release 5 Features"
  1525. depends on SYS_HAS_CPU_MIPS32_R5
  1526. depends on CPU_MIPS32_R2
  1527. help
  1528. Choose this option to build a kernel for release 2 or later of the
  1529. MIPS32 architecture including features from release 5 such as
  1530. support for Extended Physical Addressing (XPA).
  1531. config CPU_MIPS32_R5_XPA
  1532. bool "Extended Physical Addressing (XPA)"
  1533. depends on CPU_MIPS32_R5_FEATURES
  1534. depends on !EVA
  1535. depends on !PAGE_SIZE_4KB
  1536. depends on SYS_SUPPORTS_HIGHMEM
  1537. select XPA
  1538. select HIGHMEM
  1539. select ARCH_PHYS_ADDR_T_64BIT
  1540. default n
  1541. help
  1542. Choose this option if you want to enable the Extended Physical
  1543. Addressing (XPA) on your MIPS32 core (such as P5600 series). The
  1544. benefit is to increase physical addressing equal to or greater
  1545. than 40 bits. Note that this has the side effect of turning on
  1546. 64-bit addressing which in turn makes the PTEs 64-bit in size.
  1547. If unsure, say 'N' here.
  1548. if CPU_LOONGSON2F
  1549. config CPU_NOP_WORKAROUNDS
  1550. bool
  1551. config CPU_JUMP_WORKAROUNDS
  1552. bool
  1553. config CPU_LOONGSON2F_WORKAROUNDS
  1554. bool "Loongson 2F Workarounds"
  1555. default y
  1556. select CPU_NOP_WORKAROUNDS
  1557. select CPU_JUMP_WORKAROUNDS
  1558. help
  1559. Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
  1560. require workarounds. Without workarounds the system may hang
  1561. unexpectedly. For more information please refer to the gas
  1562. -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
  1563. Loongson 2F03 and later have fixed these issues and no workarounds
  1564. are needed. The workarounds have no significant side effect on them
  1565. but may decrease the performance of the system so this option should
  1566. be disabled unless the kernel is intended to be run on 2F01 or 2F02
  1567. systems.
  1568. If unsure, please say Y.
  1569. endif # CPU_LOONGSON2F
  1570. config SYS_SUPPORTS_ZBOOT
  1571. bool
  1572. select HAVE_KERNEL_GZIP
  1573. select HAVE_KERNEL_BZIP2
  1574. select HAVE_KERNEL_LZ4
  1575. select HAVE_KERNEL_LZMA
  1576. select HAVE_KERNEL_LZO
  1577. select HAVE_KERNEL_XZ
  1578. config SYS_SUPPORTS_ZBOOT_UART16550
  1579. bool
  1580. select SYS_SUPPORTS_ZBOOT
  1581. config SYS_SUPPORTS_ZBOOT_UART_PROM
  1582. bool
  1583. select SYS_SUPPORTS_ZBOOT
  1584. config CPU_LOONGSON2
  1585. bool
  1586. select CPU_SUPPORTS_32BIT_KERNEL
  1587. select CPU_SUPPORTS_64BIT_KERNEL
  1588. select CPU_SUPPORTS_HIGHMEM
  1589. select CPU_SUPPORTS_HUGEPAGES
  1590. config CPU_LOONGSON1
  1591. bool
  1592. select CPU_MIPS32
  1593. select CPU_MIPSR2
  1594. select CPU_HAS_PREFETCH
  1595. select CPU_SUPPORTS_32BIT_KERNEL
  1596. select CPU_SUPPORTS_HIGHMEM
  1597. select CPU_SUPPORTS_CPUFREQ
  1598. config CPU_BMIPS32_3300
  1599. select SMP_UP if SMP
  1600. bool
  1601. config CPU_BMIPS4350
  1602. bool
  1603. select SYS_SUPPORTS_SMP
  1604. select SYS_SUPPORTS_HOTPLUG_CPU
  1605. config CPU_BMIPS4380
  1606. bool
  1607. select MIPS_L1_CACHE_SHIFT_6
  1608. select SYS_SUPPORTS_SMP
  1609. select SYS_SUPPORTS_HOTPLUG_CPU
  1610. config CPU_BMIPS5000
  1611. bool
  1612. select MIPS_CPU_SCACHE
  1613. select MIPS_L1_CACHE_SHIFT_7
  1614. select SYS_SUPPORTS_SMP
  1615. select SYS_SUPPORTS_HOTPLUG_CPU
  1616. config SYS_HAS_CPU_LOONGSON3
  1617. bool
  1618. select CPU_SUPPORTS_CPUFREQ
  1619. config SYS_HAS_CPU_LOONGSON2E
  1620. bool
  1621. config SYS_HAS_CPU_LOONGSON2F
  1622. bool
  1623. select CPU_SUPPORTS_CPUFREQ
  1624. select CPU_SUPPORTS_ADDRWINCFG if 64BIT
  1625. select CPU_SUPPORTS_UNCACHED_ACCELERATED
  1626. config SYS_HAS_CPU_LOONGSON1B
  1627. bool
  1628. config SYS_HAS_CPU_MIPS32_R1
  1629. bool
  1630. config SYS_HAS_CPU_MIPS32_R2
  1631. bool
  1632. config SYS_HAS_CPU_MIPS32_R3_5
  1633. bool
  1634. config SYS_HAS_CPU_MIPS32_R5
  1635. bool
  1636. config SYS_HAS_CPU_MIPS32_R6
  1637. bool
  1638. config SYS_HAS_CPU_MIPS64_R1
  1639. bool
  1640. config SYS_HAS_CPU_MIPS64_R2
  1641. bool
  1642. config SYS_HAS_CPU_MIPS64_R6
  1643. bool
  1644. config SYS_HAS_CPU_R3000
  1645. bool
  1646. config SYS_HAS_CPU_TX39XX
  1647. bool
  1648. config SYS_HAS_CPU_VR41XX
  1649. bool
  1650. config SYS_HAS_CPU_R4300
  1651. bool
  1652. config SYS_HAS_CPU_R4X00
  1653. bool
  1654. config SYS_HAS_CPU_TX49XX
  1655. bool
  1656. config SYS_HAS_CPU_R5000
  1657. bool
  1658. config SYS_HAS_CPU_R5432
  1659. bool
  1660. config SYS_HAS_CPU_R5500
  1661. bool
  1662. config SYS_HAS_CPU_R6000
  1663. bool
  1664. config SYS_HAS_CPU_NEVADA
  1665. bool
  1666. config SYS_HAS_CPU_R8000
  1667. bool
  1668. config SYS_HAS_CPU_R10000
  1669. bool
  1670. config SYS_HAS_CPU_RM7000
  1671. bool
  1672. config SYS_HAS_CPU_SB1
  1673. bool
  1674. config SYS_HAS_CPU_CAVIUM_OCTEON
  1675. bool
  1676. config SYS_HAS_CPU_BMIPS
  1677. bool
  1678. config SYS_HAS_CPU_BMIPS32_3300
  1679. bool
  1680. select SYS_HAS_CPU_BMIPS
  1681. config SYS_HAS_CPU_BMIPS4350
  1682. bool
  1683. select SYS_HAS_CPU_BMIPS
  1684. config SYS_HAS_CPU_BMIPS4380
  1685. bool
  1686. select SYS_HAS_CPU_BMIPS
  1687. config SYS_HAS_CPU_BMIPS5000
  1688. bool
  1689. select SYS_HAS_CPU_BMIPS
  1690. config SYS_HAS_CPU_XLR
  1691. bool
  1692. config SYS_HAS_CPU_XLP
  1693. bool
  1694. config MIPS_MALTA_PM
  1695. depends on MIPS_MALTA
  1696. depends on PCI
  1697. bool
  1698. default y
  1699. #
  1700. # CPU may reorder R->R, R->W, W->R, W->W
  1701. # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
  1702. #
  1703. config WEAK_ORDERING
  1704. bool
  1705. #
  1706. # CPU may reorder reads and writes beyond LL/SC
  1707. # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
  1708. #
  1709. config WEAK_REORDERING_BEYOND_LLSC
  1710. bool
  1711. endmenu
  1712. #
  1713. # These two indicate any level of the MIPS32 and MIPS64 architecture
  1714. #
  1715. config CPU_MIPS32
  1716. bool
  1717. default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6
  1718. config CPU_MIPS64
  1719. bool
  1720. default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6
  1721. #
  1722. # These two indicate the revision of the architecture, either Release 1 or Release 2
  1723. #
  1724. config CPU_MIPSR1
  1725. bool
  1726. default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  1727. config CPU_MIPSR2
  1728. bool
  1729. default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
  1730. select MIPS_SPRAM
  1731. config CPU_MIPSR6
  1732. bool
  1733. default y if CPU_MIPS32_R6 || CPU_MIPS64_R6
  1734. select MIPS_SPRAM
  1735. config EVA
  1736. bool
  1737. config XPA
  1738. bool
  1739. config SYS_SUPPORTS_32BIT_KERNEL
  1740. bool
  1741. config SYS_SUPPORTS_64BIT_KERNEL
  1742. bool
  1743. config CPU_SUPPORTS_32BIT_KERNEL
  1744. bool
  1745. config CPU_SUPPORTS_64BIT_KERNEL
  1746. bool
  1747. config CPU_SUPPORTS_CPUFREQ
  1748. bool
  1749. config CPU_SUPPORTS_ADDRWINCFG
  1750. bool
  1751. config CPU_SUPPORTS_HUGEPAGES
  1752. bool
  1753. config CPU_SUPPORTS_UNCACHED_ACCELERATED
  1754. bool
  1755. config MIPS_PGD_C0_CONTEXT
  1756. bool
  1757. default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
  1758. #
  1759. # Set to y for ptrace access to watch registers.
  1760. #
  1761. config HARDWARE_WATCHPOINTS
  1762. bool
  1763. default y if CPU_MIPSR1 || CPU_MIPSR2
  1764. menu "Kernel type"
  1765. choice
  1766. prompt "Kernel code model"
  1767. help
  1768. You should only select this option if you have a workload that
  1769. actually benefits from 64-bit processing or if your machine has
  1770. large memory. You will only be presented a single option in this
  1771. menu if your system does not support both 32-bit and 64-bit kernels.
  1772. config 32BIT
  1773. bool "32-bit kernel"
  1774. depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
  1775. select TRAD_SIGNALS
  1776. help
  1777. Select this option if you want to build a 32-bit kernel.
  1778. config 64BIT
  1779. bool "64-bit kernel"
  1780. depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
  1781. help
  1782. Select this option if you want to build a 64-bit kernel.
  1783. endchoice
  1784. config KVM_GUEST
  1785. bool "KVM Guest Kernel"
  1786. depends on BROKEN_ON_SMP
  1787. help
  1788. Select this option if building a guest kernel for KVM (Trap & Emulate)
  1789. mode.
  1790. config KVM_GUEST_TIMER_FREQ
  1791. int "Count/Compare Timer Frequency (MHz)"
  1792. depends on KVM_GUEST
  1793. default 100
  1794. help
  1795. Set this to non-zero if building a guest kernel for KVM to skip RTC
  1796. emulation when determining guest CPU Frequency. Instead, the guest's
  1797. timer frequency is specified directly.
  1798. choice
  1799. prompt "Kernel page size"
  1800. default PAGE_SIZE_4KB
  1801. config PAGE_SIZE_4KB
  1802. bool "4kB"
  1803. depends on !CPU_LOONGSON2 && !CPU_LOONGSON3
  1804. help
  1805. This option select the standard 4kB Linux page size. On some
  1806. R3000-family processors this is the only available page size. Using
  1807. 4kB page size will minimize memory consumption and is therefore
  1808. recommended for low memory systems.
  1809. config PAGE_SIZE_8KB
  1810. bool "8kB"
  1811. depends on CPU_R8000 || CPU_CAVIUM_OCTEON
  1812. help
  1813. Using 8kB page size will result in higher performance kernel at
  1814. the price of higher memory consumption. This option is available
  1815. only on R8000 and cnMIPS processors. Note that you will need a
  1816. suitable Linux distribution to support this.
  1817. config PAGE_SIZE_16KB
  1818. bool "16kB"
  1819. depends on !CPU_R3000 && !CPU_TX39XX
  1820. help
  1821. Using 16kB page size will result in higher performance kernel at
  1822. the price of higher memory consumption. This option is available on
  1823. all non-R3000 family processors. Note that you will need a suitable
  1824. Linux distribution to support this.
  1825. config PAGE_SIZE_32KB
  1826. bool "32kB"
  1827. depends on CPU_CAVIUM_OCTEON
  1828. help
  1829. Using 32kB page size will result in higher performance kernel at
  1830. the price of higher memory consumption. This option is available
  1831. only on cnMIPS cores. Note that you will need a suitable Linux
  1832. distribution to support this.
  1833. config PAGE_SIZE_64KB
  1834. bool "64kB"
  1835. depends on !CPU_R3000 && !CPU_TX39XX && !CPU_R6000
  1836. help
  1837. Using 64kB page size will result in higher performance kernel at
  1838. the price of higher memory consumption. This option is available on
  1839. all non-R3000 family processor. Not that at the time of this
  1840. writing this option is still high experimental.
  1841. endchoice
  1842. config FORCE_MAX_ZONEORDER
  1843. int "Maximum zone order"
  1844. range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
  1845. default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
  1846. range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
  1847. default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
  1848. range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
  1849. default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
  1850. range 11 64
  1851. default "11"
  1852. help
  1853. The kernel memory allocator divides physically contiguous memory
  1854. blocks into "zones", where each zone is a power of two number of
  1855. pages. This option selects the largest power of two that the kernel
  1856. keeps in the memory allocator. If you need to allocate very large
  1857. blocks of physically contiguous memory, then you may need to
  1858. increase this value.
  1859. This config option is actually maximum order plus one. For example,
  1860. a value of 11 means that the largest free memory block is 2^10 pages.
  1861. The page size is not necessarily 4KB. Keep this in mind
  1862. when choosing a value for this option.
  1863. config BOARD_SCACHE
  1864. bool
  1865. config IP22_CPU_SCACHE
  1866. bool
  1867. select BOARD_SCACHE
  1868. #
  1869. # Support for a MIPS32 / MIPS64 style S-caches
  1870. #
  1871. config MIPS_CPU_SCACHE
  1872. bool
  1873. select BOARD_SCACHE
  1874. config R5000_CPU_SCACHE
  1875. bool
  1876. select BOARD_SCACHE
  1877. config RM7000_CPU_SCACHE
  1878. bool
  1879. select BOARD_SCACHE
  1880. config SIBYTE_DMA_PAGEOPS
  1881. bool "Use DMA to clear/copy pages"
  1882. depends on CPU_SB1
  1883. help
  1884. Instead of using the CPU to zero and copy pages, use a Data Mover
  1885. channel. These DMA channels are otherwise unused by the standard
  1886. SiByte Linux port. Seems to give a small performance benefit.
  1887. config CPU_HAS_PREFETCH
  1888. bool
  1889. config CPU_GENERIC_DUMP_TLB
  1890. bool
  1891. default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX)
  1892. config CPU_R4K_FPU
  1893. bool
  1894. default y if !(CPU_R3000 || CPU_R6000 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
  1895. config CPU_R4K_CACHE_TLB
  1896. bool
  1897. default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
  1898. config MIPS_MT_SMP
  1899. bool "MIPS MT SMP support (1 TC on each available VPE)"
  1900. depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6
  1901. select CPU_MIPSR2_IRQ_VI
  1902. select CPU_MIPSR2_IRQ_EI
  1903. select SYNC_R4K
  1904. select MIPS_MT
  1905. select SMP
  1906. select SMP_UP
  1907. select SYS_SUPPORTS_SMP
  1908. select SYS_SUPPORTS_SCHED_SMT
  1909. select MIPS_PERF_SHARED_TC_COUNTERS
  1910. help
  1911. This is a kernel model which is known as SMVP. This is supported
  1912. on cores with the MT ASE and uses the available VPEs to implement
  1913. virtual processors which supports SMP. This is equivalent to the
  1914. Intel Hyperthreading feature. For further information go to
  1915. <http://www.imgtec.com/mips/mips-multithreading.asp>.
  1916. config MIPS_MT
  1917. bool
  1918. config SCHED_SMT
  1919. bool "SMT (multithreading) scheduler support"
  1920. depends on SYS_SUPPORTS_SCHED_SMT
  1921. default n
  1922. help
  1923. SMT scheduler support improves the CPU scheduler's decision making
  1924. when dealing with MIPS MT enabled cores at a cost of slightly
  1925. increased overhead in some places. If unsure say N here.
  1926. config SYS_SUPPORTS_SCHED_SMT
  1927. bool
  1928. config SYS_SUPPORTS_MULTITHREADING
  1929. bool
  1930. config MIPS_MT_FPAFF
  1931. bool "Dynamic FPU affinity for FP-intensive threads"
  1932. default y
  1933. depends on MIPS_MT_SMP
  1934. config MIPSR2_TO_R6_EMULATOR
  1935. bool "MIPS R2-to-R6 emulator"
  1936. depends on CPU_MIPSR6 && !SMP
  1937. default y
  1938. help
  1939. Choose this option if you want to run non-R6 MIPS userland code.
  1940. Even if you say 'Y' here, the emulator will still be disabled by
  1941. default. You can enable it using the 'mipsr2emu' kernel option.
  1942. The only reason this is a build-time option is to save ~14K from the
  1943. final kernel image.
  1944. comment "MIPS R2-to-R6 emulator is only available for UP kernels"
  1945. depends on SMP && CPU_MIPSR6
  1946. config MIPS_VPE_LOADER
  1947. bool "VPE loader support."
  1948. depends on SYS_SUPPORTS_MULTITHREADING && MODULES
  1949. select CPU_MIPSR2_IRQ_VI
  1950. select CPU_MIPSR2_IRQ_EI
  1951. select MIPS_MT
  1952. help
  1953. Includes a loader for loading an elf relocatable object
  1954. onto another VPE and running it.
  1955. config MIPS_VPE_LOADER_CMP
  1956. bool
  1957. default "y"
  1958. depends on MIPS_VPE_LOADER && MIPS_CMP
  1959. config MIPS_VPE_LOADER_MT
  1960. bool
  1961. default "y"
  1962. depends on MIPS_VPE_LOADER && !MIPS_CMP
  1963. config MIPS_VPE_LOADER_TOM
  1964. bool "Load VPE program into memory hidden from linux"
  1965. depends on MIPS_VPE_LOADER
  1966. default y
  1967. help
  1968. The loader can use memory that is present but has been hidden from
  1969. Linux using the kernel command line option "mem=xxMB". It's up to
  1970. you to ensure the amount you put in the option and the space your
  1971. program requires is less or equal to the amount physically present.
  1972. config MIPS_VPE_APSP_API
  1973. bool "Enable support for AP/SP API (RTLX)"
  1974. depends on MIPS_VPE_LOADER
  1975. help
  1976. config MIPS_VPE_APSP_API_CMP
  1977. bool
  1978. default "y"
  1979. depends on MIPS_VPE_APSP_API && MIPS_CMP
  1980. config MIPS_VPE_APSP_API_MT
  1981. bool
  1982. default "y"
  1983. depends on MIPS_VPE_APSP_API && !MIPS_CMP
  1984. config MIPS_CMP
  1985. bool "MIPS CMP framework support (DEPRECATED)"
  1986. depends on SYS_SUPPORTS_MIPS_CMP && !CPU_MIPSR6
  1987. select SMP
  1988. select SYNC_R4K
  1989. select SYS_SUPPORTS_SMP
  1990. select WEAK_ORDERING
  1991. default n
  1992. help
  1993. Select this if you are using a bootloader which implements the "CMP
  1994. framework" protocol (ie. YAMON) and want your kernel to make use of
  1995. its ability to start secondary CPUs.
  1996. Unless you have a specific need, you should use CONFIG_MIPS_CPS
  1997. instead of this.
  1998. config MIPS_CPS
  1999. bool "MIPS Coherent Processing System support"
  2000. depends on SYS_SUPPORTS_MIPS_CPS && !CPU_MIPSR6
  2001. select MIPS_CM
  2002. select MIPS_CPC
  2003. select MIPS_CPS_PM if HOTPLUG_CPU
  2004. select SMP
  2005. select SYNC_R4K if (CEVT_R4K || CSRC_R4K)
  2006. select SYS_SUPPORTS_HOTPLUG_CPU
  2007. select SYS_SUPPORTS_SMP
  2008. select WEAK_ORDERING
  2009. help
  2010. Select this if you wish to run an SMP kernel across multiple cores
  2011. within a MIPS Coherent Processing System. When this option is
  2012. enabled the kernel will probe for other cores and boot them with
  2013. no external assistance. It is safe to enable this when hardware
  2014. support is unavailable.
  2015. config MIPS_CPS_PM
  2016. depends on MIPS_CPS
  2017. select MIPS_CPC
  2018. bool
  2019. config MIPS_CM
  2020. bool
  2021. config MIPS_CPC
  2022. bool
  2023. config SB1_PASS_2_WORKAROUNDS
  2024. bool
  2025. depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
  2026. default y
  2027. config SB1_PASS_2_1_WORKAROUNDS
  2028. bool
  2029. depends on CPU_SB1 && CPU_SB1_PASS_2
  2030. default y
  2031. config ARCH_PHYS_ADDR_T_64BIT
  2032. bool
  2033. choice
  2034. prompt "SmartMIPS or microMIPS ASE support"
  2035. config CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS
  2036. bool "None"
  2037. help
  2038. Select this if you want neither microMIPS nor SmartMIPS support
  2039. config CPU_HAS_SMARTMIPS
  2040. depends on SYS_SUPPORTS_SMARTMIPS
  2041. bool "SmartMIPS"
  2042. help
  2043. SmartMIPS is a extension of the MIPS32 architecture aimed at
  2044. increased security at both hardware and software level for
  2045. smartcards. Enabling this option will allow proper use of the
  2046. SmartMIPS instructions by Linux applications. However a kernel with
  2047. this option will not work on a MIPS core without SmartMIPS core. If
  2048. you don't know you probably don't have SmartMIPS and should say N
  2049. here.
  2050. config CPU_MICROMIPS
  2051. depends on 32BIT && SYS_SUPPORTS_MICROMIPS && !CPU_MIPSR6
  2052. bool "microMIPS"
  2053. help
  2054. When this option is enabled the kernel will be built using the
  2055. microMIPS ISA
  2056. endchoice
  2057. config CPU_HAS_MSA
  2058. bool "Support for the MIPS SIMD Architecture"
  2059. depends on CPU_SUPPORTS_MSA
  2060. depends on 64BIT || MIPS_O32_FP64_SUPPORT
  2061. help
  2062. MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers
  2063. and a set of SIMD instructions to operate on them. When this option
  2064. is enabled the kernel will support allocating & switching MSA
  2065. vector register contexts. If you know that your kernel will only be
  2066. running on CPUs which do not support MSA or that your userland will
  2067. not be making use of it then you may wish to say N here to reduce
  2068. the size & complexity of your kernel.
  2069. If unsure, say Y.
  2070. config CPU_HAS_WB
  2071. bool
  2072. config XKS01
  2073. bool
  2074. #
  2075. # Vectored interrupt mode is an R2 feature
  2076. #
  2077. config CPU_MIPSR2_IRQ_VI
  2078. bool
  2079. #
  2080. # Extended interrupt mode is an R2 feature
  2081. #
  2082. config CPU_MIPSR2_IRQ_EI
  2083. bool
  2084. config CPU_HAS_SYNC
  2085. bool
  2086. depends on !CPU_R3000
  2087. default y
  2088. #
  2089. # CPU non-features
  2090. #
  2091. config CPU_DADDI_WORKAROUNDS
  2092. bool
  2093. config CPU_R4000_WORKAROUNDS
  2094. bool
  2095. select CPU_R4400_WORKAROUNDS
  2096. config CPU_R4400_WORKAROUNDS
  2097. bool
  2098. #
  2099. # - Highmem only makes sense for the 32-bit kernel.
  2100. # - The current highmem code will only work properly on physically indexed
  2101. # caches such as R3000, SB1, R7000 or those that look like they're virtually
  2102. # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
  2103. # moment we protect the user and offer the highmem option only on machines
  2104. # where it's known to be safe. This will not offer highmem on a few systems
  2105. # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
  2106. # indexed CPUs but we're playing safe.
  2107. # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
  2108. # know they might have memory configurations that could make use of highmem
  2109. # support.
  2110. #
  2111. config HIGHMEM
  2112. bool "High Memory Support"
  2113. depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA
  2114. config CPU_SUPPORTS_HIGHMEM
  2115. bool
  2116. config SYS_SUPPORTS_HIGHMEM
  2117. bool
  2118. config SYS_SUPPORTS_SMARTMIPS
  2119. bool
  2120. config SYS_SUPPORTS_MICROMIPS
  2121. bool
  2122. config SYS_SUPPORTS_MIPS16
  2123. bool
  2124. help
  2125. This option must be set if a kernel might be executed on a MIPS16-
  2126. enabled CPU even if MIPS16 is not actually being used. In other
  2127. words, it makes the kernel MIPS16-tolerant.
  2128. config CPU_SUPPORTS_MSA
  2129. bool
  2130. config ARCH_FLATMEM_ENABLE
  2131. def_bool y
  2132. depends on !NUMA && !CPU_LOONGSON2
  2133. config ARCH_DISCONTIGMEM_ENABLE
  2134. bool
  2135. default y if SGI_IP27
  2136. help
  2137. Say Y to support efficient handling of discontiguous physical memory,
  2138. for architectures which are either NUMA (Non-Uniform Memory Access)
  2139. or have huge holes in the physical address space for other reasons.
  2140. See <file:Documentation/vm/numa> for more.
  2141. config ARCH_SPARSEMEM_ENABLE
  2142. bool
  2143. select SPARSEMEM_STATIC
  2144. config NUMA
  2145. bool "NUMA Support"
  2146. depends on SYS_SUPPORTS_NUMA
  2147. help
  2148. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  2149. Access). This option improves performance on systems with more
  2150. than two nodes; on two node systems it is generally better to
  2151. leave it disabled; on single node systems disable this option
  2152. disabled.
  2153. config SYS_SUPPORTS_NUMA
  2154. bool
  2155. config NODES_SHIFT
  2156. int
  2157. default "6"
  2158. depends on NEED_MULTIPLE_NODES
  2159. config HW_PERF_EVENTS
  2160. bool "Enable hardware performance counter support for perf events"
  2161. depends on PERF_EVENTS && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP || CPU_LOONGSON3)
  2162. default y
  2163. help
  2164. Enable hardware performance counter support for perf events. If
  2165. disabled, perf events will use software events only.
  2166. source "mm/Kconfig"
  2167. config SMP
  2168. bool "Multi-Processing support"
  2169. depends on SYS_SUPPORTS_SMP
  2170. help
  2171. This enables support for systems with more than one CPU. If you have
  2172. a system with only one CPU, say N. If you have a system with more
  2173. than one CPU, say Y.
  2174. If you say N here, the kernel will run on uni- and multiprocessor
  2175. machines, but will use only one CPU of a multiprocessor machine. If
  2176. you say Y here, the kernel will run on many, but not all,
  2177. uniprocessor machines. On a uniprocessor machine, the kernel
  2178. will run faster if you say N here.
  2179. People using multiprocessor machines who say Y here should also say
  2180. Y to "Enhanced Real Time Clock Support", below.
  2181. See also the SMP-HOWTO available at
  2182. <http://www.tldp.org/docs.html#howto>.
  2183. If you don't know what to do here, say N.
  2184. config SMP_UP
  2185. bool
  2186. config SYS_SUPPORTS_MIPS_CMP
  2187. bool
  2188. config SYS_SUPPORTS_MIPS_CPS
  2189. bool
  2190. config SYS_SUPPORTS_SMP
  2191. bool
  2192. config NR_CPUS_DEFAULT_4
  2193. bool
  2194. config NR_CPUS_DEFAULT_8
  2195. bool
  2196. config NR_CPUS_DEFAULT_16
  2197. bool
  2198. config NR_CPUS_DEFAULT_32
  2199. bool
  2200. config NR_CPUS_DEFAULT_64
  2201. bool
  2202. config NR_CPUS
  2203. int "Maximum number of CPUs (2-256)"
  2204. range 2 256
  2205. depends on SMP
  2206. default "4" if NR_CPUS_DEFAULT_4
  2207. default "8" if NR_CPUS_DEFAULT_8
  2208. default "16" if NR_CPUS_DEFAULT_16
  2209. default "32" if NR_CPUS_DEFAULT_32
  2210. default "64" if NR_CPUS_DEFAULT_64
  2211. help
  2212. This allows you to specify the maximum number of CPUs which this
  2213. kernel will support. The maximum supported value is 32 for 32-bit
  2214. kernel and 64 for 64-bit kernels; the minimum value which makes
  2215. sense is 1 for Qemu (useful only for kernel debugging purposes)
  2216. and 2 for all others.
  2217. This is purely to save memory - each supported CPU adds
  2218. approximately eight kilobytes to the kernel image. For best
  2219. performance should round up your number of processors to the next
  2220. power of two.
  2221. config MIPS_PERF_SHARED_TC_COUNTERS
  2222. bool
  2223. #
  2224. # Timer Interrupt Frequency Configuration
  2225. #
  2226. choice
  2227. prompt "Timer frequency"
  2228. default HZ_250
  2229. help
  2230. Allows the configuration of the timer frequency.
  2231. config HZ_24
  2232. bool "24 HZ" if SYS_SUPPORTS_24HZ || SYS_SUPPORTS_ARBIT_HZ
  2233. config HZ_48
  2234. bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
  2235. config HZ_100
  2236. bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
  2237. config HZ_128
  2238. bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
  2239. config HZ_250
  2240. bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
  2241. config HZ_256
  2242. bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
  2243. config HZ_1000
  2244. bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
  2245. config HZ_1024
  2246. bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
  2247. endchoice
  2248. config SYS_SUPPORTS_24HZ
  2249. bool
  2250. config SYS_SUPPORTS_48HZ
  2251. bool
  2252. config SYS_SUPPORTS_100HZ
  2253. bool
  2254. config SYS_SUPPORTS_128HZ
  2255. bool
  2256. config SYS_SUPPORTS_250HZ
  2257. bool
  2258. config SYS_SUPPORTS_256HZ
  2259. bool
  2260. config SYS_SUPPORTS_1000HZ
  2261. bool
  2262. config SYS_SUPPORTS_1024HZ
  2263. bool
  2264. config SYS_SUPPORTS_ARBIT_HZ
  2265. bool
  2266. default y if !SYS_SUPPORTS_24HZ && \
  2267. !SYS_SUPPORTS_48HZ && \
  2268. !SYS_SUPPORTS_100HZ && \
  2269. !SYS_SUPPORTS_128HZ && \
  2270. !SYS_SUPPORTS_250HZ && \
  2271. !SYS_SUPPORTS_256HZ && \
  2272. !SYS_SUPPORTS_1000HZ && \
  2273. !SYS_SUPPORTS_1024HZ
  2274. config HZ
  2275. int
  2276. default 24 if HZ_24
  2277. default 48 if HZ_48
  2278. default 100 if HZ_100
  2279. default 128 if HZ_128
  2280. default 250 if HZ_250
  2281. default 256 if HZ_256
  2282. default 1000 if HZ_1000
  2283. default 1024 if HZ_1024
  2284. config SCHED_HRTICK
  2285. def_bool HIGH_RES_TIMERS
  2286. source "kernel/Kconfig.preempt"
  2287. config KEXEC
  2288. bool "Kexec system call"
  2289. select KEXEC_CORE
  2290. help
  2291. kexec is a system call that implements the ability to shutdown your
  2292. current kernel, and to start another kernel. It is like a reboot
  2293. but it is independent of the system firmware. And like a reboot
  2294. you can start any kernel with it, not just Linux.
  2295. The name comes from the similarity to the exec system call.
  2296. It is an ongoing process to be certain the hardware in a machine
  2297. is properly shutdown, so do not be surprised if this code does not
  2298. initially work for you. As of this writing the exact hardware
  2299. interface is strongly in flux, so no good recommendation can be
  2300. made.
  2301. config CRASH_DUMP
  2302. bool "Kernel crash dumps"
  2303. help
  2304. Generate crash dump after being started by kexec.
  2305. This should be normally only set in special crash dump kernels
  2306. which are loaded in the main kernel with kexec-tools into
  2307. a specially reserved region and then later executed after
  2308. a crash by kdump/kexec. The crash dump kernel must be compiled
  2309. to a memory address not used by the main kernel or firmware using
  2310. PHYSICAL_START.
  2311. config PHYSICAL_START
  2312. hex "Physical address where the kernel is loaded"
  2313. default "0xffffffff84000000" if 64BIT
  2314. default "0x84000000" if 32BIT
  2315. depends on CRASH_DUMP
  2316. help
  2317. This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
  2318. If you plan to use kernel for capturing the crash dump change
  2319. this value to start of the reserved region (the "X" value as
  2320. specified in the "crashkernel=YM@XM" command line boot parameter
  2321. passed to the panic-ed kernel).
  2322. config SECCOMP
  2323. bool "Enable seccomp to safely compute untrusted bytecode"
  2324. depends on PROC_FS
  2325. default y
  2326. help
  2327. This kernel feature is useful for number crunching applications
  2328. that may need to compute untrusted bytecode during their
  2329. execution. By using pipes or other transports made available to
  2330. the process as file descriptors supporting the read/write
  2331. syscalls, it's possible to isolate those applications in
  2332. their own address space using seccomp. Once seccomp is
  2333. enabled via /proc/<pid>/seccomp, it cannot be disabled
  2334. and the task is only allowed to execute a few safe syscalls
  2335. defined by each seccomp mode.
  2336. If unsure, say Y. Only embedded should say N here.
  2337. config MIPS_O32_FP64_SUPPORT
  2338. bool "Support for O32 binaries using 64-bit FP"
  2339. depends on 32BIT || MIPS32_O32
  2340. help
  2341. When this is enabled, the kernel will support use of 64-bit floating
  2342. point registers with binaries using the O32 ABI along with the
  2343. EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On
  2344. 32-bit MIPS systems this support is at the cost of increasing the
  2345. size and complexity of the compiled FPU emulator. Thus if you are
  2346. running a MIPS32 system and know that none of your userland binaries
  2347. will require 64-bit floating point, you may wish to reduce the size
  2348. of your kernel & potentially improve FP emulation performance by
  2349. saying N here.
  2350. Although binutils currently supports use of this flag the details
  2351. concerning its effect upon the O32 ABI in userland are still being
  2352. worked on. In order to avoid userland becoming dependant upon current
  2353. behaviour before the details have been finalised, this option should
  2354. be considered experimental and only enabled by those working upon
  2355. said details.
  2356. If unsure, say N.
  2357. config USE_OF
  2358. bool
  2359. select OF
  2360. select OF_EARLY_FLATTREE
  2361. select IRQ_DOMAIN
  2362. config BUILTIN_DTB
  2363. bool
  2364. choice
  2365. prompt "Kernel appended dtb support" if USE_OF
  2366. default MIPS_NO_APPENDED_DTB
  2367. config MIPS_NO_APPENDED_DTB
  2368. bool "None"
  2369. help
  2370. Do not enable appended dtb support.
  2371. config MIPS_ELF_APPENDED_DTB
  2372. bool "vmlinux"
  2373. help
  2374. With this option, the boot code will look for a device tree binary
  2375. DTB) included in the vmlinux ELF section .appended_dtb. By default
  2376. it is empty and the DTB can be appended using binutils command
  2377. objcopy:
  2378. objcopy --update-section .appended_dtb=<filename>.dtb vmlinux
  2379. This is meant as a backward compatiblity convenience for those
  2380. systems with a bootloader that can't be upgraded to accommodate
  2381. the documented boot protocol using a device tree.
  2382. config MIPS_RAW_APPENDED_DTB
  2383. bool "vmlinux.bin"
  2384. help
  2385. With this option, the boot code will look for a device tree binary
  2386. DTB) appended to raw vmlinux.bin (without decompressor).
  2387. (e.g. cat vmlinux.bin <filename>.dtb > vmlinux_w_dtb).
  2388. This is meant as a backward compatibility convenience for those
  2389. systems with a bootloader that can't be upgraded to accommodate
  2390. the documented boot protocol using a device tree.
  2391. Beware that there is very little in terms of protection against
  2392. this option being confused by leftover garbage in memory that might
  2393. look like a DTB header after a reboot if no actual DTB is appended
  2394. to vmlinux.bin. Do not leave this option active in a production kernel
  2395. if you don't intend to always append a DTB.
  2396. config MIPS_ZBOOT_APPENDED_DTB
  2397. bool "vmlinuz.bin"
  2398. depends on SYS_SUPPORTS_ZBOOT
  2399. help
  2400. With this option, the boot code will look for a device tree binary
  2401. DTB) appended to raw vmlinuz.bin (with decompressor).
  2402. (e.g. cat vmlinuz.bin <filename>.dtb > vmlinuz_w_dtb).
  2403. This is meant as a backward compatibility convenience for those
  2404. systems with a bootloader that can't be upgraded to accommodate
  2405. the documented boot protocol using a device tree.
  2406. Beware that there is very little in terms of protection against
  2407. this option being confused by leftover garbage in memory that might
  2408. look like a DTB header after a reboot if no actual DTB is appended
  2409. to vmlinuz.bin. Do not leave this option active in a production kernel
  2410. if you don't intend to always append a DTB.
  2411. endchoice
  2412. choice
  2413. prompt "Kernel command line type" if !CMDLINE_OVERRIDE
  2414. default MIPS_CMDLINE_FROM_DTB if USE_OF && !ATH79 && !MACH_INGENIC && \
  2415. !MIPS_MALTA && !MIPS_SEAD3 && \
  2416. !CAVIUM_OCTEON_SOC
  2417. default MIPS_CMDLINE_FROM_BOOTLOADER
  2418. config MIPS_CMDLINE_FROM_DTB
  2419. depends on USE_OF
  2420. bool "Dtb kernel arguments if available"
  2421. config MIPS_CMDLINE_DTB_EXTEND
  2422. depends on USE_OF
  2423. bool "Extend dtb kernel arguments with bootloader arguments"
  2424. config MIPS_CMDLINE_FROM_BOOTLOADER
  2425. bool "Bootloader kernel arguments if available"
  2426. endchoice
  2427. endmenu
  2428. config LOCKDEP_SUPPORT
  2429. bool
  2430. default y
  2431. config STACKTRACE_SUPPORT
  2432. bool
  2433. default y
  2434. config HAVE_LATENCYTOP_SUPPORT
  2435. bool
  2436. default y
  2437. config PGTABLE_LEVELS
  2438. int
  2439. default 3 if 64BIT && !PAGE_SIZE_64KB
  2440. default 2
  2441. source "init/Kconfig"
  2442. source "kernel/Kconfig.freezer"
  2443. menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
  2444. config HW_HAS_EISA
  2445. bool
  2446. config HW_HAS_PCI
  2447. bool
  2448. config PCI
  2449. bool "Support for PCI controller"
  2450. depends on HW_HAS_PCI
  2451. select PCI_DOMAINS
  2452. select NO_GENERIC_PCI_IOPORT_MAP
  2453. help
  2454. Find out whether you have a PCI motherboard. PCI is the name of a
  2455. bus system, i.e. the way the CPU talks to the other stuff inside
  2456. your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
  2457. say Y, otherwise N.
  2458. config HT_PCI
  2459. bool "Support for HT-linked PCI"
  2460. default y
  2461. depends on CPU_LOONGSON3
  2462. select PCI
  2463. select PCI_DOMAINS
  2464. help
  2465. Loongson family machines use Hyper-Transport bus for inter-core
  2466. connection and device connection. The PCI bus is a subordinate
  2467. linked at HT. Choose Y for Loongson-3 based machines.
  2468. config PCI_DOMAINS
  2469. bool
  2470. source "drivers/pci/Kconfig"
  2471. #
  2472. # ISA support is now enabled via select. Too many systems still have the one
  2473. # or other ISA chip on the board that users don't know about so don't expect
  2474. # users to choose the right thing ...
  2475. #
  2476. config ISA
  2477. bool
  2478. config EISA
  2479. bool "EISA support"
  2480. depends on HW_HAS_EISA
  2481. select ISA
  2482. select GENERIC_ISA_DMA
  2483. ---help---
  2484. The Extended Industry Standard Architecture (EISA) bus was
  2485. developed as an open alternative to the IBM MicroChannel bus.
  2486. The EISA bus provided some of the features of the IBM MicroChannel
  2487. bus while maintaining backward compatibility with cards made for
  2488. the older ISA bus. The EISA bus saw limited use between 1988 and
  2489. 1995 when it was made obsolete by the PCI bus.
  2490. Say Y here if you are building a kernel for an EISA-based machine.
  2491. Otherwise, say N.
  2492. source "drivers/eisa/Kconfig"
  2493. config TC
  2494. bool "TURBOchannel support"
  2495. depends on MACH_DECSTATION
  2496. help
  2497. TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
  2498. processors. TURBOchannel programming specifications are available
  2499. at:
  2500. <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
  2501. and:
  2502. <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
  2503. Linux driver support status is documented at:
  2504. <http://www.linux-mips.org/wiki/DECstation>
  2505. config MMU
  2506. bool
  2507. default y
  2508. config I8253
  2509. bool
  2510. select CLKSRC_I8253
  2511. select CLKEVT_I8253
  2512. select MIPS_EXTERNAL_TIMER
  2513. config ZONE_DMA
  2514. bool
  2515. config ZONE_DMA32
  2516. bool
  2517. source "drivers/pcmcia/Kconfig"
  2518. config RAPIDIO
  2519. tristate "RapidIO support"
  2520. depends on PCI
  2521. default n
  2522. help
  2523. If you say Y here, the kernel will include drivers and
  2524. infrastructure code to support RapidIO interconnect devices.
  2525. source "drivers/rapidio/Kconfig"
  2526. endmenu
  2527. menu "Executable file formats"
  2528. source "fs/Kconfig.binfmt"
  2529. config TRAD_SIGNALS
  2530. bool
  2531. config MIPS32_COMPAT
  2532. bool
  2533. config COMPAT
  2534. bool
  2535. config SYSVIPC_COMPAT
  2536. bool
  2537. config MIPS32_O32
  2538. bool "Kernel support for o32 binaries"
  2539. depends on 64BIT
  2540. select ARCH_WANT_OLD_COMPAT_IPC
  2541. select COMPAT
  2542. select MIPS32_COMPAT
  2543. select SYSVIPC_COMPAT if SYSVIPC
  2544. help
  2545. Select this option if you want to run o32 binaries. These are pure
  2546. 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
  2547. existing binaries are in this format.
  2548. If unsure, say Y.
  2549. config MIPS32_N32
  2550. bool "Kernel support for n32 binaries"
  2551. depends on 64BIT
  2552. select COMPAT
  2553. select MIPS32_COMPAT
  2554. select SYSVIPC_COMPAT if SYSVIPC
  2555. help
  2556. Select this option if you want to run n32 binaries. These are
  2557. 64-bit binaries using 32-bit quantities for addressing and certain
  2558. data that would normally be 64-bit. They are used in special
  2559. cases.
  2560. If unsure, say N.
  2561. config BINFMT_ELF32
  2562. bool
  2563. default y if MIPS32_O32 || MIPS32_N32
  2564. endmenu
  2565. menu "Power management options"
  2566. config ARCH_HIBERNATION_POSSIBLE
  2567. def_bool y
  2568. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2569. config ARCH_SUSPEND_POSSIBLE
  2570. def_bool y
  2571. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2572. source "kernel/power/Kconfig"
  2573. endmenu
  2574. config MIPS_EXTERNAL_TIMER
  2575. bool
  2576. menu "CPU Power Management"
  2577. if CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
  2578. source "drivers/cpufreq/Kconfig"
  2579. endif
  2580. source "drivers/cpuidle/Kconfig"
  2581. endmenu
  2582. source "net/Kconfig"
  2583. source "drivers/Kconfig"
  2584. source "drivers/firmware/Kconfig"
  2585. source "fs/Kconfig"
  2586. source "arch/mips/Kconfig.debug"
  2587. source "security/Kconfig"
  2588. source "crypto/Kconfig"
  2589. source "lib/Kconfig"
  2590. source "arch/mips/kvm/Kconfig"