Kconfig 62 KB

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