Kconfig 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226
  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 GENERIC_GPIO
  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 "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_UART16550
  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 NR_CPUS_DEFAULT_2
  476. select SIBYTE_SB1250
  477. select SWAP_IO_SPACE
  478. select SYS_HAS_CPU_SB1
  479. select SYS_SUPPORTS_BIG_ENDIAN
  480. select SYS_SUPPORTS_HIGHMEM
  481. select SYS_SUPPORTS_LITTLE_ENDIAN
  482. select ZONE_DMA32 if 64BIT
  483. config SIBYTE_LITTLESUR
  484. bool "Sibyte BCM91250C2-LittleSur"
  485. depends on EXPERIMENTAL
  486. select BOOT_ELF32
  487. select DMA_COHERENT
  488. select NR_CPUS_DEFAULT_2
  489. select SIBYTE_SB1250
  490. select SWAP_IO_SPACE
  491. select SYS_HAS_CPU_SB1
  492. select SYS_SUPPORTS_BIG_ENDIAN
  493. select SYS_SUPPORTS_HIGHMEM
  494. select SYS_SUPPORTS_LITTLE_ENDIAN
  495. config SIBYTE_SENTOSA
  496. bool "Sibyte BCM91250E-Sentosa"
  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_LITTLE_ENDIAN
  506. config SIBYTE_BIGSUR
  507. bool "Sibyte BCM91480B-BigSur"
  508. select BOOT_ELF32
  509. select DMA_COHERENT
  510. select NR_CPUS_DEFAULT_4
  511. select SIBYTE_BCM1x80
  512. select SWAP_IO_SPACE
  513. select SYS_HAS_CPU_SB1
  514. select SYS_SUPPORTS_BIG_ENDIAN
  515. select SYS_SUPPORTS_HIGHMEM
  516. select SYS_SUPPORTS_LITTLE_ENDIAN
  517. select ZONE_DMA32 if 64BIT
  518. config SNI_RM
  519. bool "SNI RM200/300/400"
  520. select ARC if CPU_LITTLE_ENDIAN
  521. select ARC32 if CPU_LITTLE_ENDIAN
  522. select SNIPROM if CPU_BIG_ENDIAN
  523. select ARCH_MAY_HAVE_PC_FDC
  524. select BOOT_ELF32
  525. select CEVT_R4K
  526. select CSRC_R4K
  527. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  528. select DMA_NONCOHERENT
  529. select GENERIC_ISA_DMA
  530. select HW_HAS_EISA
  531. select HW_HAS_PCI
  532. select IRQ_CPU
  533. select I8253
  534. select I8259
  535. select ISA
  536. select SWAP_IO_SPACE if CPU_BIG_ENDIAN
  537. select SYS_HAS_CPU_R4X00
  538. select SYS_HAS_CPU_R5000
  539. select SYS_HAS_CPU_R10000
  540. select R5000_CPU_SCACHE
  541. select SYS_HAS_EARLY_PRINTK
  542. select SYS_SUPPORTS_32BIT_KERNEL
  543. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  544. select SYS_SUPPORTS_BIG_ENDIAN
  545. select SYS_SUPPORTS_HIGHMEM
  546. select SYS_SUPPORTS_LITTLE_ENDIAN
  547. help
  548. The SNI RM200/300/400 are MIPS-based machines manufactured by
  549. Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
  550. Technology and now in turn merged with Fujitsu. Say Y here to
  551. support this machine type.
  552. config MACH_TX39XX
  553. bool "Toshiba TX39 series based machines"
  554. config MACH_TX49XX
  555. bool "Toshiba TX49 series based machines"
  556. config MIKROTIK_RB532
  557. bool "Mikrotik RB532 boards"
  558. select CEVT_R4K
  559. select CSRC_R4K
  560. select DMA_NONCOHERENT
  561. select HW_HAS_PCI
  562. select IRQ_CPU
  563. select SYS_HAS_CPU_MIPS32_R1
  564. select SYS_SUPPORTS_32BIT_KERNEL
  565. select SYS_SUPPORTS_LITTLE_ENDIAN
  566. select SWAP_IO_SPACE
  567. select BOOT_RAW
  568. select ARCH_REQUIRE_GPIOLIB
  569. help
  570. Support the Mikrotik(tm) RouterBoard 532 series,
  571. based on the IDT RC32434 SoC.
  572. config WR_PPMC
  573. bool "Wind River PPMC board"
  574. select CEVT_R4K
  575. select CSRC_R4K
  576. select IRQ_CPU
  577. select BOOT_ELF32
  578. select DMA_NONCOHERENT
  579. select HW_HAS_PCI
  580. select PCI_GT64XXX_PCI0
  581. select SWAP_IO_SPACE
  582. select SYS_HAS_CPU_MIPS32_R1
  583. select SYS_HAS_CPU_MIPS32_R2
  584. select SYS_HAS_CPU_MIPS64_R1
  585. select SYS_HAS_CPU_NEVADA
  586. select SYS_HAS_CPU_RM7000
  587. select SYS_SUPPORTS_32BIT_KERNEL
  588. select SYS_SUPPORTS_64BIT_KERNEL
  589. select SYS_SUPPORTS_BIG_ENDIAN
  590. select SYS_SUPPORTS_LITTLE_ENDIAN
  591. help
  592. This enables support for the Wind River MIPS32 4KC PPMC evaluation
  593. board, which is based on GT64120 bridge chip.
  594. config CAVIUM_OCTEON_SIMULATOR
  595. bool "Cavium Networks Octeon Simulator"
  596. select CEVT_R4K
  597. select 64BIT_PHYS_ADDR
  598. select DMA_COHERENT
  599. select SYS_SUPPORTS_64BIT_KERNEL
  600. select SYS_SUPPORTS_BIG_ENDIAN
  601. select SYS_SUPPORTS_HIGHMEM
  602. select SYS_SUPPORTS_HOTPLUG_CPU
  603. select SYS_HAS_CPU_CAVIUM_OCTEON
  604. help
  605. The Octeon simulator is software performance model of the Cavium
  606. Octeon Processor. It supports simulating Octeon processors on x86
  607. hardware.
  608. config CAVIUM_OCTEON_REFERENCE_BOARD
  609. bool "Cavium Networks Octeon reference board"
  610. select CEVT_R4K
  611. select 64BIT_PHYS_ADDR
  612. select DMA_COHERENT
  613. select SYS_SUPPORTS_64BIT_KERNEL
  614. select SYS_SUPPORTS_BIG_ENDIAN
  615. select SYS_SUPPORTS_HIGHMEM
  616. select SYS_SUPPORTS_HOTPLUG_CPU
  617. select SYS_HAS_EARLY_PRINTK
  618. select SYS_HAS_CPU_CAVIUM_OCTEON
  619. select SWAP_IO_SPACE
  620. select HW_HAS_PCI
  621. select ARCH_SUPPORTS_MSI
  622. help
  623. This option supports all of the Octeon reference boards from Cavium
  624. Networks. It builds a kernel that dynamically determines the Octeon
  625. CPU type and supports all known board reference implementations.
  626. Some of the supported boards are:
  627. EBT3000
  628. EBH3000
  629. EBH3100
  630. Thunder
  631. Kodama
  632. Hikari
  633. Say Y here for most Octeon reference boards.
  634. endchoice
  635. source "arch/mips/alchemy/Kconfig"
  636. source "arch/mips/bcm63xx/Kconfig"
  637. source "arch/mips/jazz/Kconfig"
  638. source "arch/mips/lasat/Kconfig"
  639. source "arch/mips/pmc-sierra/Kconfig"
  640. source "arch/mips/powertv/Kconfig"
  641. source "arch/mips/sgi-ip27/Kconfig"
  642. source "arch/mips/sibyte/Kconfig"
  643. source "arch/mips/txx9/Kconfig"
  644. source "arch/mips/vr41xx/Kconfig"
  645. source "arch/mips/cavium-octeon/Kconfig"
  646. source "arch/mips/loongson/Kconfig"
  647. endmenu
  648. config RWSEM_GENERIC_SPINLOCK
  649. bool
  650. default y
  651. config RWSEM_XCHGADD_ALGORITHM
  652. bool
  653. config ARCH_HAS_ILOG2_U32
  654. bool
  655. default n
  656. config ARCH_HAS_ILOG2_U64
  657. bool
  658. default n
  659. config ARCH_SUPPORTS_OPROFILE
  660. bool
  661. default y if !MIPS_MT_SMTC
  662. config GENERIC_FIND_NEXT_BIT
  663. bool
  664. default y
  665. config GENERIC_HWEIGHT
  666. bool
  667. default y
  668. config GENERIC_CALIBRATE_DELAY
  669. bool
  670. default y
  671. config GENERIC_CLOCKEVENTS
  672. bool
  673. default y
  674. config GENERIC_TIME
  675. bool
  676. default y
  677. config GENERIC_CMOS_UPDATE
  678. bool
  679. default y
  680. config SCHED_OMIT_FRAME_POINTER
  681. bool
  682. default y
  683. config GENERIC_HARDIRQS_NO__DO_IRQ
  684. def_bool y
  685. #
  686. # Select some configuration options automatically based on user selections.
  687. #
  688. config ARC
  689. bool
  690. config ARCH_MAY_HAVE_PC_FDC
  691. bool
  692. config BOOT_RAW
  693. bool
  694. config CEVT_BCM1480
  695. bool
  696. config CEVT_DS1287
  697. bool
  698. config CEVT_GT641XX
  699. bool
  700. config CEVT_R4K_LIB
  701. bool
  702. config CEVT_R4K
  703. select CEVT_R4K_LIB
  704. bool
  705. config CEVT_SB1250
  706. bool
  707. config CEVT_TXX9
  708. bool
  709. config CSRC_BCM1480
  710. bool
  711. config CSRC_IOASIC
  712. bool
  713. config CSRC_POWERTV
  714. bool
  715. config CSRC_R4K_LIB
  716. bool
  717. config CSRC_R4K
  718. select CSRC_R4K_LIB
  719. bool
  720. config CSRC_SB1250
  721. bool
  722. config GPIO_TXX9
  723. select GENERIC_GPIO
  724. select ARCH_REQUIRE_GPIOLIB
  725. bool
  726. config CFE
  727. bool
  728. config DMA_COHERENT
  729. bool
  730. config DMA_NONCOHERENT
  731. bool
  732. select DMA_NEED_PCI_MAP_STATE
  733. config DMA_NEED_PCI_MAP_STATE
  734. bool
  735. config SYS_HAS_EARLY_PRINTK
  736. bool
  737. config HOTPLUG_CPU
  738. bool "Support for hot-pluggable CPUs"
  739. depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
  740. help
  741. Say Y here to allow turning CPUs off and on. CPUs can be
  742. controlled through /sys/devices/system/cpu.
  743. (Note: power management support will enable this option
  744. automatically on SMP systems. )
  745. Say N if you want to disable CPU hotplug.
  746. config SYS_SUPPORTS_HOTPLUG_CPU
  747. bool
  748. config I8259
  749. bool
  750. config MIPS_BONITO64
  751. bool
  752. config MIPS_MSC
  753. bool
  754. config MIPS_NILE4
  755. bool
  756. config MIPS_DISABLE_OBSOLETE_IDE
  757. bool
  758. config SYNC_R4K
  759. bool
  760. config NO_IOPORT
  761. def_bool n
  762. config GENERIC_ISA_DMA
  763. bool
  764. select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
  765. config GENERIC_ISA_DMA_SUPPORT_BROKEN
  766. bool
  767. select GENERIC_ISA_DMA
  768. config GENERIC_GPIO
  769. bool
  770. #
  771. # Endianess selection. Sufficiently obscure so many users don't know what to
  772. # answer,so we try hard to limit the available choices. Also the use of a
  773. # choice statement should be more obvious to the user.
  774. #
  775. choice
  776. prompt "Endianess selection"
  777. help
  778. Some MIPS machines can be configured for either little or big endian
  779. byte order. These modes require different kernels and a different
  780. Linux distribution. In general there is one preferred byteorder for a
  781. particular system but some systems are just as commonly used in the
  782. one or the other endianness.
  783. config CPU_BIG_ENDIAN
  784. bool "Big endian"
  785. depends on SYS_SUPPORTS_BIG_ENDIAN
  786. config CPU_LITTLE_ENDIAN
  787. bool "Little endian"
  788. depends on SYS_SUPPORTS_LITTLE_ENDIAN
  789. help
  790. endchoice
  791. config SYS_SUPPORTS_APM_EMULATION
  792. bool
  793. config SYS_SUPPORTS_BIG_ENDIAN
  794. bool
  795. config SYS_SUPPORTS_LITTLE_ENDIAN
  796. bool
  797. config SYS_SUPPORTS_HUGETLBFS
  798. bool
  799. depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
  800. default y
  801. config IRQ_CPU
  802. bool
  803. config IRQ_CPU_RM7K
  804. bool
  805. config IRQ_CPU_RM9K
  806. bool
  807. config IRQ_MSP_SLP
  808. bool
  809. config IRQ_MSP_CIC
  810. bool
  811. config IRQ_TXX9
  812. bool
  813. config IRQ_GT641XX
  814. bool
  815. config IRQ_GIC
  816. bool
  817. config IRQ_CPU_OCTEON
  818. bool
  819. config MIPS_BOARDS_GEN
  820. bool
  821. config PCI_GT64XXX_PCI0
  822. bool
  823. config NO_EXCEPT_FILL
  824. bool
  825. config MIPS_RM9122
  826. bool
  827. select SERIAL_RM9000
  828. config SOC_EMMA2RH
  829. bool
  830. select CEVT_R4K
  831. select CSRC_R4K
  832. select DMA_NONCOHERENT
  833. select IRQ_CPU
  834. select SWAP_IO_SPACE
  835. select SYS_HAS_CPU_R5500
  836. select SYS_SUPPORTS_32BIT_KERNEL
  837. select SYS_SUPPORTS_64BIT_KERNEL
  838. select SYS_SUPPORTS_BIG_ENDIAN
  839. config SOC_PNX833X
  840. bool
  841. select CEVT_R4K
  842. select CSRC_R4K
  843. select IRQ_CPU
  844. select DMA_NONCOHERENT
  845. select SYS_HAS_CPU_MIPS32_R2
  846. select SYS_SUPPORTS_32BIT_KERNEL
  847. select SYS_SUPPORTS_LITTLE_ENDIAN
  848. select SYS_SUPPORTS_BIG_ENDIAN
  849. select GENERIC_GPIO
  850. select CPU_MIPSR2_IRQ_VI
  851. config SOC_PNX8335
  852. bool
  853. select SOC_PNX833X
  854. config PNX8550
  855. bool
  856. select SOC_PNX8550
  857. config SOC_PNX8550
  858. bool
  859. select DMA_NONCOHERENT
  860. select HW_HAS_PCI
  861. select SYS_HAS_CPU_MIPS32_R1
  862. select SYS_HAS_EARLY_PRINTK
  863. select SYS_SUPPORTS_32BIT_KERNEL
  864. select GENERIC_GPIO
  865. config SWAP_IO_SPACE
  866. bool
  867. config SERIAL_RM9000
  868. bool
  869. config SGI_HAS_INDYDOG
  870. bool
  871. config SGI_HAS_HAL2
  872. bool
  873. config SGI_HAS_SEEQ
  874. bool
  875. config SGI_HAS_WD93
  876. bool
  877. config SGI_HAS_ZILOG
  878. bool
  879. config SGI_HAS_I8042
  880. bool
  881. config DEFAULT_SGI_PARTITION
  882. bool
  883. config ARC32
  884. bool
  885. config SNIPROM
  886. bool
  887. config BOOT_ELF32
  888. bool
  889. config MIPS_L1_CACHE_SHIFT
  890. int
  891. default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
  892. default "6" if MIPS_CPU_SCACHE
  893. default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
  894. default "5"
  895. config HAVE_STD_PC_SERIAL_PORT
  896. bool
  897. config ARC_CONSOLE
  898. bool "ARC console support"
  899. depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
  900. config ARC_MEMORY
  901. bool
  902. depends on MACH_JAZZ || SNI_RM || SGI_IP32
  903. default y
  904. config ARC_PROMLIB
  905. bool
  906. depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
  907. default y
  908. config ARC64
  909. bool
  910. config BOOT_ELF64
  911. bool
  912. menu "CPU selection"
  913. choice
  914. prompt "CPU type"
  915. default CPU_R4X00
  916. config CPU_LOONGSON2E
  917. bool "Loongson 2E"
  918. depends on SYS_HAS_CPU_LOONGSON2E
  919. select CPU_LOONGSON2
  920. help
  921. The Loongson 2E processor implements the MIPS III instruction set
  922. with many extensions.
  923. It has an internal FPGA northbridge, which is compatiable to
  924. bonito64.
  925. config CPU_LOONGSON2F
  926. bool "Loongson 2F"
  927. depends on SYS_HAS_CPU_LOONGSON2F
  928. select CPU_LOONGSON2
  929. help
  930. The Loongson 2F processor implements the MIPS III instruction set
  931. with many extensions.
  932. Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
  933. have a similar programming interface with FPGA northbridge used in
  934. Loongson2E.
  935. config CPU_MIPS32_R1
  936. bool "MIPS32 Release 1"
  937. depends on SYS_HAS_CPU_MIPS32_R1
  938. select CPU_HAS_PREFETCH
  939. select CPU_SUPPORTS_32BIT_KERNEL
  940. select CPU_SUPPORTS_HIGHMEM
  941. help
  942. Choose this option to build a kernel for release 1 or later of the
  943. MIPS32 architecture. Most modern embedded systems with a 32-bit
  944. MIPS processor are based on a MIPS32 processor. If you know the
  945. specific type of processor in your system, choose those that one
  946. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  947. Release 2 of the MIPS32 architecture is available since several
  948. years so chances are you even have a MIPS32 Release 2 processor
  949. in which case you should choose CPU_MIPS32_R2 instead for better
  950. performance.
  951. config CPU_MIPS32_R2
  952. bool "MIPS32 Release 2"
  953. depends on SYS_HAS_CPU_MIPS32_R2
  954. select CPU_HAS_PREFETCH
  955. select CPU_SUPPORTS_32BIT_KERNEL
  956. select CPU_SUPPORTS_HIGHMEM
  957. help
  958. Choose this option to build a kernel for release 2 or later of the
  959. MIPS32 architecture. Most modern embedded systems with a 32-bit
  960. MIPS processor are based on a MIPS32 processor. If you know the
  961. specific type of processor in your system, choose those that one
  962. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  963. config CPU_MIPS64_R1
  964. bool "MIPS64 Release 1"
  965. depends on SYS_HAS_CPU_MIPS64_R1
  966. select CPU_HAS_PREFETCH
  967. select CPU_SUPPORTS_32BIT_KERNEL
  968. select CPU_SUPPORTS_64BIT_KERNEL
  969. select CPU_SUPPORTS_HIGHMEM
  970. select CPU_SUPPORTS_HUGEPAGES
  971. help
  972. Choose this option to build a kernel for release 1 or later of the
  973. MIPS64 architecture. Many modern embedded systems with a 64-bit
  974. MIPS processor are based on a MIPS64 processor. If you know the
  975. specific type of processor in your system, choose those that one
  976. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  977. Release 2 of the MIPS64 architecture is available since several
  978. years so chances are you even have a MIPS64 Release 2 processor
  979. in which case you should choose CPU_MIPS64_R2 instead for better
  980. performance.
  981. config CPU_MIPS64_R2
  982. bool "MIPS64 Release 2"
  983. depends on SYS_HAS_CPU_MIPS64_R2
  984. select CPU_HAS_PREFETCH
  985. select CPU_SUPPORTS_32BIT_KERNEL
  986. select CPU_SUPPORTS_64BIT_KERNEL
  987. select CPU_SUPPORTS_HIGHMEM
  988. select CPU_SUPPORTS_HUGEPAGES
  989. help
  990. Choose this option to build a kernel for release 2 or later of the
  991. MIPS64 architecture. Many modern embedded systems with a 64-bit
  992. MIPS processor are based on a MIPS64 processor. If you know the
  993. specific type of processor in your system, choose those that one
  994. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  995. config CPU_R3000
  996. bool "R3000"
  997. depends on SYS_HAS_CPU_R3000
  998. select CPU_HAS_WB
  999. select CPU_SUPPORTS_32BIT_KERNEL
  1000. select CPU_SUPPORTS_HIGHMEM
  1001. help
  1002. Please make sure to pick the right CPU type. Linux/MIPS is not
  1003. designed to be generic, i.e. Kernels compiled for R3000 CPUs will
  1004. *not* work on R4000 machines and vice versa. However, since most
  1005. of the supported machines have an R4000 (or similar) CPU, R4x00
  1006. might be a safe bet. If the resulting kernel does not work,
  1007. try to recompile with R3000.
  1008. config CPU_TX39XX
  1009. bool "R39XX"
  1010. depends on SYS_HAS_CPU_TX39XX
  1011. select CPU_SUPPORTS_32BIT_KERNEL
  1012. config CPU_VR41XX
  1013. bool "R41xx"
  1014. depends on SYS_HAS_CPU_VR41XX
  1015. select CPU_SUPPORTS_32BIT_KERNEL
  1016. select CPU_SUPPORTS_64BIT_KERNEL
  1017. help
  1018. The options selects support for the NEC VR4100 series of processors.
  1019. Only choose this option if you have one of these processors as a
  1020. kernel built with this option will not run on any other type of
  1021. processor or vice versa.
  1022. config CPU_R4300
  1023. bool "R4300"
  1024. depends on SYS_HAS_CPU_R4300
  1025. select CPU_SUPPORTS_32BIT_KERNEL
  1026. select CPU_SUPPORTS_64BIT_KERNEL
  1027. help
  1028. MIPS Technologies R4300-series processors.
  1029. config CPU_R4X00
  1030. bool "R4x00"
  1031. depends on SYS_HAS_CPU_R4X00
  1032. select CPU_SUPPORTS_32BIT_KERNEL
  1033. select CPU_SUPPORTS_64BIT_KERNEL
  1034. help
  1035. MIPS Technologies R4000-series processors other than 4300, including
  1036. the R4000, R4400, R4600, and 4700.
  1037. config CPU_TX49XX
  1038. bool "R49XX"
  1039. depends on SYS_HAS_CPU_TX49XX
  1040. select CPU_HAS_PREFETCH
  1041. select CPU_SUPPORTS_32BIT_KERNEL
  1042. select CPU_SUPPORTS_64BIT_KERNEL
  1043. config CPU_R5000
  1044. bool "R5000"
  1045. depends on SYS_HAS_CPU_R5000
  1046. select CPU_SUPPORTS_32BIT_KERNEL
  1047. select CPU_SUPPORTS_64BIT_KERNEL
  1048. help
  1049. MIPS Technologies R5000-series processors other than the Nevada.
  1050. config CPU_R5432
  1051. bool "R5432"
  1052. depends on SYS_HAS_CPU_R5432
  1053. select CPU_SUPPORTS_32BIT_KERNEL
  1054. select CPU_SUPPORTS_64BIT_KERNEL
  1055. config CPU_R5500
  1056. bool "R5500"
  1057. depends on SYS_HAS_CPU_R5500
  1058. select CPU_SUPPORTS_32BIT_KERNEL
  1059. select CPU_SUPPORTS_64BIT_KERNEL
  1060. select CPU_SUPPORTS_HUGEPAGES
  1061. help
  1062. NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
  1063. instruction set.
  1064. config CPU_R6000
  1065. bool "R6000"
  1066. depends on EXPERIMENTAL
  1067. depends on SYS_HAS_CPU_R6000
  1068. select CPU_SUPPORTS_32BIT_KERNEL
  1069. help
  1070. MIPS Technologies R6000 and R6000A series processors. Note these
  1071. processors are extremely rare and the support for them is incomplete.
  1072. config CPU_NEVADA
  1073. bool "RM52xx"
  1074. depends on SYS_HAS_CPU_NEVADA
  1075. select CPU_SUPPORTS_32BIT_KERNEL
  1076. select CPU_SUPPORTS_64BIT_KERNEL
  1077. help
  1078. QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  1079. config CPU_R8000
  1080. bool "R8000"
  1081. depends on EXPERIMENTAL
  1082. depends on SYS_HAS_CPU_R8000
  1083. select CPU_HAS_PREFETCH
  1084. select CPU_SUPPORTS_64BIT_KERNEL
  1085. help
  1086. MIPS Technologies R8000 processors. Note these processors are
  1087. uncommon and the support for them is incomplete.
  1088. config CPU_R10000
  1089. bool "R10000"
  1090. depends on SYS_HAS_CPU_R10000
  1091. select CPU_HAS_PREFETCH
  1092. select CPU_SUPPORTS_32BIT_KERNEL
  1093. select CPU_SUPPORTS_64BIT_KERNEL
  1094. select CPU_SUPPORTS_HIGHMEM
  1095. help
  1096. MIPS Technologies R10000-series processors.
  1097. config CPU_RM7000
  1098. bool "RM7000"
  1099. depends on SYS_HAS_CPU_RM7000
  1100. select CPU_HAS_PREFETCH
  1101. select CPU_SUPPORTS_32BIT_KERNEL
  1102. select CPU_SUPPORTS_64BIT_KERNEL
  1103. select CPU_SUPPORTS_HIGHMEM
  1104. config CPU_RM9000
  1105. bool "RM9000"
  1106. depends on SYS_HAS_CPU_RM9000
  1107. select CPU_HAS_PREFETCH
  1108. select CPU_SUPPORTS_32BIT_KERNEL
  1109. select CPU_SUPPORTS_64BIT_KERNEL
  1110. select CPU_SUPPORTS_HIGHMEM
  1111. select WEAK_ORDERING
  1112. config CPU_SB1
  1113. bool "SB1"
  1114. depends on SYS_HAS_CPU_SB1
  1115. select CPU_SUPPORTS_32BIT_KERNEL
  1116. select CPU_SUPPORTS_64BIT_KERNEL
  1117. select CPU_SUPPORTS_HIGHMEM
  1118. select WEAK_ORDERING
  1119. config CPU_CAVIUM_OCTEON
  1120. bool "Cavium Octeon processor"
  1121. depends on SYS_HAS_CPU_CAVIUM_OCTEON
  1122. select IRQ_CPU
  1123. select IRQ_CPU_OCTEON
  1124. select CPU_HAS_PREFETCH
  1125. select CPU_SUPPORTS_64BIT_KERNEL
  1126. select SYS_SUPPORTS_SMP
  1127. select NR_CPUS_DEFAULT_16
  1128. select WEAK_ORDERING
  1129. select WEAK_REORDERING_BEYOND_LLSC
  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. config SYS_SUPPORTS_ZBOOT
  1139. bool
  1140. select HAVE_KERNEL_GZIP
  1141. select HAVE_KERNEL_BZIP2
  1142. select HAVE_KERNEL_LZMA
  1143. config SYS_SUPPORTS_ZBOOT_UART16550
  1144. bool
  1145. select SYS_SUPPORTS_ZBOOT
  1146. config CPU_LOONGSON2
  1147. bool
  1148. select CPU_SUPPORTS_32BIT_KERNEL
  1149. select CPU_SUPPORTS_64BIT_KERNEL
  1150. select CPU_SUPPORTS_HIGHMEM
  1151. config SYS_HAS_CPU_LOONGSON2E
  1152. bool
  1153. config SYS_HAS_CPU_LOONGSON2F
  1154. bool
  1155. select CPU_SUPPORTS_CPUFREQ
  1156. select CPU_SUPPORTS_ADDRWINCFG if 64BIT
  1157. select CPU_SUPPORTS_UNCACHED_ACCELERATED
  1158. config SYS_HAS_CPU_MIPS32_R1
  1159. bool
  1160. config SYS_HAS_CPU_MIPS32_R2
  1161. bool
  1162. config SYS_HAS_CPU_MIPS64_R1
  1163. bool
  1164. config SYS_HAS_CPU_MIPS64_R2
  1165. bool
  1166. config SYS_HAS_CPU_R3000
  1167. bool
  1168. config SYS_HAS_CPU_TX39XX
  1169. bool
  1170. config SYS_HAS_CPU_VR41XX
  1171. bool
  1172. config SYS_HAS_CPU_R4300
  1173. bool
  1174. config SYS_HAS_CPU_R4X00
  1175. bool
  1176. config SYS_HAS_CPU_TX49XX
  1177. bool
  1178. config SYS_HAS_CPU_R5000
  1179. bool
  1180. config SYS_HAS_CPU_R5432
  1181. bool
  1182. config SYS_HAS_CPU_R5500
  1183. bool
  1184. config SYS_HAS_CPU_R6000
  1185. bool
  1186. config SYS_HAS_CPU_NEVADA
  1187. bool
  1188. config SYS_HAS_CPU_R8000
  1189. bool
  1190. config SYS_HAS_CPU_R10000
  1191. bool
  1192. config SYS_HAS_CPU_RM7000
  1193. bool
  1194. config SYS_HAS_CPU_RM9000
  1195. bool
  1196. config SYS_HAS_CPU_SB1
  1197. bool
  1198. config SYS_HAS_CPU_CAVIUM_OCTEON
  1199. bool
  1200. #
  1201. # CPU may reorder R->R, R->W, W->R, W->W
  1202. # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
  1203. #
  1204. config WEAK_ORDERING
  1205. bool
  1206. #
  1207. # CPU may reorder reads and writes beyond LL/SC
  1208. # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
  1209. #
  1210. config WEAK_REORDERING_BEYOND_LLSC
  1211. bool
  1212. endmenu
  1213. #
  1214. # These two indicate any level of the MIPS32 and MIPS64 architecture
  1215. #
  1216. config CPU_MIPS32
  1217. bool
  1218. default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
  1219. config CPU_MIPS64
  1220. bool
  1221. default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
  1222. #
  1223. # These two indicate the revision of the architecture, either Release 1 or Release 2
  1224. #
  1225. config CPU_MIPSR1
  1226. bool
  1227. default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  1228. config CPU_MIPSR2
  1229. bool
  1230. default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
  1231. config SYS_SUPPORTS_32BIT_KERNEL
  1232. bool
  1233. config SYS_SUPPORTS_64BIT_KERNEL
  1234. bool
  1235. config CPU_SUPPORTS_32BIT_KERNEL
  1236. bool
  1237. config CPU_SUPPORTS_64BIT_KERNEL
  1238. bool
  1239. config CPU_SUPPORTS_CPUFREQ
  1240. bool
  1241. config CPU_SUPPORTS_ADDRWINCFG
  1242. bool
  1243. config CPU_SUPPORTS_HUGEPAGES
  1244. bool
  1245. config CPU_SUPPORTS_UNCACHED_ACCELERATED
  1246. bool
  1247. config MIPS_PGD_C0_CONTEXT
  1248. bool
  1249. default y if 64BIT && CPU_MIPSR2
  1250. #
  1251. # Set to y for ptrace access to watch registers.
  1252. #
  1253. config HARDWARE_WATCHPOINTS
  1254. bool
  1255. default y if CPU_MIPSR1 || CPU_MIPSR2
  1256. menu "Kernel type"
  1257. choice
  1258. prompt "Kernel code model"
  1259. help
  1260. You should only select this option if you have a workload that
  1261. actually benefits from 64-bit processing or if your machine has
  1262. large memory. You will only be presented a single option in this
  1263. menu if your system does not support both 32-bit and 64-bit kernels.
  1264. config 32BIT
  1265. bool "32-bit kernel"
  1266. depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
  1267. select TRAD_SIGNALS
  1268. help
  1269. Select this option if you want to build a 32-bit kernel.
  1270. config 64BIT
  1271. bool "64-bit kernel"
  1272. depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
  1273. select HAVE_SYSCALL_WRAPPERS
  1274. help
  1275. Select this option if you want to build a 64-bit kernel.
  1276. endchoice
  1277. choice
  1278. prompt "Kernel page size"
  1279. default PAGE_SIZE_4KB
  1280. config PAGE_SIZE_4KB
  1281. bool "4kB"
  1282. depends on !CPU_LOONGSON2
  1283. help
  1284. This option select the standard 4kB Linux page size. On some
  1285. R3000-family processors this is the only available page size. Using
  1286. 4kB page size will minimize memory consumption and is therefore
  1287. recommended for low memory systems.
  1288. config PAGE_SIZE_8KB
  1289. bool "8kB"
  1290. depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
  1291. help
  1292. Using 8kB page size will result in higher performance kernel at
  1293. the price of higher memory consumption. This option is available
  1294. only on R8000 and cnMIPS processors. Note that you will need a
  1295. suitable Linux distribution to support this.
  1296. config PAGE_SIZE_16KB
  1297. bool "16kB"
  1298. depends on !CPU_R3000 && !CPU_TX39XX
  1299. help
  1300. Using 16kB page size will result in higher performance kernel at
  1301. the price of higher memory consumption. This option is available on
  1302. all non-R3000 family processors. Note that you will need a suitable
  1303. Linux distribution to support this.
  1304. config PAGE_SIZE_32KB
  1305. bool "32kB"
  1306. depends on CPU_CAVIUM_OCTEON
  1307. help
  1308. Using 32kB page size will result in higher performance kernel at
  1309. the price of higher memory consumption. This option is available
  1310. only on cnMIPS cores. Note that you will need a suitable Linux
  1311. distribution to support this.
  1312. config PAGE_SIZE_64KB
  1313. bool "64kB"
  1314. depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
  1315. help
  1316. Using 64kB page size will result in higher performance kernel at
  1317. the price of higher memory consumption. This option is available on
  1318. all non-R3000 family processor. Not that at the time of this
  1319. writing this option is still high experimental.
  1320. endchoice
  1321. config BOARD_SCACHE
  1322. bool
  1323. config IP22_CPU_SCACHE
  1324. bool
  1325. select BOARD_SCACHE
  1326. #
  1327. # Support for a MIPS32 / MIPS64 style S-caches
  1328. #
  1329. config MIPS_CPU_SCACHE
  1330. bool
  1331. select BOARD_SCACHE
  1332. config R5000_CPU_SCACHE
  1333. bool
  1334. select BOARD_SCACHE
  1335. config RM7000_CPU_SCACHE
  1336. bool
  1337. select BOARD_SCACHE
  1338. config SIBYTE_DMA_PAGEOPS
  1339. bool "Use DMA to clear/copy pages"
  1340. depends on CPU_SB1
  1341. help
  1342. Instead of using the CPU to zero and copy pages, use a Data Mover
  1343. channel. These DMA channels are otherwise unused by the standard
  1344. SiByte Linux port. Seems to give a small performance benefit.
  1345. config CPU_HAS_PREFETCH
  1346. bool
  1347. choice
  1348. prompt "MIPS MT options"
  1349. config MIPS_MT_DISABLED
  1350. bool "Disable multithreading support."
  1351. help
  1352. Use this option if your workload can't take advantage of
  1353. MIPS hardware multithreading support. On systems that don't have
  1354. the option of an MT-enabled processor this option will be the only
  1355. option in this menu.
  1356. config MIPS_MT_SMP
  1357. bool "Use 1 TC on each available VPE for SMP"
  1358. depends on SYS_SUPPORTS_MULTITHREADING
  1359. select CPU_MIPSR2_IRQ_VI
  1360. select CPU_MIPSR2_IRQ_EI
  1361. select MIPS_MT
  1362. select NR_CPUS_DEFAULT_2
  1363. select SMP
  1364. select SYS_SUPPORTS_SCHED_SMT if SMP
  1365. select SYS_SUPPORTS_SMP
  1366. select SMP_UP
  1367. help
  1368. This is a kernel model which is also known a VSMP or lately
  1369. has been marketesed into SMVP.
  1370. config MIPS_MT_SMTC
  1371. bool "SMTC: Use all TCs on all VPEs for SMP"
  1372. depends on CPU_MIPS32_R2
  1373. #depends on CPU_MIPS64_R2 # once there is hardware ...
  1374. depends on SYS_SUPPORTS_MULTITHREADING
  1375. select CPU_MIPSR2_IRQ_VI
  1376. select CPU_MIPSR2_IRQ_EI
  1377. select MIPS_MT
  1378. select NR_CPUS_DEFAULT_8
  1379. select SMP
  1380. select SYS_SUPPORTS_SMP
  1381. select SMP_UP
  1382. help
  1383. This is a kernel model which is known a SMTC or lately has been
  1384. marketesed into SMVP.
  1385. endchoice
  1386. config MIPS_MT
  1387. bool
  1388. config SCHED_SMT
  1389. bool "SMT (multithreading) scheduler support"
  1390. depends on SYS_SUPPORTS_SCHED_SMT
  1391. default n
  1392. help
  1393. SMT scheduler support improves the CPU scheduler's decision making
  1394. when dealing with MIPS MT enabled cores at a cost of slightly
  1395. increased overhead in some places. If unsure say N here.
  1396. config SYS_SUPPORTS_SCHED_SMT
  1397. bool
  1398. config SYS_SUPPORTS_MULTITHREADING
  1399. bool
  1400. config MIPS_MT_FPAFF
  1401. bool "Dynamic FPU affinity for FP-intensive threads"
  1402. default y
  1403. depends on MIPS_MT_SMP || MIPS_MT_SMTC
  1404. config MIPS_VPE_LOADER
  1405. bool "VPE loader support."
  1406. depends on SYS_SUPPORTS_MULTITHREADING
  1407. select CPU_MIPSR2_IRQ_VI
  1408. select CPU_MIPSR2_IRQ_EI
  1409. select MIPS_MT
  1410. help
  1411. Includes a loader for loading an elf relocatable object
  1412. onto another VPE and running it.
  1413. config MIPS_MT_SMTC_IM_BACKSTOP
  1414. bool "Use per-TC register bits as backstop for inhibited IM bits"
  1415. depends on MIPS_MT_SMTC
  1416. default n
  1417. help
  1418. To support multiple TC microthreads acting as "CPUs" within
  1419. a VPE, VPE-wide interrupt mask bits must be specially manipulated
  1420. during interrupt handling. To support legacy drivers and interrupt
  1421. controller management code, SMTC has a "backstop" to track and
  1422. if necessary restore the interrupt mask. This has some performance
  1423. impact on interrupt service overhead.
  1424. config MIPS_MT_SMTC_IRQAFF
  1425. bool "Support IRQ affinity API"
  1426. depends on MIPS_MT_SMTC
  1427. default n
  1428. help
  1429. Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
  1430. for SMTC Linux kernel. Requires platform support, of which
  1431. an example can be found in the MIPS kernel i8259 and Malta
  1432. platform code. Adds some overhead to interrupt dispatch, and
  1433. should be used only if you know what you are doing.
  1434. config MIPS_VPE_LOADER_TOM
  1435. bool "Load VPE program into memory hidden from linux"
  1436. depends on MIPS_VPE_LOADER
  1437. default y
  1438. help
  1439. The loader can use memory that is present but has been hidden from
  1440. Linux using the kernel command line option "mem=xxMB". It's up to
  1441. you to ensure the amount you put in the option and the space your
  1442. program requires is less or equal to the amount physically present.
  1443. # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
  1444. config MIPS_VPE_APSP_API
  1445. bool "Enable support for AP/SP API (RTLX)"
  1446. depends on MIPS_VPE_LOADER
  1447. help
  1448. config MIPS_APSP_KSPD
  1449. bool "Enable KSPD"
  1450. depends on MIPS_VPE_APSP_API
  1451. default y
  1452. help
  1453. KSPD is a kernel daemon that accepts syscall requests from the SP
  1454. side, actions them and returns the results. It also handles the
  1455. "exit" syscall notifying other kernel modules the SP program is
  1456. exiting. You probably want to say yes here.
  1457. config MIPS_CMP
  1458. bool "MIPS CMP framework support"
  1459. depends on SYS_SUPPORTS_MIPS_CMP
  1460. select SYNC_R4K
  1461. select SYS_SUPPORTS_SMP
  1462. select SYS_SUPPORTS_SCHED_SMT if SMP
  1463. select WEAK_ORDERING
  1464. default n
  1465. help
  1466. This is a placeholder option for the GCMP work. It will need to
  1467. be handled differently...
  1468. config SB1_PASS_1_WORKAROUNDS
  1469. bool
  1470. depends on CPU_SB1_PASS_1
  1471. default y
  1472. config SB1_PASS_2_WORKAROUNDS
  1473. bool
  1474. depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
  1475. default y
  1476. config SB1_PASS_2_1_WORKAROUNDS
  1477. bool
  1478. depends on CPU_SB1 && CPU_SB1_PASS_2
  1479. default y
  1480. config 64BIT_PHYS_ADDR
  1481. bool
  1482. config CPU_HAS_SMARTMIPS
  1483. depends on SYS_SUPPORTS_SMARTMIPS
  1484. bool "Support for the SmartMIPS ASE"
  1485. help
  1486. SmartMIPS is a extension of the MIPS32 architecture aimed at
  1487. increased security at both hardware and software level for
  1488. smartcards. Enabling this option will allow proper use of the
  1489. SmartMIPS instructions by Linux applications. However a kernel with
  1490. this option will not work on a MIPS core without SmartMIPS core. If
  1491. you don't know you probably don't have SmartMIPS and should say N
  1492. here.
  1493. config CPU_HAS_WB
  1494. bool
  1495. #
  1496. # Vectored interrupt mode is an R2 feature
  1497. #
  1498. config CPU_MIPSR2_IRQ_VI
  1499. bool
  1500. #
  1501. # Extended interrupt mode is an R2 feature
  1502. #
  1503. config CPU_MIPSR2_IRQ_EI
  1504. bool
  1505. config CPU_HAS_SYNC
  1506. bool
  1507. depends on !CPU_R3000
  1508. default y
  1509. config GENERIC_CLOCKEVENTS_BROADCAST
  1510. bool
  1511. #
  1512. # CPU non-features
  1513. #
  1514. config CPU_DADDI_WORKAROUNDS
  1515. bool
  1516. config CPU_R4000_WORKAROUNDS
  1517. bool
  1518. select CPU_R4400_WORKAROUNDS
  1519. config CPU_R4400_WORKAROUNDS
  1520. bool
  1521. #
  1522. # Use the generic interrupt handling code in kernel/irq/:
  1523. #
  1524. config GENERIC_HARDIRQS
  1525. bool
  1526. default y
  1527. config GENERIC_IRQ_PROBE
  1528. bool
  1529. default y
  1530. config IRQ_PER_CPU
  1531. bool
  1532. #
  1533. # - Highmem only makes sense for the 32-bit kernel.
  1534. # - The current highmem code will only work properly on physically indexed
  1535. # caches such as R3000, SB1, R7000 or those that look like they're virtually
  1536. # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
  1537. # moment we protect the user and offer the highmem option only on machines
  1538. # where it's known to be safe. This will not offer highmem on a few systems
  1539. # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
  1540. # indexed CPUs but we're playing safe.
  1541. # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
  1542. # know they might have memory configurations that could make use of highmem
  1543. # support.
  1544. #
  1545. config HIGHMEM
  1546. bool "High Memory Support"
  1547. depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
  1548. config CPU_SUPPORTS_HIGHMEM
  1549. bool
  1550. config SYS_SUPPORTS_HIGHMEM
  1551. bool
  1552. config SYS_SUPPORTS_SMARTMIPS
  1553. bool
  1554. config ARCH_FLATMEM_ENABLE
  1555. def_bool y
  1556. depends on !NUMA && !CPU_LOONGSON2
  1557. config ARCH_DISCONTIGMEM_ENABLE
  1558. bool
  1559. default y if SGI_IP27
  1560. help
  1561. Say Y to support efficient handling of discontiguous physical memory,
  1562. for architectures which are either NUMA (Non-Uniform Memory Access)
  1563. or have huge holes in the physical address space for other reasons.
  1564. See <file:Documentation/vm/numa> for more.
  1565. config ARCH_POPULATES_NODE_MAP
  1566. def_bool y
  1567. config ARCH_SPARSEMEM_ENABLE
  1568. bool
  1569. select SPARSEMEM_STATIC
  1570. config NUMA
  1571. bool "NUMA Support"
  1572. depends on SYS_SUPPORTS_NUMA
  1573. help
  1574. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  1575. Access). This option improves performance on systems with more
  1576. than two nodes; on two node systems it is generally better to
  1577. leave it disabled; on single node systems disable this option
  1578. disabled.
  1579. config SYS_SUPPORTS_NUMA
  1580. bool
  1581. config NODES_SHIFT
  1582. int
  1583. default "6"
  1584. depends on NEED_MULTIPLE_NODES
  1585. source "mm/Kconfig"
  1586. config SMP
  1587. bool "Multi-Processing support"
  1588. depends on SYS_SUPPORTS_SMP
  1589. select IRQ_PER_CPU
  1590. select USE_GENERIC_SMP_HELPERS
  1591. help
  1592. This enables support for systems with more than one CPU. If you have
  1593. a system with only one CPU, like most personal computers, say N. If
  1594. you have a system with more than one CPU, say Y.
  1595. If you say N here, the kernel will run on single and multiprocessor
  1596. machines, but will use only one CPU of a multiprocessor machine. If
  1597. you say Y here, the kernel will run on many, but not all,
  1598. singleprocessor machines. On a singleprocessor machine, the kernel
  1599. will run faster if you say N here.
  1600. People using multiprocessor machines who say Y here should also say
  1601. Y to "Enhanced Real Time Clock Support", below.
  1602. See also the SMP-HOWTO available at
  1603. <http://www.tldp.org/docs.html#howto>.
  1604. If you don't know what to do here, say N.
  1605. config SMP_UP
  1606. bool
  1607. config SYS_SUPPORTS_MIPS_CMP
  1608. bool
  1609. config SYS_SUPPORTS_SMP
  1610. bool
  1611. config NR_CPUS_DEFAULT_1
  1612. bool
  1613. config NR_CPUS_DEFAULT_2
  1614. bool
  1615. config NR_CPUS_DEFAULT_4
  1616. bool
  1617. config NR_CPUS_DEFAULT_8
  1618. bool
  1619. config NR_CPUS_DEFAULT_16
  1620. bool
  1621. config NR_CPUS_DEFAULT_32
  1622. bool
  1623. config NR_CPUS_DEFAULT_64
  1624. bool
  1625. config NR_CPUS
  1626. int "Maximum number of CPUs (2-64)"
  1627. range 1 64 if NR_CPUS_DEFAULT_1
  1628. depends on SMP
  1629. default "1" if NR_CPUS_DEFAULT_1
  1630. default "2" if NR_CPUS_DEFAULT_2
  1631. default "4" if NR_CPUS_DEFAULT_4
  1632. default "8" if NR_CPUS_DEFAULT_8
  1633. default "16" if NR_CPUS_DEFAULT_16
  1634. default "32" if NR_CPUS_DEFAULT_32
  1635. default "64" if NR_CPUS_DEFAULT_64
  1636. help
  1637. This allows you to specify the maximum number of CPUs which this
  1638. kernel will support. The maximum supported value is 32 for 32-bit
  1639. kernel and 64 for 64-bit kernels; the minimum value which makes
  1640. sense is 1 for Qemu (useful only for kernel debugging purposes)
  1641. and 2 for all others.
  1642. This is purely to save memory - each supported CPU adds
  1643. approximately eight kilobytes to the kernel image. For best
  1644. performance should round up your number of processors to the next
  1645. power of two.
  1646. source "kernel/time/Kconfig"
  1647. #
  1648. # Timer Interrupt Frequency Configuration
  1649. #
  1650. choice
  1651. prompt "Timer frequency"
  1652. default HZ_250
  1653. help
  1654. Allows the configuration of the timer frequency.
  1655. config HZ_48
  1656. bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
  1657. config HZ_100
  1658. bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
  1659. config HZ_128
  1660. bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
  1661. config HZ_250
  1662. bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
  1663. config HZ_256
  1664. bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
  1665. config HZ_1000
  1666. bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
  1667. config HZ_1024
  1668. bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
  1669. endchoice
  1670. config SYS_SUPPORTS_48HZ
  1671. bool
  1672. config SYS_SUPPORTS_100HZ
  1673. bool
  1674. config SYS_SUPPORTS_128HZ
  1675. bool
  1676. config SYS_SUPPORTS_250HZ
  1677. bool
  1678. config SYS_SUPPORTS_256HZ
  1679. bool
  1680. config SYS_SUPPORTS_1000HZ
  1681. bool
  1682. config SYS_SUPPORTS_1024HZ
  1683. bool
  1684. config SYS_SUPPORTS_ARBIT_HZ
  1685. bool
  1686. default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
  1687. !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
  1688. !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
  1689. !SYS_SUPPORTS_1024HZ
  1690. config HZ
  1691. int
  1692. default 48 if HZ_48
  1693. default 100 if HZ_100
  1694. default 128 if HZ_128
  1695. default 250 if HZ_250
  1696. default 256 if HZ_256
  1697. default 1000 if HZ_1000
  1698. default 1024 if HZ_1024
  1699. source "kernel/Kconfig.preempt"
  1700. config MIPS_INSANE_LARGE
  1701. bool "Support for large 64-bit configurations"
  1702. depends on CPU_R10000 && 64BIT
  1703. help
  1704. MIPS R10000 does support a 44 bit / 16TB address space as opposed to
  1705. previous 64-bit processors which only supported 40 bit / 1TB. If you
  1706. need processes of more than 1TB virtual address space, say Y here.
  1707. This will result in additional memory usage, so it is not
  1708. recommended for normal users.
  1709. config KEXEC
  1710. bool "Kexec system call (EXPERIMENTAL)"
  1711. depends on EXPERIMENTAL
  1712. help
  1713. kexec is a system call that implements the ability to shutdown your
  1714. current kernel, and to start another kernel. It is like a reboot
  1715. but it is independent of the system firmware. And like a reboot
  1716. you can start any kernel with it, not just Linux.
  1717. The name comes from the similarity to the exec system call.
  1718. It is an ongoing process to be certain the hardware in a machine
  1719. is properly shutdown, so do not be surprised if this code does not
  1720. initially work for you. It may help to enable device hotplugging
  1721. support. As of this writing the exact hardware interface is
  1722. strongly in flux, so no good recommendation can be made.
  1723. config SECCOMP
  1724. bool "Enable seccomp to safely compute untrusted bytecode"
  1725. depends on PROC_FS
  1726. default y
  1727. help
  1728. This kernel feature is useful for number crunching applications
  1729. that may need to compute untrusted bytecode during their
  1730. execution. By using pipes or other transports made available to
  1731. the process as file descriptors supporting the read/write
  1732. syscalls, it's possible to isolate those applications in
  1733. their own address space using seccomp. Once seccomp is
  1734. enabled via /proc/<pid>/seccomp, it cannot be disabled
  1735. and the task is only allowed to execute a few safe syscalls
  1736. defined by each seccomp mode.
  1737. If unsure, say Y. Only embedded should say N here.
  1738. endmenu
  1739. config LOCKDEP_SUPPORT
  1740. bool
  1741. default y
  1742. config STACKTRACE_SUPPORT
  1743. bool
  1744. default y
  1745. source "init/Kconfig"
  1746. source "kernel/Kconfig.freezer"
  1747. menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
  1748. config HW_HAS_EISA
  1749. bool
  1750. config HW_HAS_PCI
  1751. bool
  1752. config PCI
  1753. bool "Support for PCI controller"
  1754. depends on HW_HAS_PCI
  1755. select PCI_DOMAINS
  1756. help
  1757. Find out whether you have a PCI motherboard. PCI is the name of a
  1758. bus system, i.e. the way the CPU talks to the other stuff inside
  1759. your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
  1760. say Y, otherwise N.
  1761. config PCI_DOMAINS
  1762. bool
  1763. source "drivers/pci/Kconfig"
  1764. #
  1765. # ISA support is now enabled via select. Too many systems still have the one
  1766. # or other ISA chip on the board that users don't know about so don't expect
  1767. # users to choose the right thing ...
  1768. #
  1769. config ISA
  1770. bool
  1771. config EISA
  1772. bool "EISA support"
  1773. depends on HW_HAS_EISA
  1774. select ISA
  1775. select GENERIC_ISA_DMA
  1776. ---help---
  1777. The Extended Industry Standard Architecture (EISA) bus was
  1778. developed as an open alternative to the IBM MicroChannel bus.
  1779. The EISA bus provided some of the features of the IBM MicroChannel
  1780. bus while maintaining backward compatibility with cards made for
  1781. the older ISA bus. The EISA bus saw limited use between 1988 and
  1782. 1995 when it was made obsolete by the PCI bus.
  1783. Say Y here if you are building a kernel for an EISA-based machine.
  1784. Otherwise, say N.
  1785. source "drivers/eisa/Kconfig"
  1786. config TC
  1787. bool "TURBOchannel support"
  1788. depends on MACH_DECSTATION
  1789. help
  1790. TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
  1791. processors. Documentation on writing device drivers for TurboChannel
  1792. is available at:
  1793. <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
  1794. #config ACCESSBUS
  1795. # bool "Access.Bus support"
  1796. # depends on TC
  1797. config MMU
  1798. bool
  1799. default y
  1800. config I8253
  1801. bool
  1802. select MIPS_EXTERNAL_TIMER
  1803. config ZONE_DMA32
  1804. bool
  1805. source "drivers/pcmcia/Kconfig"
  1806. source "drivers/pci/hotplug/Kconfig"
  1807. endmenu
  1808. menu "Executable file formats"
  1809. source "fs/Kconfig.binfmt"
  1810. config TRAD_SIGNALS
  1811. bool
  1812. config MIPS32_COMPAT
  1813. bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
  1814. depends on 64BIT
  1815. help
  1816. Select this option if you want Linux/MIPS 32-bit binary
  1817. compatibility. Since all software available for Linux/MIPS is
  1818. currently 32-bit you should say Y here.
  1819. config COMPAT
  1820. bool
  1821. depends on MIPS32_COMPAT
  1822. default y
  1823. config SYSVIPC_COMPAT
  1824. bool
  1825. depends on COMPAT && SYSVIPC
  1826. default y
  1827. config MIPS32_O32
  1828. bool "Kernel support for o32 binaries"
  1829. depends on MIPS32_COMPAT
  1830. help
  1831. Select this option if you want to run o32 binaries. These are pure
  1832. 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
  1833. existing binaries are in this format.
  1834. If unsure, say Y.
  1835. config MIPS32_N32
  1836. bool "Kernel support for n32 binaries"
  1837. depends on MIPS32_COMPAT
  1838. help
  1839. Select this option if you want to run n32 binaries. These are
  1840. 64-bit binaries using 32-bit quantities for addressing and certain
  1841. data that would normally be 64-bit. They are used in special
  1842. cases.
  1843. If unsure, say N.
  1844. config BINFMT_ELF32
  1845. bool
  1846. default y if MIPS32_O32 || MIPS32_N32
  1847. endmenu
  1848. menu "Power management options"
  1849. config ARCH_HIBERNATION_POSSIBLE
  1850. def_bool y
  1851. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  1852. config ARCH_SUSPEND_POSSIBLE
  1853. def_bool y
  1854. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  1855. source "kernel/power/Kconfig"
  1856. endmenu
  1857. source "arch/mips/kernel/cpufreq/Kconfig"
  1858. source "net/Kconfig"
  1859. source "drivers/Kconfig"
  1860. source "fs/Kconfig"
  1861. source "arch/mips/Kconfig.debug"
  1862. source "security/Kconfig"
  1863. source "crypto/Kconfig"
  1864. source "lib/Kconfig"