Kconfig 62 KB

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