Kconfig 65 KB

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