Kconfig 52 KB

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