Kconfig 80 KB

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