Kconfig 62 KB

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