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