Kconfig 62 KB

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