Kconfig 49 KB

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