Kconfig 54 KB

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