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. select RTC_LIB if !MACH_LOONGSON
  14. mainmenu "Linux/MIPS Kernel Configuration"
  15. menu "Machine selection"
  16. config ZONE_DMA
  17. bool
  18. choice
  19. prompt "System type"
  20. default SGI_IP22
  21. config MACH_ALCHEMY
  22. bool "Alchemy processor based machines"
  23. select SYS_SUPPORTS_ZBOOT
  24. config AR7
  25. bool "Texas Instruments AR7"
  26. select BOOT_ELF32
  27. select DMA_NONCOHERENT
  28. select CEVT_R4K
  29. select CSRC_R4K
  30. select IRQ_CPU
  31. select NO_EXCEPT_FILL
  32. select SWAP_IO_SPACE
  33. select SYS_HAS_CPU_MIPS32_R1
  34. select SYS_HAS_EARLY_PRINTK
  35. select SYS_SUPPORTS_32BIT_KERNEL
  36. select SYS_SUPPORTS_LITTLE_ENDIAN
  37. select SYS_SUPPORTS_ZBOOT_UART16550
  38. select ARCH_REQUIRE_GPIOLIB
  39. select GCD
  40. select VLYNQ
  41. help
  42. Support for the Texas Instruments AR7 System-on-a-Chip
  43. family: TNETD7100, 7200 and 7300.
  44. config BCM47XX
  45. bool "Broadcom BCM47XX based boards"
  46. select CEVT_R4K
  47. select CSRC_R4K
  48. select DMA_NONCOHERENT
  49. select HW_HAS_PCI
  50. select IRQ_CPU
  51. select SYS_HAS_CPU_MIPS32_R1
  52. select SYS_SUPPORTS_32BIT_KERNEL
  53. select SYS_SUPPORTS_LITTLE_ENDIAN
  54. select SSB
  55. select SSB_DRIVER_MIPS
  56. select SSB_DRIVER_EXTIF
  57. select SSB_EMBEDDED
  58. select SSB_PCICORE_HOSTMODE if PCI
  59. select GENERIC_GPIO
  60. select SYS_HAS_EARLY_PRINTK
  61. select CFE
  62. help
  63. Support for BCM47XX based boards
  64. config BCM63XX
  65. bool "Broadcom BCM63XX based boards"
  66. select CEVT_R4K
  67. select CSRC_R4K
  68. select DMA_NONCOHERENT
  69. select IRQ_CPU
  70. select SYS_HAS_CPU_MIPS32_R1
  71. select SYS_SUPPORTS_32BIT_KERNEL
  72. select SYS_SUPPORTS_BIG_ENDIAN
  73. select SYS_HAS_EARLY_PRINTK
  74. select SWAP_IO_SPACE
  75. select ARCH_REQUIRE_GPIOLIB
  76. help
  77. Support for BCM63XX based boards
  78. config MIPS_COBALT
  79. bool "Cobalt Server"
  80. select CEVT_R4K
  81. select CSRC_R4K
  82. select CEVT_GT641XX
  83. select DMA_NONCOHERENT
  84. select HW_HAS_PCI
  85. select I8253
  86. select I8259
  87. select IRQ_CPU
  88. select IRQ_GT641XX
  89. select PCI_GT64XXX_PCI0
  90. select PCI
  91. select SYS_HAS_CPU_NEVADA
  92. select SYS_HAS_EARLY_PRINTK
  93. select SYS_SUPPORTS_32BIT_KERNEL
  94. select SYS_SUPPORTS_64BIT_KERNEL
  95. select SYS_SUPPORTS_LITTLE_ENDIAN
  96. config MACH_DECSTATION
  97. bool "DECstations"
  98. select BOOT_ELF32
  99. select CEVT_DS1287
  100. select CEVT_R4K
  101. select CSRC_IOASIC
  102. select CSRC_R4K
  103. select CPU_DADDI_WORKAROUNDS if 64BIT
  104. select CPU_R4000_WORKAROUNDS if 64BIT
  105. select CPU_R4400_WORKAROUNDS if 64BIT
  106. select DMA_NONCOHERENT
  107. select NO_IOPORT
  108. select IRQ_CPU
  109. select SYS_HAS_CPU_R3000
  110. select SYS_HAS_CPU_R4X00
  111. select SYS_SUPPORTS_32BIT_KERNEL
  112. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  113. select SYS_SUPPORTS_LITTLE_ENDIAN
  114. select SYS_SUPPORTS_128HZ
  115. select SYS_SUPPORTS_256HZ
  116. select SYS_SUPPORTS_1024HZ
  117. help
  118. This enables support for DEC's MIPS based workstations. For details
  119. see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
  120. DECstation porting pages on <http://decstation.unix-ag.org/>.
  121. If you have one of the following DECstation Models you definitely
  122. want to choose R4xx0 for the CPU Type:
  123. DECstation 5000/50
  124. DECstation 5000/150
  125. DECstation 5000/260
  126. DECsystem 5900/260
  127. otherwise choose R3000.
  128. config MACH_JAZZ
  129. bool "Jazz family of machines"
  130. select ARC
  131. select ARC32
  132. select ARCH_MAY_HAVE_PC_FDC
  133. select CEVT_R4K
  134. select CSRC_R4K
  135. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  136. select GENERIC_ISA_DMA
  137. select IRQ_CPU
  138. select I8253
  139. select I8259
  140. select ISA
  141. select SYS_HAS_CPU_R4X00
  142. select SYS_SUPPORTS_32BIT_KERNEL
  143. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  144. select SYS_SUPPORTS_100HZ
  145. help
  146. This a family of machines based on the MIPS R4030 chipset which was
  147. used by several vendors to build RISC/os and Windows NT workstations.
  148. Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
  149. Olivetti M700-10 workstations.
  150. config LASAT
  151. bool "LASAT Networks platforms"
  152. select CEVT_R4K
  153. select CSRC_R4K
  154. select DMA_NONCOHERENT
  155. select SYS_HAS_EARLY_PRINTK
  156. select HW_HAS_PCI
  157. select IRQ_CPU
  158. select PCI_GT64XXX_PCI0
  159. select MIPS_NILE4
  160. select R5000_CPU_SCACHE
  161. select SYS_HAS_CPU_R5000
  162. select SYS_SUPPORTS_32BIT_KERNEL
  163. select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
  164. select SYS_SUPPORTS_LITTLE_ENDIAN
  165. config MACH_LOONGSON
  166. bool "Loongson family of machines"
  167. select SYS_SUPPORTS_ZBOOT
  168. help
  169. This enables the support of Loongson family of machines.
  170. Loongson is a family of general-purpose MIPS-compatible CPUs.
  171. developed at Institute of Computing Technology (ICT),
  172. Chinese Academy of Sciences (CAS) in the People's Republic
  173. of China. The chief architect is Professor Weiwu Hu.
  174. config MIPS_MALTA
  175. bool "MIPS Malta board"
  176. select ARCH_MAY_HAVE_PC_FDC
  177. select BOOT_ELF32
  178. select BOOT_RAW
  179. select CEVT_R4K
  180. select CSRC_R4K
  181. select DMA_NONCOHERENT
  182. select GENERIC_ISA_DMA
  183. select IRQ_CPU
  184. select IRQ_GIC
  185. select HW_HAS_PCI
  186. select I8253
  187. select I8259
  188. select MIPS_BOARDS_GEN
  189. select MIPS_BONITO64
  190. select MIPS_CPU_SCACHE
  191. select PCI_GT64XXX_PCI0
  192. select MIPS_MSC
  193. select SWAP_IO_SPACE
  194. select SYS_HAS_CPU_MIPS32_R1
  195. select SYS_HAS_CPU_MIPS32_R2
  196. select SYS_HAS_CPU_MIPS64_R1
  197. select SYS_HAS_CPU_NEVADA
  198. select SYS_HAS_CPU_RM7000
  199. select SYS_HAS_EARLY_PRINTK
  200. select SYS_SUPPORTS_32BIT_KERNEL
  201. select SYS_SUPPORTS_64BIT_KERNEL
  202. select SYS_SUPPORTS_BIG_ENDIAN
  203. select SYS_SUPPORTS_LITTLE_ENDIAN
  204. select SYS_SUPPORTS_MIPS_CMP
  205. select SYS_SUPPORTS_MULTITHREADING
  206. select SYS_SUPPORTS_SMARTMIPS
  207. select SYS_SUPPORTS_ZBOOT
  208. help
  209. This enables support for the MIPS Technologies Malta evaluation
  210. board.
  211. config MIPS_SIM
  212. bool 'MIPS simulator (MIPSsim)'
  213. select CEVT_R4K
  214. select CSRC_R4K
  215. select DMA_NONCOHERENT
  216. select SYS_HAS_EARLY_PRINTK
  217. select IRQ_CPU
  218. select BOOT_RAW
  219. select SYS_HAS_CPU_MIPS32_R1
  220. select SYS_HAS_CPU_MIPS32_R2
  221. select SYS_HAS_EARLY_PRINTK
  222. select SYS_SUPPORTS_32BIT_KERNEL
  223. select SYS_SUPPORTS_BIG_ENDIAN
  224. select SYS_SUPPORTS_MULTITHREADING
  225. select SYS_SUPPORTS_LITTLE_ENDIAN
  226. help
  227. This option enables support for MIPS Technologies MIPSsim software
  228. emulator.
  229. config NEC_MARKEINS
  230. bool "NEC EMMA2RH Mark-eins board"
  231. select SOC_EMMA2RH
  232. select HW_HAS_PCI
  233. help
  234. This enables support for the NEC Electronics Mark-eins boards.
  235. config MACH_VR41XX
  236. bool "NEC VR4100 series based machines"
  237. select CEVT_R4K
  238. select CSRC_R4K
  239. select SYS_HAS_CPU_VR41XX
  240. select ARCH_REQUIRE_GPIOLIB
  241. config NXP_STB220
  242. bool "NXP STB220 board"
  243. select SOC_PNX833X
  244. help
  245. Support for NXP Semiconductors STB220 Development Board.
  246. config NXP_STB225
  247. bool "NXP 225 board"
  248. select SOC_PNX833X
  249. select SOC_PNX8335
  250. help
  251. Support for NXP Semiconductors STB225 Development Board.
  252. config PNX8550_JBS
  253. bool "NXP PNX8550 based JBS board"
  254. select PNX8550
  255. select SYS_SUPPORTS_LITTLE_ENDIAN
  256. config PNX8550_STB810
  257. bool "NXP PNX8550 based STB810 board"
  258. select PNX8550
  259. select SYS_SUPPORTS_LITTLE_ENDIAN
  260. config PMC_MSP
  261. bool "PMC-Sierra MSP chipsets"
  262. depends on EXPERIMENTAL
  263. select DMA_NONCOHERENT
  264. select SWAP_IO_SPACE
  265. select NO_EXCEPT_FILL
  266. select BOOT_RAW
  267. select SYS_HAS_CPU_MIPS32_R1
  268. select SYS_HAS_CPU_MIPS32_R2
  269. select SYS_SUPPORTS_32BIT_KERNEL
  270. select SYS_SUPPORTS_BIG_ENDIAN
  271. select IRQ_CPU
  272. select SERIAL_8250
  273. select SERIAL_8250_CONSOLE
  274. help
  275. This adds support for the PMC-Sierra family of Multi-Service
  276. Processor System-On-A-Chips. These parts include a number
  277. of integrated peripherals, interfaces and DSPs in addition to
  278. a variety of MIPS cores.
  279. config PMC_YOSEMITE
  280. bool "PMC-Sierra Yosemite eval board"
  281. select CEVT_R4K
  282. select CSRC_R4K
  283. select DMA_COHERENT
  284. select HW_HAS_PCI
  285. select IRQ_CPU
  286. select IRQ_CPU_RM7K
  287. select IRQ_CPU_RM9K
  288. select SWAP_IO_SPACE
  289. select SYS_HAS_CPU_RM9000
  290. select SYS_HAS_EARLY_PRINTK
  291. select SYS_SUPPORTS_32BIT_KERNEL
  292. select SYS_SUPPORTS_64BIT_KERNEL
  293. select SYS_SUPPORTS_BIG_ENDIAN
  294. select SYS_SUPPORTS_HIGHMEM
  295. select SYS_SUPPORTS_SMP
  296. help
  297. Yosemite is an evaluation board for the RM9000x2 processor
  298. manufactured by PMC-Sierra.
  299. config POWERTV
  300. bool "Cisco PowerTV"
  301. select BOOT_ELF32
  302. select CEVT_R4K
  303. select CPU_MIPSR2_IRQ_VI
  304. select CPU_MIPSR2_IRQ_EI
  305. select CSRC_POWERTV
  306. select DMA_NONCOHERENT
  307. select HW_HAS_PCI
  308. select SYS_HAS_EARLY_PRINTK
  309. select SYS_HAS_CPU_MIPS32_R2
  310. select SYS_SUPPORTS_32BIT_KERNEL
  311. select SYS_SUPPORTS_BIG_ENDIAN
  312. select SYS_SUPPORTS_HIGHMEM
  313. select USB_OHCI_LITTLE_ENDIAN
  314. help
  315. This enables support for the Cisco PowerTV Platform.
  316. config SGI_IP22
  317. bool "SGI IP22 (Indy/Indigo2)"
  318. select ARC
  319. select ARC32
  320. select BOOT_ELF32
  321. select CEVT_R4K
  322. select CSRC_R4K
  323. select DEFAULT_SGI_PARTITION
  324. select DMA_NONCOHERENT
  325. select HW_HAS_EISA
  326. select I8253
  327. select I8259
  328. select IP22_CPU_SCACHE
  329. select IRQ_CPU
  330. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  331. select SGI_HAS_I8042
  332. select SGI_HAS_INDYDOG
  333. select SGI_HAS_HAL2
  334. select SGI_HAS_SEEQ
  335. select SGI_HAS_WD93
  336. select SGI_HAS_ZILOG
  337. select SWAP_IO_SPACE
  338. select SYS_HAS_CPU_R4X00
  339. select SYS_HAS_CPU_R5000
  340. #
  341. # Disable EARLY_PRINTK for now since it leads to overwritten prom
  342. # memory during early boot on some machines.
  343. #
  344. # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  345. # for a more details discussion
  346. #
  347. # select SYS_HAS_EARLY_PRINTK
  348. select SYS_SUPPORTS_32BIT_KERNEL
  349. select SYS_SUPPORTS_64BIT_KERNEL
  350. select SYS_SUPPORTS_BIG_ENDIAN
  351. help
  352. This are the SGI Indy, Challenge S and Indigo2, as well as certain
  353. OEM variants like the Tandem CMN B006S. To compile a Linux kernel
  354. that runs on these, say Y here.
  355. config SGI_IP27
  356. bool "SGI IP27 (Origin200/2000)"
  357. select ARC
  358. select ARC64
  359. select BOOT_ELF64
  360. select DEFAULT_SGI_PARTITION
  361. select DMA_COHERENT
  362. select SYS_HAS_EARLY_PRINTK
  363. select HW_HAS_PCI
  364. select NR_CPUS_DEFAULT_64
  365. select SYS_HAS_CPU_R10000
  366. select SYS_SUPPORTS_64BIT_KERNEL
  367. select SYS_SUPPORTS_BIG_ENDIAN
  368. select SYS_SUPPORTS_NUMA
  369. select SYS_SUPPORTS_SMP
  370. help
  371. This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
  372. workstations. To compile a Linux kernel that runs on these, say Y
  373. here.
  374. config SGI_IP28
  375. bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
  376. depends on EXPERIMENTAL
  377. select ARC
  378. select ARC64
  379. select BOOT_ELF64
  380. select CEVT_R4K
  381. select CSRC_R4K
  382. select DEFAULT_SGI_PARTITION
  383. select DMA_NONCOHERENT
  384. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  385. select IRQ_CPU
  386. select HW_HAS_EISA
  387. select I8253
  388. select I8259
  389. select SGI_HAS_I8042
  390. select SGI_HAS_INDYDOG
  391. select SGI_HAS_HAL2
  392. select SGI_HAS_SEEQ
  393. select SGI_HAS_WD93
  394. select SGI_HAS_ZILOG
  395. select SWAP_IO_SPACE
  396. select SYS_HAS_CPU_R10000
  397. #
  398. # Disable EARLY_PRINTK for now since it leads to overwritten prom
  399. # memory during early boot on some machines.
  400. #
  401. # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  402. # for a more details discussion
  403. #
  404. # select SYS_HAS_EARLY_PRINTK
  405. select SYS_SUPPORTS_64BIT_KERNEL
  406. select SYS_SUPPORTS_BIG_ENDIAN
  407. help
  408. This is the SGI Indigo2 with R10000 processor. To compile a Linux
  409. kernel that runs on these, say Y here.
  410. config SGI_IP32
  411. bool "SGI IP32 (O2)"
  412. select ARC
  413. select ARC32
  414. select BOOT_ELF32
  415. select CEVT_R4K
  416. select CSRC_R4K
  417. select DMA_NONCOHERENT
  418. select HW_HAS_PCI
  419. select IRQ_CPU
  420. select R5000_CPU_SCACHE
  421. select RM7000_CPU_SCACHE
  422. select SYS_HAS_CPU_R5000
  423. select SYS_HAS_CPU_R10000 if BROKEN
  424. select SYS_HAS_CPU_RM7000
  425. select SYS_HAS_CPU_NEVADA
  426. select SYS_SUPPORTS_64BIT_KERNEL
  427. select SYS_SUPPORTS_BIG_ENDIAN
  428. help
  429. If you want this kernel to run on SGI O2 workstation, say Y here.
  430. config SIBYTE_CRHINE
  431. bool "Sibyte BCM91120C-CRhine"
  432. depends on EXPERIMENTAL
  433. select BOOT_ELF32
  434. select DMA_COHERENT
  435. select SIBYTE_BCM1120
  436. select SWAP_IO_SPACE
  437. select SYS_HAS_CPU_SB1
  438. select SYS_SUPPORTS_BIG_ENDIAN
  439. select SYS_SUPPORTS_LITTLE_ENDIAN
  440. config SIBYTE_CARMEL
  441. bool "Sibyte BCM91120x-Carmel"
  442. depends on EXPERIMENTAL
  443. select BOOT_ELF32
  444. select DMA_COHERENT
  445. select SIBYTE_BCM1120
  446. select SWAP_IO_SPACE
  447. select SYS_HAS_CPU_SB1
  448. select SYS_SUPPORTS_BIG_ENDIAN
  449. select SYS_SUPPORTS_LITTLE_ENDIAN
  450. config SIBYTE_CRHONE
  451. bool "Sibyte BCM91125C-CRhone"
  452. depends on EXPERIMENTAL
  453. select BOOT_ELF32
  454. select DMA_COHERENT
  455. select SIBYTE_BCM1125
  456. select SWAP_IO_SPACE
  457. select SYS_HAS_CPU_SB1
  458. select SYS_SUPPORTS_BIG_ENDIAN
  459. select SYS_SUPPORTS_HIGHMEM
  460. select SYS_SUPPORTS_LITTLE_ENDIAN
  461. config SIBYTE_RHONE
  462. bool "Sibyte BCM91125E-Rhone"
  463. depends on EXPERIMENTAL
  464. select BOOT_ELF32
  465. select DMA_COHERENT
  466. select SIBYTE_BCM1125H
  467. select SWAP_IO_SPACE
  468. select SYS_HAS_CPU_SB1
  469. select SYS_SUPPORTS_BIG_ENDIAN
  470. select SYS_SUPPORTS_LITTLE_ENDIAN
  471. config SIBYTE_SWARM
  472. bool "Sibyte BCM91250A-SWARM"
  473. select BOOT_ELF32
  474. select DMA_COHERENT
  475. select HAVE_PATA_PLATFORM
  476. select NR_CPUS_DEFAULT_2
  477. select SIBYTE_SB1250
  478. select SWAP_IO_SPACE
  479. select SYS_HAS_CPU_SB1
  480. select SYS_SUPPORTS_BIG_ENDIAN
  481. select SYS_SUPPORTS_HIGHMEM
  482. select SYS_SUPPORTS_LITTLE_ENDIAN
  483. select ZONE_DMA32 if 64BIT
  484. config SIBYTE_LITTLESUR
  485. bool "Sibyte BCM91250C2-LittleSur"
  486. depends on EXPERIMENTAL
  487. select BOOT_ELF32
  488. select DMA_COHERENT
  489. select HAVE_PATA_PLATFORM
  490. select NR_CPUS_DEFAULT_2
  491. select SIBYTE_SB1250
  492. select SWAP_IO_SPACE
  493. select SYS_HAS_CPU_SB1
  494. select SYS_SUPPORTS_BIG_ENDIAN
  495. select SYS_SUPPORTS_HIGHMEM
  496. select SYS_SUPPORTS_LITTLE_ENDIAN
  497. config SIBYTE_SENTOSA
  498. bool "Sibyte BCM91250E-Sentosa"
  499. depends on EXPERIMENTAL
  500. select BOOT_ELF32
  501. select DMA_COHERENT
  502. select NR_CPUS_DEFAULT_2
  503. select SIBYTE_SB1250
  504. select SWAP_IO_SPACE
  505. select SYS_HAS_CPU_SB1
  506. select SYS_SUPPORTS_BIG_ENDIAN
  507. select SYS_SUPPORTS_LITTLE_ENDIAN
  508. config SIBYTE_BIGSUR
  509. bool "Sibyte BCM91480B-BigSur"
  510. select BOOT_ELF32
  511. select DMA_COHERENT
  512. select NR_CPUS_DEFAULT_4
  513. select SIBYTE_BCM1x80
  514. select SWAP_IO_SPACE
  515. select SYS_HAS_CPU_SB1
  516. select SYS_SUPPORTS_BIG_ENDIAN
  517. select SYS_SUPPORTS_HIGHMEM
  518. select SYS_SUPPORTS_LITTLE_ENDIAN
  519. select ZONE_DMA32 if 64BIT
  520. config SNI_RM
  521. bool "SNI RM200/300/400"
  522. select ARC if CPU_LITTLE_ENDIAN
  523. select ARC32 if CPU_LITTLE_ENDIAN
  524. select SNIPROM if CPU_BIG_ENDIAN
  525. select ARCH_MAY_HAVE_PC_FDC
  526. select BOOT_ELF32
  527. select CEVT_R4K
  528. select CSRC_R4K
  529. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  530. select DMA_NONCOHERENT
  531. select GENERIC_ISA_DMA
  532. select HW_HAS_EISA
  533. select HW_HAS_PCI
  534. select IRQ_CPU
  535. select I8253
  536. select I8259
  537. select ISA
  538. select SWAP_IO_SPACE if CPU_BIG_ENDIAN
  539. select SYS_HAS_CPU_R4X00
  540. select SYS_HAS_CPU_R5000
  541. select SYS_HAS_CPU_R10000
  542. select R5000_CPU_SCACHE
  543. select SYS_HAS_EARLY_PRINTK
  544. select SYS_SUPPORTS_32BIT_KERNEL
  545. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  546. select SYS_SUPPORTS_BIG_ENDIAN
  547. select SYS_SUPPORTS_HIGHMEM
  548. select SYS_SUPPORTS_LITTLE_ENDIAN
  549. help
  550. The SNI RM200/300/400 are MIPS-based machines manufactured by
  551. Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
  552. Technology and now in turn merged with Fujitsu. Say Y here to
  553. support this machine type.
  554. config MACH_TX39XX
  555. bool "Toshiba TX39 series based machines"
  556. config MACH_TX49XX
  557. bool "Toshiba TX49 series based machines"
  558. config MIKROTIK_RB532
  559. bool "Mikrotik RB532 boards"
  560. select CEVT_R4K
  561. select CSRC_R4K
  562. select DMA_NONCOHERENT
  563. select HW_HAS_PCI
  564. select IRQ_CPU
  565. select SYS_HAS_CPU_MIPS32_R1
  566. select SYS_SUPPORTS_32BIT_KERNEL
  567. select SYS_SUPPORTS_LITTLE_ENDIAN
  568. select SWAP_IO_SPACE
  569. select BOOT_RAW
  570. select ARCH_REQUIRE_GPIOLIB
  571. help
  572. Support the Mikrotik(tm) RouterBoard 532 series,
  573. based on the IDT RC32434 SoC.
  574. config WR_PPMC
  575. bool "Wind River PPMC board"
  576. select CEVT_R4K
  577. select CSRC_R4K
  578. select IRQ_CPU
  579. select BOOT_ELF32
  580. select DMA_NONCOHERENT
  581. select HW_HAS_PCI
  582. select PCI_GT64XXX_PCI0
  583. select SWAP_IO_SPACE
  584. select SYS_HAS_CPU_MIPS32_R1
  585. select SYS_HAS_CPU_MIPS32_R2
  586. select SYS_HAS_CPU_MIPS64_R1
  587. select SYS_HAS_CPU_NEVADA
  588. select SYS_HAS_CPU_RM7000
  589. select SYS_SUPPORTS_32BIT_KERNEL
  590. select SYS_SUPPORTS_64BIT_KERNEL
  591. select SYS_SUPPORTS_BIG_ENDIAN
  592. select SYS_SUPPORTS_LITTLE_ENDIAN
  593. help
  594. This enables support for the Wind River MIPS32 4KC PPMC evaluation
  595. board, which is based on GT64120 bridge chip.
  596. config CAVIUM_OCTEON_SIMULATOR
  597. bool "Cavium Networks Octeon Simulator"
  598. select CEVT_R4K
  599. select 64BIT_PHYS_ADDR
  600. select DMA_COHERENT
  601. select SYS_SUPPORTS_64BIT_KERNEL
  602. select SYS_SUPPORTS_BIG_ENDIAN
  603. select SYS_SUPPORTS_HIGHMEM
  604. select SYS_SUPPORTS_HOTPLUG_CPU
  605. select SYS_HAS_CPU_CAVIUM_OCTEON
  606. help
  607. The Octeon simulator is software performance model of the Cavium
  608. Octeon Processor. It supports simulating Octeon processors on x86
  609. hardware.
  610. config CAVIUM_OCTEON_REFERENCE_BOARD
  611. bool "Cavium Networks Octeon reference board"
  612. select CEVT_R4K
  613. select 64BIT_PHYS_ADDR
  614. select DMA_COHERENT
  615. select SYS_SUPPORTS_64BIT_KERNEL
  616. select SYS_SUPPORTS_BIG_ENDIAN
  617. select SYS_SUPPORTS_HIGHMEM
  618. select SYS_SUPPORTS_HOTPLUG_CPU
  619. select SYS_HAS_EARLY_PRINTK
  620. select SYS_HAS_CPU_CAVIUM_OCTEON
  621. select SWAP_IO_SPACE
  622. select HW_HAS_PCI
  623. select ARCH_SUPPORTS_MSI
  624. help
  625. This option supports all of the Octeon reference boards from Cavium
  626. Networks. It builds a kernel that dynamically determines the Octeon
  627. CPU type and supports all known board reference implementations.
  628. Some of the supported boards are:
  629. EBT3000
  630. EBH3000
  631. EBH3100
  632. Thunder
  633. Kodama
  634. Hikari
  635. Say Y here for most Octeon reference boards.
  636. endchoice
  637. source "arch/mips/alchemy/Kconfig"
  638. source "arch/mips/bcm63xx/Kconfig"
  639. source "arch/mips/jazz/Kconfig"
  640. source "arch/mips/lasat/Kconfig"
  641. source "arch/mips/pmc-sierra/Kconfig"
  642. source "arch/mips/powertv/Kconfig"
  643. source "arch/mips/sgi-ip27/Kconfig"
  644. source "arch/mips/sibyte/Kconfig"
  645. source "arch/mips/txx9/Kconfig"
  646. source "arch/mips/vr41xx/Kconfig"
  647. source "arch/mips/cavium-octeon/Kconfig"
  648. source "arch/mips/loongson/Kconfig"
  649. endmenu
  650. config RWSEM_GENERIC_SPINLOCK
  651. bool
  652. default y
  653. config RWSEM_XCHGADD_ALGORITHM
  654. bool
  655. config ARCH_HAS_ILOG2_U32
  656. bool
  657. default n
  658. config ARCH_HAS_ILOG2_U64
  659. bool
  660. default n
  661. config ARCH_SUPPORTS_OPROFILE
  662. bool
  663. default y if !MIPS_MT_SMTC
  664. config GENERIC_FIND_NEXT_BIT
  665. bool
  666. default y
  667. config GENERIC_HWEIGHT
  668. bool
  669. default y
  670. config GENERIC_CALIBRATE_DELAY
  671. bool
  672. default y
  673. config GENERIC_CLOCKEVENTS
  674. bool
  675. default y
  676. config GENERIC_TIME
  677. bool
  678. default y
  679. config GENERIC_CMOS_UPDATE
  680. bool
  681. default y
  682. config SCHED_OMIT_FRAME_POINTER
  683. bool
  684. default y
  685. config GENERIC_HARDIRQS_NO__DO_IRQ
  686. def_bool y
  687. #
  688. # Select some configuration options automatically based on user selections.
  689. #
  690. config ARC
  691. bool
  692. config ARCH_MAY_HAVE_PC_FDC
  693. bool
  694. config BOOT_RAW
  695. bool
  696. config CEVT_BCM1480
  697. bool
  698. config CEVT_DS1287
  699. bool
  700. config CEVT_GT641XX
  701. bool
  702. config CEVT_R4K_LIB
  703. bool
  704. config CEVT_R4K
  705. select CEVT_R4K_LIB
  706. bool
  707. config CEVT_SB1250
  708. bool
  709. config CEVT_TXX9
  710. bool
  711. config CSRC_BCM1480
  712. bool
  713. config CSRC_IOASIC
  714. bool
  715. config CSRC_POWERTV
  716. bool
  717. config CSRC_R4K_LIB
  718. bool
  719. config CSRC_R4K
  720. select CSRC_R4K_LIB
  721. bool
  722. config CSRC_SB1250
  723. bool
  724. config GPIO_TXX9
  725. select GENERIC_GPIO
  726. select ARCH_REQUIRE_GPIOLIB
  727. bool
  728. config CFE
  729. bool
  730. config DMA_COHERENT
  731. bool
  732. config DMA_NONCOHERENT
  733. bool
  734. select NEED_DMA_MAP_STATE
  735. config NEED_DMA_MAP_STATE
  736. bool
  737. config SYS_HAS_EARLY_PRINTK
  738. bool
  739. config HOTPLUG_CPU
  740. bool "Support for hot-pluggable CPUs"
  741. depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
  742. help
  743. Say Y here to allow turning CPUs off and on. CPUs can be
  744. controlled through /sys/devices/system/cpu.
  745. (Note: power management support will enable this option
  746. automatically on SMP systems. )
  747. Say N if you want to disable CPU hotplug.
  748. config SYS_SUPPORTS_HOTPLUG_CPU
  749. bool
  750. config I8259
  751. bool
  752. config MIPS_BONITO64
  753. bool
  754. config MIPS_MSC
  755. bool
  756. config MIPS_NILE4
  757. bool
  758. config MIPS_DISABLE_OBSOLETE_IDE
  759. bool
  760. config SYNC_R4K
  761. bool
  762. config NO_IOPORT
  763. def_bool n
  764. config GENERIC_ISA_DMA
  765. bool
  766. select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
  767. config GENERIC_ISA_DMA_SUPPORT_BROKEN
  768. bool
  769. select GENERIC_ISA_DMA
  770. config GENERIC_GPIO
  771. bool
  772. #
  773. # Endianess selection. Sufficiently obscure so many users don't know what to
  774. # answer,so we try hard to limit the available choices. Also the use of a
  775. # choice statement should be more obvious to the user.
  776. #
  777. choice
  778. prompt "Endianess selection"
  779. help
  780. Some MIPS machines can be configured for either little or big endian
  781. byte order. These modes require different kernels and a different
  782. Linux distribution. In general there is one preferred byteorder for a
  783. particular system but some systems are just as commonly used in the
  784. one or the other endianness.
  785. config CPU_BIG_ENDIAN
  786. bool "Big endian"
  787. depends on SYS_SUPPORTS_BIG_ENDIAN
  788. config CPU_LITTLE_ENDIAN
  789. bool "Little endian"
  790. depends on SYS_SUPPORTS_LITTLE_ENDIAN
  791. help
  792. endchoice
  793. config SYS_SUPPORTS_APM_EMULATION
  794. bool
  795. config SYS_SUPPORTS_BIG_ENDIAN
  796. bool
  797. config SYS_SUPPORTS_LITTLE_ENDIAN
  798. bool
  799. config SYS_SUPPORTS_HUGETLBFS
  800. bool
  801. depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
  802. default y
  803. config IRQ_CPU
  804. bool
  805. config IRQ_CPU_RM7K
  806. bool
  807. config IRQ_CPU_RM9K
  808. bool
  809. config IRQ_MSP_SLP
  810. bool
  811. config IRQ_MSP_CIC
  812. bool
  813. config IRQ_TXX9
  814. bool
  815. config IRQ_GT641XX
  816. bool
  817. config IRQ_GIC
  818. bool
  819. config IRQ_CPU_OCTEON
  820. bool
  821. config MIPS_BOARDS_GEN
  822. bool
  823. config PCI_GT64XXX_PCI0
  824. bool
  825. config NO_EXCEPT_FILL
  826. bool
  827. config MIPS_RM9122
  828. bool
  829. select SERIAL_RM9000
  830. config SOC_EMMA2RH
  831. bool
  832. select CEVT_R4K
  833. select CSRC_R4K
  834. select DMA_NONCOHERENT
  835. select IRQ_CPU
  836. select SWAP_IO_SPACE
  837. select SYS_HAS_CPU_R5500
  838. select SYS_SUPPORTS_32BIT_KERNEL
  839. select SYS_SUPPORTS_64BIT_KERNEL
  840. select SYS_SUPPORTS_BIG_ENDIAN
  841. config SOC_PNX833X
  842. bool
  843. select CEVT_R4K
  844. select CSRC_R4K
  845. select IRQ_CPU
  846. select DMA_NONCOHERENT
  847. select SYS_HAS_CPU_MIPS32_R2
  848. select SYS_SUPPORTS_32BIT_KERNEL
  849. select SYS_SUPPORTS_LITTLE_ENDIAN
  850. select SYS_SUPPORTS_BIG_ENDIAN
  851. select GENERIC_GPIO
  852. select CPU_MIPSR2_IRQ_VI
  853. config SOC_PNX8335
  854. bool
  855. select SOC_PNX833X
  856. config PNX8550
  857. bool
  858. select SOC_PNX8550
  859. config SOC_PNX8550
  860. bool
  861. select DMA_NONCOHERENT
  862. select HW_HAS_PCI
  863. select SYS_HAS_CPU_MIPS32_R1
  864. select SYS_HAS_EARLY_PRINTK
  865. select SYS_SUPPORTS_32BIT_KERNEL
  866. select GENERIC_GPIO
  867. config SWAP_IO_SPACE
  868. bool
  869. config SERIAL_RM9000
  870. bool
  871. config SGI_HAS_INDYDOG
  872. bool
  873. config SGI_HAS_HAL2
  874. bool
  875. config SGI_HAS_SEEQ
  876. bool
  877. config SGI_HAS_WD93
  878. bool
  879. config SGI_HAS_ZILOG
  880. bool
  881. config SGI_HAS_I8042
  882. bool
  883. config DEFAULT_SGI_PARTITION
  884. bool
  885. config ARC32
  886. bool
  887. config SNIPROM
  888. bool
  889. config BOOT_ELF32
  890. bool
  891. config MIPS_L1_CACHE_SHIFT
  892. int
  893. default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
  894. default "6" if MIPS_CPU_SCACHE
  895. default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
  896. default "5"
  897. config HAVE_STD_PC_SERIAL_PORT
  898. bool
  899. config ARC_CONSOLE
  900. bool "ARC console support"
  901. depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
  902. config ARC_MEMORY
  903. bool
  904. depends on MACH_JAZZ || SNI_RM || SGI_IP32
  905. default y
  906. config ARC_PROMLIB
  907. bool
  908. depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
  909. default y
  910. config ARC64
  911. bool
  912. config BOOT_ELF64
  913. bool
  914. menu "CPU selection"
  915. choice
  916. prompt "CPU type"
  917. default CPU_R4X00
  918. config CPU_LOONGSON2E
  919. bool "Loongson 2E"
  920. depends on SYS_HAS_CPU_LOONGSON2E
  921. select CPU_LOONGSON2
  922. help
  923. The Loongson 2E processor implements the MIPS III instruction set
  924. with many extensions.
  925. It has an internal FPGA northbridge, which is compatiable to
  926. bonito64.
  927. config CPU_LOONGSON2F
  928. bool "Loongson 2F"
  929. depends on SYS_HAS_CPU_LOONGSON2F
  930. select CPU_LOONGSON2
  931. select GENERIC_GPIO
  932. select ARCH_REQUIRE_GPIOLIB
  933. help
  934. The Loongson 2F processor implements the MIPS III instruction set
  935. with many extensions.
  936. Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
  937. have a similar programming interface with FPGA northbridge used in
  938. Loongson2E.
  939. config CPU_MIPS32_R1
  940. bool "MIPS32 Release 1"
  941. depends on SYS_HAS_CPU_MIPS32_R1
  942. select CPU_HAS_PREFETCH
  943. select CPU_SUPPORTS_32BIT_KERNEL
  944. select CPU_SUPPORTS_HIGHMEM
  945. help
  946. Choose this option to build a kernel for release 1 or later of the
  947. MIPS32 architecture. Most modern embedded systems with a 32-bit
  948. MIPS processor are based on a MIPS32 processor. If you know the
  949. specific type of processor in your system, choose those that one
  950. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  951. Release 2 of the MIPS32 architecture is available since several
  952. years so chances are you even have a MIPS32 Release 2 processor
  953. in which case you should choose CPU_MIPS32_R2 instead for better
  954. performance.
  955. config CPU_MIPS32_R2
  956. bool "MIPS32 Release 2"
  957. depends on SYS_HAS_CPU_MIPS32_R2
  958. select CPU_HAS_PREFETCH
  959. select CPU_SUPPORTS_32BIT_KERNEL
  960. select CPU_SUPPORTS_HIGHMEM
  961. help
  962. Choose this option to build a kernel for release 2 or later of the
  963. MIPS32 architecture. Most modern embedded systems with a 32-bit
  964. MIPS processor are based on a MIPS32 processor. If you know the
  965. specific type of processor in your system, choose those that one
  966. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  967. config CPU_MIPS64_R1
  968. bool "MIPS64 Release 1"
  969. depends on SYS_HAS_CPU_MIPS64_R1
  970. select CPU_HAS_PREFETCH
  971. select CPU_SUPPORTS_32BIT_KERNEL
  972. select CPU_SUPPORTS_64BIT_KERNEL
  973. select CPU_SUPPORTS_HIGHMEM
  974. select CPU_SUPPORTS_HUGEPAGES
  975. help
  976. Choose this option to build a kernel for release 1 or later of the
  977. MIPS64 architecture. Many modern embedded systems with a 64-bit
  978. MIPS processor are based on a MIPS64 processor. If you know the
  979. specific type of processor in your system, choose those that one
  980. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  981. Release 2 of the MIPS64 architecture is available since several
  982. years so chances are you even have a MIPS64 Release 2 processor
  983. in which case you should choose CPU_MIPS64_R2 instead for better
  984. performance.
  985. config CPU_MIPS64_R2
  986. bool "MIPS64 Release 2"
  987. depends on SYS_HAS_CPU_MIPS64_R2
  988. select CPU_HAS_PREFETCH
  989. select CPU_SUPPORTS_32BIT_KERNEL
  990. select CPU_SUPPORTS_64BIT_KERNEL
  991. select CPU_SUPPORTS_HIGHMEM
  992. select CPU_SUPPORTS_HUGEPAGES
  993. help
  994. Choose this option to build a kernel for release 2 or later of the
  995. MIPS64 architecture. Many modern embedded systems with a 64-bit
  996. MIPS processor are based on a MIPS64 processor. If you know the
  997. specific type of processor in your system, choose those that one
  998. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  999. config CPU_R3000
  1000. bool "R3000"
  1001. depends on SYS_HAS_CPU_R3000
  1002. select CPU_HAS_WB
  1003. select CPU_SUPPORTS_32BIT_KERNEL
  1004. select CPU_SUPPORTS_HIGHMEM
  1005. help
  1006. Please make sure to pick the right CPU type. Linux/MIPS is not
  1007. designed to be generic, i.e. Kernels compiled for R3000 CPUs will
  1008. *not* work on R4000 machines and vice versa. However, since most
  1009. of the supported machines have an R4000 (or similar) CPU, R4x00
  1010. might be a safe bet. If the resulting kernel does not work,
  1011. try to recompile with R3000.
  1012. config CPU_TX39XX
  1013. bool "R39XX"
  1014. depends on SYS_HAS_CPU_TX39XX
  1015. select CPU_SUPPORTS_32BIT_KERNEL
  1016. config CPU_VR41XX
  1017. bool "R41xx"
  1018. depends on SYS_HAS_CPU_VR41XX
  1019. select CPU_SUPPORTS_32BIT_KERNEL
  1020. select CPU_SUPPORTS_64BIT_KERNEL
  1021. help
  1022. The options selects support for the NEC VR4100 series of processors.
  1023. Only choose this option if you have one of these processors as a
  1024. kernel built with this option will not run on any other type of
  1025. processor or vice versa.
  1026. config CPU_R4300
  1027. bool "R4300"
  1028. depends on SYS_HAS_CPU_R4300
  1029. select CPU_SUPPORTS_32BIT_KERNEL
  1030. select CPU_SUPPORTS_64BIT_KERNEL
  1031. help
  1032. MIPS Technologies R4300-series processors.
  1033. config CPU_R4X00
  1034. bool "R4x00"
  1035. depends on SYS_HAS_CPU_R4X00
  1036. select CPU_SUPPORTS_32BIT_KERNEL
  1037. select CPU_SUPPORTS_64BIT_KERNEL
  1038. help
  1039. MIPS Technologies R4000-series processors other than 4300, including
  1040. the R4000, R4400, R4600, and 4700.
  1041. config CPU_TX49XX
  1042. bool "R49XX"
  1043. depends on SYS_HAS_CPU_TX49XX
  1044. select CPU_HAS_PREFETCH
  1045. select CPU_SUPPORTS_32BIT_KERNEL
  1046. select CPU_SUPPORTS_64BIT_KERNEL
  1047. config CPU_R5000
  1048. bool "R5000"
  1049. depends on SYS_HAS_CPU_R5000
  1050. select CPU_SUPPORTS_32BIT_KERNEL
  1051. select CPU_SUPPORTS_64BIT_KERNEL
  1052. help
  1053. MIPS Technologies R5000-series processors other than the Nevada.
  1054. config CPU_R5432
  1055. bool "R5432"
  1056. depends on SYS_HAS_CPU_R5432
  1057. select CPU_SUPPORTS_32BIT_KERNEL
  1058. select CPU_SUPPORTS_64BIT_KERNEL
  1059. config CPU_R5500
  1060. bool "R5500"
  1061. depends on SYS_HAS_CPU_R5500
  1062. select CPU_SUPPORTS_32BIT_KERNEL
  1063. select CPU_SUPPORTS_64BIT_KERNEL
  1064. select CPU_SUPPORTS_HUGEPAGES
  1065. help
  1066. NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
  1067. instruction set.
  1068. config CPU_R6000
  1069. bool "R6000"
  1070. depends on EXPERIMENTAL
  1071. depends on SYS_HAS_CPU_R6000
  1072. select CPU_SUPPORTS_32BIT_KERNEL
  1073. help
  1074. MIPS Technologies R6000 and R6000A series processors. Note these
  1075. processors are extremely rare and the support for them is incomplete.
  1076. config CPU_NEVADA
  1077. bool "RM52xx"
  1078. depends on SYS_HAS_CPU_NEVADA
  1079. select CPU_SUPPORTS_32BIT_KERNEL
  1080. select CPU_SUPPORTS_64BIT_KERNEL
  1081. help
  1082. QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  1083. config CPU_R8000
  1084. bool "R8000"
  1085. depends on EXPERIMENTAL
  1086. depends on SYS_HAS_CPU_R8000
  1087. select CPU_HAS_PREFETCH
  1088. select CPU_SUPPORTS_64BIT_KERNEL
  1089. help
  1090. MIPS Technologies R8000 processors. Note these processors are
  1091. uncommon and the support for them is incomplete.
  1092. config CPU_R10000
  1093. bool "R10000"
  1094. depends on SYS_HAS_CPU_R10000
  1095. select CPU_HAS_PREFETCH
  1096. select CPU_SUPPORTS_32BIT_KERNEL
  1097. select CPU_SUPPORTS_64BIT_KERNEL
  1098. select CPU_SUPPORTS_HIGHMEM
  1099. help
  1100. MIPS Technologies R10000-series processors.
  1101. config CPU_RM7000
  1102. bool "RM7000"
  1103. depends on SYS_HAS_CPU_RM7000
  1104. select CPU_HAS_PREFETCH
  1105. select CPU_SUPPORTS_32BIT_KERNEL
  1106. select CPU_SUPPORTS_64BIT_KERNEL
  1107. select CPU_SUPPORTS_HIGHMEM
  1108. config CPU_RM9000
  1109. bool "RM9000"
  1110. depends on SYS_HAS_CPU_RM9000
  1111. select CPU_HAS_PREFETCH
  1112. select CPU_SUPPORTS_32BIT_KERNEL
  1113. select CPU_SUPPORTS_64BIT_KERNEL
  1114. select CPU_SUPPORTS_HIGHMEM
  1115. select WEAK_ORDERING
  1116. config CPU_SB1
  1117. bool "SB1"
  1118. depends on SYS_HAS_CPU_SB1
  1119. select CPU_SUPPORTS_32BIT_KERNEL
  1120. select CPU_SUPPORTS_64BIT_KERNEL
  1121. select CPU_SUPPORTS_HIGHMEM
  1122. select WEAK_ORDERING
  1123. config CPU_CAVIUM_OCTEON
  1124. bool "Cavium Octeon processor"
  1125. depends on SYS_HAS_CPU_CAVIUM_OCTEON
  1126. select IRQ_CPU
  1127. select IRQ_CPU_OCTEON
  1128. select CPU_HAS_PREFETCH
  1129. select CPU_SUPPORTS_64BIT_KERNEL
  1130. select SYS_SUPPORTS_SMP
  1131. select NR_CPUS_DEFAULT_16
  1132. select WEAK_ORDERING
  1133. select CPU_SUPPORTS_HIGHMEM
  1134. select CPU_SUPPORTS_HUGEPAGES
  1135. help
  1136. The Cavium Octeon processor is a highly integrated chip containing
  1137. many ethernet hardware widgets for networking tasks. The processor
  1138. can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
  1139. Full details can be found at http://www.caviumnetworks.com.
  1140. endchoice
  1141. if CPU_LOONGSON2F
  1142. config CPU_NOP_WORKAROUNDS
  1143. bool
  1144. config CPU_JUMP_WORKAROUNDS
  1145. bool
  1146. config CPU_LOONGSON2F_WORKAROUNDS
  1147. bool "Loongson 2F Workarounds"
  1148. default y
  1149. select CPU_NOP_WORKAROUNDS
  1150. select CPU_JUMP_WORKAROUNDS
  1151. help
  1152. Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
  1153. require workarounds. Without workarounds the system may hang
  1154. unexpectedly. For more information please refer to the gas
  1155. -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
  1156. Loongson 2F03 and later have fixed these issues and no workarounds
  1157. are needed. The workarounds have no significant side effect on them
  1158. but may decrease the performance of the system so this option should
  1159. be disabled unless the kernel is intended to be run on 2F01 or 2F02
  1160. systems.
  1161. If unsure, please say Y.
  1162. endif # CPU_LOONGSON2F
  1163. config SYS_SUPPORTS_ZBOOT
  1164. bool
  1165. select HAVE_KERNEL_GZIP
  1166. select HAVE_KERNEL_BZIP2
  1167. select HAVE_KERNEL_LZMA
  1168. select HAVE_KERNEL_LZO
  1169. config SYS_SUPPORTS_ZBOOT_UART16550
  1170. bool
  1171. select SYS_SUPPORTS_ZBOOT
  1172. config CPU_LOONGSON2
  1173. bool
  1174. select CPU_SUPPORTS_32BIT_KERNEL
  1175. select CPU_SUPPORTS_64BIT_KERNEL
  1176. select CPU_SUPPORTS_HIGHMEM
  1177. config SYS_HAS_CPU_LOONGSON2E
  1178. bool
  1179. config SYS_HAS_CPU_LOONGSON2F
  1180. bool
  1181. select CPU_SUPPORTS_CPUFREQ
  1182. select CPU_SUPPORTS_ADDRWINCFG if 64BIT
  1183. select CPU_SUPPORTS_UNCACHED_ACCELERATED
  1184. config SYS_HAS_CPU_MIPS32_R1
  1185. bool
  1186. config SYS_HAS_CPU_MIPS32_R2
  1187. bool
  1188. config SYS_HAS_CPU_MIPS64_R1
  1189. bool
  1190. config SYS_HAS_CPU_MIPS64_R2
  1191. bool
  1192. config SYS_HAS_CPU_R3000
  1193. bool
  1194. config SYS_HAS_CPU_TX39XX
  1195. bool
  1196. config SYS_HAS_CPU_VR41XX
  1197. bool
  1198. config SYS_HAS_CPU_R4300
  1199. bool
  1200. config SYS_HAS_CPU_R4X00
  1201. bool
  1202. config SYS_HAS_CPU_TX49XX
  1203. bool
  1204. config SYS_HAS_CPU_R5000
  1205. bool
  1206. config SYS_HAS_CPU_R5432
  1207. bool
  1208. config SYS_HAS_CPU_R5500
  1209. bool
  1210. config SYS_HAS_CPU_R6000
  1211. bool
  1212. config SYS_HAS_CPU_NEVADA
  1213. bool
  1214. config SYS_HAS_CPU_R8000
  1215. bool
  1216. config SYS_HAS_CPU_R10000
  1217. bool
  1218. config SYS_HAS_CPU_RM7000
  1219. bool
  1220. config SYS_HAS_CPU_RM9000
  1221. bool
  1222. config SYS_HAS_CPU_SB1
  1223. bool
  1224. config SYS_HAS_CPU_CAVIUM_OCTEON
  1225. bool
  1226. #
  1227. # CPU may reorder R->R, R->W, W->R, W->W
  1228. # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
  1229. #
  1230. config WEAK_ORDERING
  1231. bool
  1232. #
  1233. # CPU may reorder reads and writes beyond LL/SC
  1234. # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
  1235. #
  1236. config WEAK_REORDERING_BEYOND_LLSC
  1237. bool
  1238. endmenu
  1239. #
  1240. # These two indicate any level of the MIPS32 and MIPS64 architecture
  1241. #
  1242. config CPU_MIPS32
  1243. bool
  1244. default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
  1245. config CPU_MIPS64
  1246. bool
  1247. default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
  1248. #
  1249. # These two indicate the revision of the architecture, either Release 1 or Release 2
  1250. #
  1251. config CPU_MIPSR1
  1252. bool
  1253. default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  1254. config CPU_MIPSR2
  1255. bool
  1256. default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
  1257. config SYS_SUPPORTS_32BIT_KERNEL
  1258. bool
  1259. config SYS_SUPPORTS_64BIT_KERNEL
  1260. bool
  1261. config CPU_SUPPORTS_32BIT_KERNEL
  1262. bool
  1263. config CPU_SUPPORTS_64BIT_KERNEL
  1264. bool
  1265. config CPU_SUPPORTS_CPUFREQ
  1266. bool
  1267. config CPU_SUPPORTS_ADDRWINCFG
  1268. bool
  1269. config CPU_SUPPORTS_HUGEPAGES
  1270. bool
  1271. config CPU_SUPPORTS_UNCACHED_ACCELERATED
  1272. bool
  1273. config MIPS_PGD_C0_CONTEXT
  1274. bool
  1275. default y if 64BIT && CPU_MIPSR2
  1276. #
  1277. # Set to y for ptrace access to watch registers.
  1278. #
  1279. config HARDWARE_WATCHPOINTS
  1280. bool
  1281. default y if CPU_MIPSR1 || CPU_MIPSR2
  1282. menu "Kernel type"
  1283. choice
  1284. prompt "Kernel code model"
  1285. help
  1286. You should only select this option if you have a workload that
  1287. actually benefits from 64-bit processing or if your machine has
  1288. large memory. You will only be presented a single option in this
  1289. menu if your system does not support both 32-bit and 64-bit kernels.
  1290. config 32BIT
  1291. bool "32-bit kernel"
  1292. depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
  1293. select TRAD_SIGNALS
  1294. help
  1295. Select this option if you want to build a 32-bit kernel.
  1296. config 64BIT
  1297. bool "64-bit kernel"
  1298. depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
  1299. select HAVE_SYSCALL_WRAPPERS
  1300. help
  1301. Select this option if you want to build a 64-bit kernel.
  1302. endchoice
  1303. choice
  1304. prompt "Kernel page size"
  1305. default PAGE_SIZE_4KB
  1306. config PAGE_SIZE_4KB
  1307. bool "4kB"
  1308. depends on !CPU_LOONGSON2
  1309. help
  1310. This option select the standard 4kB Linux page size. On some
  1311. R3000-family processors this is the only available page size. Using
  1312. 4kB page size will minimize memory consumption and is therefore
  1313. recommended for low memory systems.
  1314. config PAGE_SIZE_8KB
  1315. bool "8kB"
  1316. depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
  1317. help
  1318. Using 8kB page size will result in higher performance kernel at
  1319. the price of higher memory consumption. This option is available
  1320. only on R8000 and cnMIPS processors. Note that you will need a
  1321. suitable Linux distribution to support this.
  1322. config PAGE_SIZE_16KB
  1323. bool "16kB"
  1324. depends on !CPU_R3000 && !CPU_TX39XX
  1325. help
  1326. Using 16kB page size will result in higher performance kernel at
  1327. the price of higher memory consumption. This option is available on
  1328. all non-R3000 family processors. Note that you will need a suitable
  1329. Linux distribution to support this.
  1330. config PAGE_SIZE_32KB
  1331. bool "32kB"
  1332. depends on CPU_CAVIUM_OCTEON
  1333. help
  1334. Using 32kB page size will result in higher performance kernel at
  1335. the price of higher memory consumption. This option is available
  1336. only on cnMIPS cores. Note that you will need a suitable Linux
  1337. distribution to support this.
  1338. config PAGE_SIZE_64KB
  1339. bool "64kB"
  1340. depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
  1341. help
  1342. Using 64kB page size will result in higher performance kernel at
  1343. the price of higher memory consumption. This option is available on
  1344. all non-R3000 family processor. Not that at the time of this
  1345. writing this option is still high experimental.
  1346. endchoice
  1347. config BOARD_SCACHE
  1348. bool
  1349. config IP22_CPU_SCACHE
  1350. bool
  1351. select BOARD_SCACHE
  1352. #
  1353. # Support for a MIPS32 / MIPS64 style S-caches
  1354. #
  1355. config MIPS_CPU_SCACHE
  1356. bool
  1357. select BOARD_SCACHE
  1358. config R5000_CPU_SCACHE
  1359. bool
  1360. select BOARD_SCACHE
  1361. config RM7000_CPU_SCACHE
  1362. bool
  1363. select BOARD_SCACHE
  1364. config SIBYTE_DMA_PAGEOPS
  1365. bool "Use DMA to clear/copy pages"
  1366. depends on CPU_SB1
  1367. help
  1368. Instead of using the CPU to zero and copy pages, use a Data Mover
  1369. channel. These DMA channels are otherwise unused by the standard
  1370. SiByte Linux port. Seems to give a small performance benefit.
  1371. config CPU_HAS_PREFETCH
  1372. bool
  1373. choice
  1374. prompt "MIPS MT options"
  1375. config MIPS_MT_DISABLED
  1376. bool "Disable multithreading support."
  1377. help
  1378. Use this option if your workload can't take advantage of
  1379. MIPS hardware multithreading support. On systems that don't have
  1380. the option of an MT-enabled processor this option will be the only
  1381. option in this menu.
  1382. config MIPS_MT_SMP
  1383. bool "Use 1 TC on each available VPE for SMP"
  1384. depends on SYS_SUPPORTS_MULTITHREADING
  1385. select CPU_MIPSR2_IRQ_VI
  1386. select CPU_MIPSR2_IRQ_EI
  1387. select MIPS_MT
  1388. select NR_CPUS_DEFAULT_2
  1389. select SMP
  1390. select SYS_SUPPORTS_SCHED_SMT if SMP
  1391. select SYS_SUPPORTS_SMP
  1392. select SMP_UP
  1393. help
  1394. This is a kernel model which is also known a VSMP or lately
  1395. has been marketesed into SMVP.
  1396. config MIPS_MT_SMTC
  1397. bool "SMTC: Use all TCs on all VPEs for SMP"
  1398. depends on CPU_MIPS32_R2
  1399. #depends on CPU_MIPS64_R2 # once there is hardware ...
  1400. depends on SYS_SUPPORTS_MULTITHREADING
  1401. select CPU_MIPSR2_IRQ_VI
  1402. select CPU_MIPSR2_IRQ_EI
  1403. select MIPS_MT
  1404. select NR_CPUS_DEFAULT_8
  1405. select SMP
  1406. select SYS_SUPPORTS_SMP
  1407. select SMP_UP
  1408. help
  1409. This is a kernel model which is known a SMTC or lately has been
  1410. marketesed into SMVP.
  1411. endchoice
  1412. config MIPS_MT
  1413. bool
  1414. config SCHED_SMT
  1415. bool "SMT (multithreading) scheduler support"
  1416. depends on SYS_SUPPORTS_SCHED_SMT
  1417. default n
  1418. help
  1419. SMT scheduler support improves the CPU scheduler's decision making
  1420. when dealing with MIPS MT enabled cores at a cost of slightly
  1421. increased overhead in some places. If unsure say N here.
  1422. config SYS_SUPPORTS_SCHED_SMT
  1423. bool
  1424. config SYS_SUPPORTS_MULTITHREADING
  1425. bool
  1426. config MIPS_MT_FPAFF
  1427. bool "Dynamic FPU affinity for FP-intensive threads"
  1428. default y
  1429. depends on MIPS_MT_SMP || MIPS_MT_SMTC
  1430. config MIPS_VPE_LOADER
  1431. bool "VPE loader support."
  1432. depends on SYS_SUPPORTS_MULTITHREADING
  1433. select CPU_MIPSR2_IRQ_VI
  1434. select CPU_MIPSR2_IRQ_EI
  1435. select MIPS_MT
  1436. help
  1437. Includes a loader for loading an elf relocatable object
  1438. onto another VPE and running it.
  1439. config MIPS_MT_SMTC_IM_BACKSTOP
  1440. bool "Use per-TC register bits as backstop for inhibited IM bits"
  1441. depends on MIPS_MT_SMTC
  1442. default n
  1443. help
  1444. To support multiple TC microthreads acting as "CPUs" within
  1445. a VPE, VPE-wide interrupt mask bits must be specially manipulated
  1446. during interrupt handling. To support legacy drivers and interrupt
  1447. controller management code, SMTC has a "backstop" to track and
  1448. if necessary restore the interrupt mask. This has some performance
  1449. impact on interrupt service overhead.
  1450. config MIPS_MT_SMTC_IRQAFF
  1451. bool "Support IRQ affinity API"
  1452. depends on MIPS_MT_SMTC
  1453. default n
  1454. help
  1455. Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
  1456. for SMTC Linux kernel. Requires platform support, of which
  1457. an example can be found in the MIPS kernel i8259 and Malta
  1458. platform code. Adds some overhead to interrupt dispatch, and
  1459. should be used only if you know what you are doing.
  1460. config MIPS_VPE_LOADER_TOM
  1461. bool "Load VPE program into memory hidden from linux"
  1462. depends on MIPS_VPE_LOADER
  1463. default y
  1464. help
  1465. The loader can use memory that is present but has been hidden from
  1466. Linux using the kernel command line option "mem=xxMB". It's up to
  1467. you to ensure the amount you put in the option and the space your
  1468. program requires is less or equal to the amount physically present.
  1469. # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
  1470. config MIPS_VPE_APSP_API
  1471. bool "Enable support for AP/SP API (RTLX)"
  1472. depends on MIPS_VPE_LOADER
  1473. help
  1474. config MIPS_APSP_KSPD
  1475. bool "Enable KSPD"
  1476. depends on MIPS_VPE_APSP_API
  1477. default y
  1478. help
  1479. KSPD is a kernel daemon that accepts syscall requests from the SP
  1480. side, actions them and returns the results. It also handles the
  1481. "exit" syscall notifying other kernel modules the SP program is
  1482. exiting. You probably want to say yes here.
  1483. config MIPS_CMP
  1484. bool "MIPS CMP framework support"
  1485. depends on SYS_SUPPORTS_MIPS_CMP
  1486. select SYNC_R4K
  1487. select SYS_SUPPORTS_SMP
  1488. select SYS_SUPPORTS_SCHED_SMT if SMP
  1489. select WEAK_ORDERING
  1490. default n
  1491. help
  1492. This is a placeholder option for the GCMP work. It will need to
  1493. be handled differently...
  1494. config SB1_PASS_1_WORKAROUNDS
  1495. bool
  1496. depends on CPU_SB1_PASS_1
  1497. default y
  1498. config SB1_PASS_2_WORKAROUNDS
  1499. bool
  1500. depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
  1501. default y
  1502. config SB1_PASS_2_1_WORKAROUNDS
  1503. bool
  1504. depends on CPU_SB1 && CPU_SB1_PASS_2
  1505. default y
  1506. config 64BIT_PHYS_ADDR
  1507. bool
  1508. config ARCH_PHYS_ADDR_T_64BIT
  1509. def_bool 64BIT_PHYS_ADDR
  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"