Kconfig 61 KB

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