Kconfig 65 KB

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