Kconfig 52 KB

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