Kconfig 81 KB

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