Kconfig 65 KB

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