Kconfig 52 KB

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