Kconfig 53 KB

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