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