Kconfig 75 KB

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