Kconfig 58 KB

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