Kconfig 69 KB

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