Kconfig 54 KB

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