Kconfig 70 KB

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