Kconfig 65 KB

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