Kconfig 62 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581
  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. select SYS_SUPPORTS_ZBOOT
  744. select SYS_SUPPORTS_ZBOOT_UART16550
  745. help
  746. Support for systems based on Netlogic XLR and XLS processors.
  747. Say Y here if you have a XLR or XLS based board.
  748. config NLM_XLP_BOARD
  749. bool "Netlogic XLP based systems"
  750. select BOOT_ELF32
  751. select NLM_COMMON
  752. select SYS_HAS_CPU_XLP
  753. select SYS_SUPPORTS_SMP
  754. select HW_HAS_PCI
  755. select SYS_SUPPORTS_32BIT_KERNEL
  756. select SYS_SUPPORTS_64BIT_KERNEL
  757. select 64BIT_PHYS_ADDR
  758. select SYS_SUPPORTS_BIG_ENDIAN
  759. select SYS_SUPPORTS_LITTLE_ENDIAN
  760. select SYS_SUPPORTS_HIGHMEM
  761. select DMA_COHERENT
  762. select NR_CPUS_DEFAULT_32
  763. select CEVT_R4K
  764. select CSRC_R4K
  765. select IRQ_CPU
  766. select ZONE_DMA32 if 64BIT
  767. select SYNC_R4K
  768. select SYS_HAS_EARLY_PRINTK
  769. select USE_OF
  770. select SYS_SUPPORTS_ZBOOT
  771. select SYS_SUPPORTS_ZBOOT_UART16550
  772. help
  773. This board is based on Netlogic XLP Processor.
  774. Say Y here if you have a XLP based board.
  775. endchoice
  776. source "arch/mips/alchemy/Kconfig"
  777. source "arch/mips/ath79/Kconfig"
  778. source "arch/mips/bcm47xx/Kconfig"
  779. source "arch/mips/bcm63xx/Kconfig"
  780. source "arch/mips/jazz/Kconfig"
  781. source "arch/mips/jz4740/Kconfig"
  782. source "arch/mips/lantiq/Kconfig"
  783. source "arch/mips/lasat/Kconfig"
  784. source "arch/mips/pmcs-msp71xx/Kconfig"
  785. source "arch/mips/powertv/Kconfig"
  786. source "arch/mips/ralink/Kconfig"
  787. source "arch/mips/sgi-ip27/Kconfig"
  788. source "arch/mips/sibyte/Kconfig"
  789. source "arch/mips/txx9/Kconfig"
  790. source "arch/mips/vr41xx/Kconfig"
  791. source "arch/mips/cavium-octeon/Kconfig"
  792. source "arch/mips/loongson/Kconfig"
  793. source "arch/mips/loongson1/Kconfig"
  794. source "arch/mips/netlogic/Kconfig"
  795. endmenu
  796. config RWSEM_GENERIC_SPINLOCK
  797. bool
  798. default y
  799. config RWSEM_XCHGADD_ALGORITHM
  800. bool
  801. config ARCH_HAS_ILOG2_U32
  802. bool
  803. default n
  804. config ARCH_HAS_ILOG2_U64
  805. bool
  806. default n
  807. config GENERIC_HWEIGHT
  808. bool
  809. default y
  810. config GENERIC_CALIBRATE_DELAY
  811. bool
  812. default y
  813. config SCHED_OMIT_FRAME_POINTER
  814. bool
  815. default y
  816. #
  817. # Select some configuration options automatically based on user selections.
  818. #
  819. config FW_ARC
  820. bool
  821. config ARCH_MAY_HAVE_PC_FDC
  822. bool
  823. config BOOT_RAW
  824. bool
  825. config CEVT_BCM1480
  826. bool
  827. config CEVT_DS1287
  828. bool
  829. config CEVT_GT641XX
  830. bool
  831. config CEVT_R4K
  832. bool
  833. config CEVT_GIC
  834. bool
  835. config CEVT_SB1250
  836. bool
  837. config CEVT_TXX9
  838. bool
  839. config CSRC_BCM1480
  840. bool
  841. config CSRC_IOASIC
  842. bool
  843. config CSRC_POWERTV
  844. bool
  845. config CSRC_R4K
  846. bool
  847. config CSRC_GIC
  848. bool
  849. config CSRC_SB1250
  850. bool
  851. config GPIO_TXX9
  852. select ARCH_REQUIRE_GPIOLIB
  853. bool
  854. config FW_CFE
  855. bool
  856. config ARCH_DMA_ADDR_T_64BIT
  857. def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT
  858. config DMA_COHERENT
  859. bool
  860. config DMA_NONCOHERENT
  861. bool
  862. select NEED_DMA_MAP_STATE
  863. config NEED_DMA_MAP_STATE
  864. bool
  865. config SYS_HAS_EARLY_PRINTK
  866. bool
  867. config HOTPLUG_CPU
  868. bool "Support for hot-pluggable CPUs"
  869. depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
  870. help
  871. Say Y here to allow turning CPUs off and on. CPUs can be
  872. controlled through /sys/devices/system/cpu.
  873. (Note: power management support will enable this option
  874. automatically on SMP systems. )
  875. Say N if you want to disable CPU hotplug.
  876. config SYS_SUPPORTS_HOTPLUG_CPU
  877. bool
  878. config I8259
  879. bool
  880. config MIPS_BONITO64
  881. bool
  882. config MIPS_MSC
  883. bool
  884. config MIPS_NILE4
  885. bool
  886. config SYNC_R4K
  887. bool
  888. config MIPS_MACHINE
  889. def_bool n
  890. config NO_IOPORT
  891. def_bool n
  892. config GENERIC_ISA_DMA
  893. bool
  894. select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
  895. select ISA_DMA_API
  896. config GENERIC_ISA_DMA_SUPPORT_BROKEN
  897. bool
  898. select GENERIC_ISA_DMA
  899. config ISA_DMA_API
  900. bool
  901. config HOLES_IN_ZONE
  902. bool
  903. #
  904. # Endianness selection. Sufficiently obscure so many users don't know what to
  905. # answer,so we try hard to limit the available choices. Also the use of a
  906. # choice statement should be more obvious to the user.
  907. #
  908. choice
  909. prompt "Endianness selection"
  910. help
  911. Some MIPS machines can be configured for either little or big endian
  912. byte order. These modes require different kernels and a different
  913. Linux distribution. In general there is one preferred byteorder for a
  914. particular system but some systems are just as commonly used in the
  915. one or the other endianness.
  916. config CPU_BIG_ENDIAN
  917. bool "Big endian"
  918. depends on SYS_SUPPORTS_BIG_ENDIAN
  919. config CPU_LITTLE_ENDIAN
  920. bool "Little endian"
  921. depends on SYS_SUPPORTS_LITTLE_ENDIAN
  922. endchoice
  923. config EXPORT_UASM
  924. bool
  925. config SYS_SUPPORTS_APM_EMULATION
  926. bool
  927. config SYS_SUPPORTS_BIG_ENDIAN
  928. bool
  929. config SYS_SUPPORTS_LITTLE_ENDIAN
  930. bool
  931. config SYS_SUPPORTS_HUGETLBFS
  932. bool
  933. depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
  934. default y
  935. config MIPS_HUGE_TLB_SUPPORT
  936. def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
  937. config IRQ_CPU
  938. bool
  939. config IRQ_CPU_RM7K
  940. bool
  941. config IRQ_MSP_SLP
  942. bool
  943. config IRQ_MSP_CIC
  944. bool
  945. config IRQ_TXX9
  946. bool
  947. config IRQ_GT641XX
  948. bool
  949. config IRQ_GIC
  950. bool
  951. config PCI_GT64XXX_PCI0
  952. bool
  953. config NO_EXCEPT_FILL
  954. bool
  955. config SOC_EMMA2RH
  956. bool
  957. select CEVT_R4K
  958. select CSRC_R4K
  959. select DMA_NONCOHERENT
  960. select IRQ_CPU
  961. select SWAP_IO_SPACE
  962. select SYS_HAS_CPU_R5500
  963. select SYS_SUPPORTS_32BIT_KERNEL
  964. select SYS_SUPPORTS_64BIT_KERNEL
  965. select SYS_SUPPORTS_BIG_ENDIAN
  966. config SOC_PNX833X
  967. bool
  968. select CEVT_R4K
  969. select CSRC_R4K
  970. select IRQ_CPU
  971. select DMA_NONCOHERENT
  972. select SYS_HAS_CPU_MIPS32_R2
  973. select SYS_SUPPORTS_32BIT_KERNEL
  974. select SYS_SUPPORTS_LITTLE_ENDIAN
  975. select SYS_SUPPORTS_BIG_ENDIAN
  976. select CPU_MIPSR2_IRQ_VI
  977. config SOC_PNX8335
  978. bool
  979. select SOC_PNX833X
  980. config SWAP_IO_SPACE
  981. bool
  982. config SGI_HAS_INDYDOG
  983. bool
  984. config SGI_HAS_HAL2
  985. bool
  986. config SGI_HAS_SEEQ
  987. bool
  988. config SGI_HAS_WD93
  989. bool
  990. config SGI_HAS_ZILOG
  991. bool
  992. config SGI_HAS_I8042
  993. bool
  994. config DEFAULT_SGI_PARTITION
  995. bool
  996. config FW_ARC32
  997. bool
  998. config FW_SNIPROM
  999. bool
  1000. config BOOT_ELF32
  1001. bool
  1002. config MIPS_L1_CACHE_SHIFT
  1003. int
  1004. default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL || SOC_RT288X
  1005. default "6" if MIPS_CPU_SCACHE
  1006. default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
  1007. default "5"
  1008. config HAVE_STD_PC_SERIAL_PORT
  1009. bool
  1010. config ARC_CONSOLE
  1011. bool "ARC console support"
  1012. depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
  1013. config ARC_MEMORY
  1014. bool
  1015. depends on MACH_JAZZ || SNI_RM || SGI_IP32
  1016. default y
  1017. config ARC_PROMLIB
  1018. bool
  1019. depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
  1020. default y
  1021. config FW_ARC64
  1022. bool
  1023. config BOOT_ELF64
  1024. bool
  1025. menu "CPU selection"
  1026. choice
  1027. prompt "CPU type"
  1028. default CPU_R4X00
  1029. config CPU_LOONGSON2E
  1030. bool "Loongson 2E"
  1031. depends on SYS_HAS_CPU_LOONGSON2E
  1032. select CPU_LOONGSON2
  1033. help
  1034. The Loongson 2E processor implements the MIPS III instruction set
  1035. with many extensions.
  1036. It has an internal FPGA northbridge, which is compatible to
  1037. bonito64.
  1038. config CPU_LOONGSON2F
  1039. bool "Loongson 2F"
  1040. depends on SYS_HAS_CPU_LOONGSON2F
  1041. select CPU_LOONGSON2
  1042. select ARCH_REQUIRE_GPIOLIB
  1043. help
  1044. The Loongson 2F processor implements the MIPS III instruction set
  1045. with many extensions.
  1046. Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
  1047. have a similar programming interface with FPGA northbridge used in
  1048. Loongson2E.
  1049. config CPU_LOONGSON1B
  1050. bool "Loongson 1B"
  1051. depends on SYS_HAS_CPU_LOONGSON1B
  1052. select CPU_LOONGSON1
  1053. help
  1054. The Loongson 1B is a 32-bit SoC, which implements the MIPS32
  1055. release 2 instruction set.
  1056. config CPU_MIPS32_R1
  1057. bool "MIPS32 Release 1"
  1058. depends on SYS_HAS_CPU_MIPS32_R1
  1059. select CPU_HAS_PREFETCH
  1060. select CPU_SUPPORTS_32BIT_KERNEL
  1061. select CPU_SUPPORTS_HIGHMEM
  1062. help
  1063. Choose this option to build a kernel for release 1 or later of the
  1064. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1065. MIPS processor are based on a MIPS32 processor. If you know the
  1066. specific type of processor in your system, choose those that one
  1067. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1068. Release 2 of the MIPS32 architecture is available since several
  1069. years so chances are you even have a MIPS32 Release 2 processor
  1070. in which case you should choose CPU_MIPS32_R2 instead for better
  1071. performance.
  1072. config CPU_MIPS32_R2
  1073. bool "MIPS32 Release 2"
  1074. depends on SYS_HAS_CPU_MIPS32_R2
  1075. select CPU_HAS_PREFETCH
  1076. select CPU_SUPPORTS_32BIT_KERNEL
  1077. select CPU_SUPPORTS_HIGHMEM
  1078. select HAVE_KVM
  1079. help
  1080. Choose this option to build a kernel for release 2 or later of the
  1081. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1082. MIPS processor are based on a MIPS32 processor. If you know the
  1083. specific type of processor in your system, choose those that one
  1084. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1085. config CPU_MIPS64_R1
  1086. bool "MIPS64 Release 1"
  1087. depends on SYS_HAS_CPU_MIPS64_R1
  1088. select CPU_HAS_PREFETCH
  1089. select CPU_SUPPORTS_32BIT_KERNEL
  1090. select CPU_SUPPORTS_64BIT_KERNEL
  1091. select CPU_SUPPORTS_HIGHMEM
  1092. select CPU_SUPPORTS_HUGEPAGES
  1093. help
  1094. Choose this option to build a kernel for release 1 or later of the
  1095. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1096. MIPS processor are based on a MIPS64 processor. If you know the
  1097. specific type of processor in your system, choose those that one
  1098. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1099. Release 2 of the MIPS64 architecture is available since several
  1100. years so chances are you even have a MIPS64 Release 2 processor
  1101. in which case you should choose CPU_MIPS64_R2 instead for better
  1102. performance.
  1103. config CPU_MIPS64_R2
  1104. bool "MIPS64 Release 2"
  1105. depends on SYS_HAS_CPU_MIPS64_R2
  1106. select CPU_HAS_PREFETCH
  1107. select CPU_SUPPORTS_32BIT_KERNEL
  1108. select CPU_SUPPORTS_64BIT_KERNEL
  1109. select CPU_SUPPORTS_HIGHMEM
  1110. select CPU_SUPPORTS_HUGEPAGES
  1111. help
  1112. Choose this option to build a kernel for release 2 or later of the
  1113. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1114. MIPS processor are based on a MIPS64 processor. If you know the
  1115. specific type of processor in your system, choose those that one
  1116. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1117. config CPU_R3000
  1118. bool "R3000"
  1119. depends on SYS_HAS_CPU_R3000
  1120. select CPU_HAS_WB
  1121. select CPU_SUPPORTS_32BIT_KERNEL
  1122. select CPU_SUPPORTS_HIGHMEM
  1123. help
  1124. Please make sure to pick the right CPU type. Linux/MIPS is not
  1125. designed to be generic, i.e. Kernels compiled for R3000 CPUs will
  1126. *not* work on R4000 machines and vice versa. However, since most
  1127. of the supported machines have an R4000 (or similar) CPU, R4x00
  1128. might be a safe bet. If the resulting kernel does not work,
  1129. try to recompile with R3000.
  1130. config CPU_TX39XX
  1131. bool "R39XX"
  1132. depends on SYS_HAS_CPU_TX39XX
  1133. select CPU_SUPPORTS_32BIT_KERNEL
  1134. config CPU_VR41XX
  1135. bool "R41xx"
  1136. depends on SYS_HAS_CPU_VR41XX
  1137. select CPU_SUPPORTS_32BIT_KERNEL
  1138. select CPU_SUPPORTS_64BIT_KERNEL
  1139. help
  1140. The options selects support for the NEC VR4100 series of processors.
  1141. Only choose this option if you have one of these processors as a
  1142. kernel built with this option will not run on any other type of
  1143. processor or vice versa.
  1144. config CPU_R4300
  1145. bool "R4300"
  1146. depends on SYS_HAS_CPU_R4300
  1147. select CPU_SUPPORTS_32BIT_KERNEL
  1148. select CPU_SUPPORTS_64BIT_KERNEL
  1149. help
  1150. MIPS Technologies R4300-series processors.
  1151. config CPU_R4X00
  1152. bool "R4x00"
  1153. depends on SYS_HAS_CPU_R4X00
  1154. select CPU_SUPPORTS_32BIT_KERNEL
  1155. select CPU_SUPPORTS_64BIT_KERNEL
  1156. select CPU_SUPPORTS_HUGEPAGES
  1157. help
  1158. MIPS Technologies R4000-series processors other than 4300, including
  1159. the R4000, R4400, R4600, and 4700.
  1160. config CPU_TX49XX
  1161. bool "R49XX"
  1162. depends on SYS_HAS_CPU_TX49XX
  1163. select CPU_HAS_PREFETCH
  1164. select CPU_SUPPORTS_32BIT_KERNEL
  1165. select CPU_SUPPORTS_64BIT_KERNEL
  1166. select CPU_SUPPORTS_HUGEPAGES
  1167. config CPU_R5000
  1168. bool "R5000"
  1169. depends on SYS_HAS_CPU_R5000
  1170. select CPU_SUPPORTS_32BIT_KERNEL
  1171. select CPU_SUPPORTS_64BIT_KERNEL
  1172. select CPU_SUPPORTS_HUGEPAGES
  1173. help
  1174. MIPS Technologies R5000-series processors other than the Nevada.
  1175. config CPU_R5432
  1176. bool "R5432"
  1177. depends on SYS_HAS_CPU_R5432
  1178. select CPU_SUPPORTS_32BIT_KERNEL
  1179. select CPU_SUPPORTS_64BIT_KERNEL
  1180. select CPU_SUPPORTS_HUGEPAGES
  1181. config CPU_R5500
  1182. bool "R5500"
  1183. depends on SYS_HAS_CPU_R5500
  1184. select CPU_SUPPORTS_32BIT_KERNEL
  1185. select CPU_SUPPORTS_64BIT_KERNEL
  1186. select CPU_SUPPORTS_HUGEPAGES
  1187. help
  1188. NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
  1189. instruction set.
  1190. config CPU_R6000
  1191. bool "R6000"
  1192. depends on SYS_HAS_CPU_R6000
  1193. select CPU_SUPPORTS_32BIT_KERNEL
  1194. help
  1195. MIPS Technologies R6000 and R6000A series processors. Note these
  1196. processors are extremely rare and the support for them is incomplete.
  1197. config CPU_NEVADA
  1198. bool "RM52xx"
  1199. depends on SYS_HAS_CPU_NEVADA
  1200. select CPU_SUPPORTS_32BIT_KERNEL
  1201. select CPU_SUPPORTS_64BIT_KERNEL
  1202. select CPU_SUPPORTS_HUGEPAGES
  1203. help
  1204. QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  1205. config CPU_R8000
  1206. bool "R8000"
  1207. depends on SYS_HAS_CPU_R8000
  1208. select CPU_HAS_PREFETCH
  1209. select CPU_SUPPORTS_64BIT_KERNEL
  1210. help
  1211. MIPS Technologies R8000 processors. Note these processors are
  1212. uncommon and the support for them is incomplete.
  1213. config CPU_R10000
  1214. bool "R10000"
  1215. depends on SYS_HAS_CPU_R10000
  1216. select CPU_HAS_PREFETCH
  1217. select CPU_SUPPORTS_32BIT_KERNEL
  1218. select CPU_SUPPORTS_64BIT_KERNEL
  1219. select CPU_SUPPORTS_HIGHMEM
  1220. select CPU_SUPPORTS_HUGEPAGES
  1221. help
  1222. MIPS Technologies R10000-series processors.
  1223. config CPU_RM7000
  1224. bool "RM7000"
  1225. depends on SYS_HAS_CPU_RM7000
  1226. select CPU_HAS_PREFETCH
  1227. select CPU_SUPPORTS_32BIT_KERNEL
  1228. select CPU_SUPPORTS_64BIT_KERNEL
  1229. select CPU_SUPPORTS_HIGHMEM
  1230. select CPU_SUPPORTS_HUGEPAGES
  1231. config CPU_SB1
  1232. bool "SB1"
  1233. depends on SYS_HAS_CPU_SB1
  1234. select CPU_SUPPORTS_32BIT_KERNEL
  1235. select CPU_SUPPORTS_64BIT_KERNEL
  1236. select CPU_SUPPORTS_HIGHMEM
  1237. select CPU_SUPPORTS_HUGEPAGES
  1238. select WEAK_ORDERING
  1239. config CPU_CAVIUM_OCTEON
  1240. bool "Cavium Octeon processor"
  1241. depends on SYS_HAS_CPU_CAVIUM_OCTEON
  1242. select ARCH_SPARSEMEM_ENABLE
  1243. select CPU_HAS_PREFETCH
  1244. select CPU_SUPPORTS_64BIT_KERNEL
  1245. select SYS_SUPPORTS_SMP
  1246. select NR_CPUS_DEFAULT_16
  1247. select WEAK_ORDERING
  1248. select CPU_SUPPORTS_HIGHMEM
  1249. select CPU_SUPPORTS_HUGEPAGES
  1250. select LIBFDT
  1251. select USE_OF
  1252. select USB_EHCI_BIG_ENDIAN_MMIO
  1253. help
  1254. The Cavium Octeon processor is a highly integrated chip containing
  1255. many ethernet hardware widgets for networking tasks. The processor
  1256. can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
  1257. Full details can be found at http://www.caviumnetworks.com.
  1258. config CPU_BMIPS3300
  1259. bool "BMIPS3300"
  1260. depends on SYS_HAS_CPU_BMIPS3300
  1261. select CPU_BMIPS
  1262. help
  1263. Broadcom BMIPS3300 processors.
  1264. config CPU_BMIPS4350
  1265. bool "BMIPS4350"
  1266. depends on SYS_HAS_CPU_BMIPS4350
  1267. select CPU_BMIPS
  1268. select SYS_SUPPORTS_SMP
  1269. select SYS_SUPPORTS_HOTPLUG_CPU
  1270. help
  1271. Broadcom BMIPS4350 ("VIPER") processors.
  1272. config CPU_BMIPS4380
  1273. bool "BMIPS4380"
  1274. depends on SYS_HAS_CPU_BMIPS4380
  1275. select CPU_BMIPS
  1276. select SYS_SUPPORTS_SMP
  1277. select SYS_SUPPORTS_HOTPLUG_CPU
  1278. help
  1279. Broadcom BMIPS4380 processors.
  1280. config CPU_BMIPS5000
  1281. bool "BMIPS5000"
  1282. depends on SYS_HAS_CPU_BMIPS5000
  1283. select CPU_BMIPS
  1284. select CPU_SUPPORTS_HIGHMEM
  1285. select MIPS_CPU_SCACHE
  1286. select SYS_SUPPORTS_SMP
  1287. select SYS_SUPPORTS_HOTPLUG_CPU
  1288. help
  1289. Broadcom BMIPS5000 processors.
  1290. config CPU_XLR
  1291. bool "Netlogic XLR SoC"
  1292. depends on SYS_HAS_CPU_XLR
  1293. select CPU_SUPPORTS_32BIT_KERNEL
  1294. select CPU_SUPPORTS_64BIT_KERNEL
  1295. select CPU_SUPPORTS_HIGHMEM
  1296. select CPU_SUPPORTS_HUGEPAGES
  1297. select WEAK_ORDERING
  1298. select WEAK_REORDERING_BEYOND_LLSC
  1299. help
  1300. Netlogic Microsystems XLR/XLS processors.
  1301. config CPU_XLP
  1302. bool "Netlogic XLP SoC"
  1303. depends on SYS_HAS_CPU_XLP
  1304. select CPU_SUPPORTS_32BIT_KERNEL
  1305. select CPU_SUPPORTS_64BIT_KERNEL
  1306. select CPU_SUPPORTS_HIGHMEM
  1307. select WEAK_ORDERING
  1308. select WEAK_REORDERING_BEYOND_LLSC
  1309. select CPU_HAS_PREFETCH
  1310. select CPU_MIPSR2
  1311. help
  1312. Netlogic Microsystems XLP processors.
  1313. endchoice
  1314. if CPU_LOONGSON2F
  1315. config CPU_NOP_WORKAROUNDS
  1316. bool
  1317. config CPU_JUMP_WORKAROUNDS
  1318. bool
  1319. config CPU_LOONGSON2F_WORKAROUNDS
  1320. bool "Loongson 2F Workarounds"
  1321. default y
  1322. select CPU_NOP_WORKAROUNDS
  1323. select CPU_JUMP_WORKAROUNDS
  1324. help
  1325. Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
  1326. require workarounds. Without workarounds the system may hang
  1327. unexpectedly. For more information please refer to the gas
  1328. -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
  1329. Loongson 2F03 and later have fixed these issues and no workarounds
  1330. are needed. The workarounds have no significant side effect on them
  1331. but may decrease the performance of the system so this option should
  1332. be disabled unless the kernel is intended to be run on 2F01 or 2F02
  1333. systems.
  1334. If unsure, please say Y.
  1335. endif # CPU_LOONGSON2F
  1336. config SYS_SUPPORTS_ZBOOT
  1337. bool
  1338. select HAVE_KERNEL_GZIP
  1339. select HAVE_KERNEL_BZIP2
  1340. select HAVE_KERNEL_LZMA
  1341. select HAVE_KERNEL_LZO
  1342. config SYS_SUPPORTS_ZBOOT_UART16550
  1343. bool
  1344. select SYS_SUPPORTS_ZBOOT
  1345. config CPU_LOONGSON2
  1346. bool
  1347. select CPU_SUPPORTS_32BIT_KERNEL
  1348. select CPU_SUPPORTS_64BIT_KERNEL
  1349. select CPU_SUPPORTS_HIGHMEM
  1350. select CPU_SUPPORTS_HUGEPAGES
  1351. config CPU_LOONGSON1
  1352. bool
  1353. select CPU_MIPS32
  1354. select CPU_MIPSR2
  1355. select CPU_HAS_PREFETCH
  1356. select CPU_SUPPORTS_32BIT_KERNEL
  1357. select CPU_SUPPORTS_HIGHMEM
  1358. config CPU_BMIPS
  1359. bool
  1360. select CPU_MIPS32
  1361. select CPU_SUPPORTS_32BIT_KERNEL
  1362. select DMA_NONCOHERENT
  1363. select IRQ_CPU
  1364. select SWAP_IO_SPACE
  1365. select WEAK_ORDERING
  1366. config SYS_HAS_CPU_LOONGSON2E
  1367. bool
  1368. config SYS_HAS_CPU_LOONGSON2F
  1369. bool
  1370. select CPU_SUPPORTS_CPUFREQ
  1371. select CPU_SUPPORTS_ADDRWINCFG if 64BIT
  1372. select CPU_SUPPORTS_UNCACHED_ACCELERATED
  1373. config SYS_HAS_CPU_LOONGSON1B
  1374. bool
  1375. config SYS_HAS_CPU_MIPS32_R1
  1376. bool
  1377. config SYS_HAS_CPU_MIPS32_R2
  1378. bool
  1379. config SYS_HAS_CPU_MIPS64_R1
  1380. bool
  1381. config SYS_HAS_CPU_MIPS64_R2
  1382. bool
  1383. config SYS_HAS_CPU_R3000
  1384. bool
  1385. config SYS_HAS_CPU_TX39XX
  1386. bool
  1387. config SYS_HAS_CPU_VR41XX
  1388. bool
  1389. config SYS_HAS_CPU_R4300
  1390. bool
  1391. config SYS_HAS_CPU_R4X00
  1392. bool
  1393. config SYS_HAS_CPU_TX49XX
  1394. bool
  1395. config SYS_HAS_CPU_R5000
  1396. bool
  1397. config SYS_HAS_CPU_R5432
  1398. bool
  1399. config SYS_HAS_CPU_R5500
  1400. bool
  1401. config SYS_HAS_CPU_R6000
  1402. bool
  1403. config SYS_HAS_CPU_NEVADA
  1404. bool
  1405. config SYS_HAS_CPU_R8000
  1406. bool
  1407. config SYS_HAS_CPU_R10000
  1408. bool
  1409. config SYS_HAS_CPU_RM7000
  1410. bool
  1411. config SYS_HAS_CPU_SB1
  1412. bool
  1413. config SYS_HAS_CPU_CAVIUM_OCTEON
  1414. bool
  1415. config SYS_HAS_CPU_BMIPS3300
  1416. bool
  1417. config SYS_HAS_CPU_BMIPS4350
  1418. bool
  1419. config SYS_HAS_CPU_BMIPS4380
  1420. bool
  1421. config SYS_HAS_CPU_BMIPS5000
  1422. bool
  1423. config SYS_HAS_CPU_XLR
  1424. bool
  1425. config SYS_HAS_CPU_XLP
  1426. bool
  1427. #
  1428. # CPU may reorder R->R, R->W, W->R, W->W
  1429. # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
  1430. #
  1431. config WEAK_ORDERING
  1432. bool
  1433. #
  1434. # CPU may reorder reads and writes beyond LL/SC
  1435. # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
  1436. #
  1437. config WEAK_REORDERING_BEYOND_LLSC
  1438. bool
  1439. endmenu
  1440. #
  1441. # These two indicate any level of the MIPS32 and MIPS64 architecture
  1442. #
  1443. config CPU_MIPS32
  1444. bool
  1445. default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
  1446. config CPU_MIPS64
  1447. bool
  1448. default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
  1449. #
  1450. # These two indicate the revision of the architecture, either Release 1 or Release 2
  1451. #
  1452. config CPU_MIPSR1
  1453. bool
  1454. default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  1455. config CPU_MIPSR2
  1456. bool
  1457. default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
  1458. config SYS_SUPPORTS_32BIT_KERNEL
  1459. bool
  1460. config SYS_SUPPORTS_64BIT_KERNEL
  1461. bool
  1462. config CPU_SUPPORTS_32BIT_KERNEL
  1463. bool
  1464. config CPU_SUPPORTS_64BIT_KERNEL
  1465. bool
  1466. config CPU_SUPPORTS_CPUFREQ
  1467. bool
  1468. config CPU_SUPPORTS_ADDRWINCFG
  1469. bool
  1470. config CPU_SUPPORTS_HUGEPAGES
  1471. bool
  1472. config CPU_SUPPORTS_UNCACHED_ACCELERATED
  1473. bool
  1474. config MIPS_PGD_C0_CONTEXT
  1475. bool
  1476. default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
  1477. #
  1478. # Set to y for ptrace access to watch registers.
  1479. #
  1480. config HARDWARE_WATCHPOINTS
  1481. bool
  1482. default y if CPU_MIPSR1 || CPU_MIPSR2
  1483. menu "Kernel type"
  1484. choice
  1485. prompt "Kernel code model"
  1486. help
  1487. You should only select this option if you have a workload that
  1488. actually benefits from 64-bit processing or if your machine has
  1489. large memory. You will only be presented a single option in this
  1490. menu if your system does not support both 32-bit and 64-bit kernels.
  1491. config 32BIT
  1492. bool "32-bit kernel"
  1493. depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
  1494. select TRAD_SIGNALS
  1495. help
  1496. Select this option if you want to build a 32-bit kernel.
  1497. config 64BIT
  1498. bool "64-bit kernel"
  1499. depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
  1500. help
  1501. Select this option if you want to build a 64-bit kernel.
  1502. endchoice
  1503. config KVM_GUEST
  1504. bool "KVM Guest Kernel"
  1505. help
  1506. Select this option if building a guest kernel for KVM (Trap & Emulate) mode
  1507. config KVM_HOST_FREQ
  1508. int "KVM Host Processor Frequency (MHz)"
  1509. depends on KVM_GUEST
  1510. default 500
  1511. help
  1512. Select this option if building a guest kernel for KVM to skip
  1513. RTC emulation when determining guest CPU Frequency. Instead, the guest
  1514. processor frequency is automatically derived from the host frequency.
  1515. choice
  1516. prompt "Kernel page size"
  1517. default PAGE_SIZE_4KB
  1518. config PAGE_SIZE_4KB
  1519. bool "4kB"
  1520. depends on !CPU_LOONGSON2
  1521. help
  1522. This option select the standard 4kB Linux page size. On some
  1523. R3000-family processors this is the only available page size. Using
  1524. 4kB page size will minimize memory consumption and is therefore
  1525. recommended for low memory systems.
  1526. config PAGE_SIZE_8KB
  1527. bool "8kB"
  1528. depends on CPU_R8000 || CPU_CAVIUM_OCTEON
  1529. help
  1530. Using 8kB page size will result in higher performance kernel at
  1531. the price of higher memory consumption. This option is available
  1532. only on R8000 and cnMIPS processors. Note that you will need a
  1533. suitable Linux distribution to support this.
  1534. config PAGE_SIZE_16KB
  1535. bool "16kB"
  1536. depends on !CPU_R3000 && !CPU_TX39XX
  1537. help
  1538. Using 16kB page size will result in higher performance kernel at
  1539. the price of higher memory consumption. This option is available on
  1540. all non-R3000 family processors. Note that you will need a suitable
  1541. Linux distribution to support this.
  1542. config PAGE_SIZE_32KB
  1543. bool "32kB"
  1544. depends on CPU_CAVIUM_OCTEON
  1545. help
  1546. Using 32kB page size will result in higher performance kernel at
  1547. the price of higher memory consumption. This option is available
  1548. only on cnMIPS cores. Note that you will need a suitable Linux
  1549. distribution to support this.
  1550. config PAGE_SIZE_64KB
  1551. bool "64kB"
  1552. depends on !CPU_R3000 && !CPU_TX39XX
  1553. help
  1554. Using 64kB page size will result in higher performance kernel at
  1555. the price of higher memory consumption. This option is available on
  1556. all non-R3000 family processor. Not that at the time of this
  1557. writing this option is still high experimental.
  1558. endchoice
  1559. config FORCE_MAX_ZONEORDER
  1560. int "Maximum zone order"
  1561. range 14 64 if HUGETLB_PAGE && PAGE_SIZE_64KB
  1562. default "14" if HUGETLB_PAGE && PAGE_SIZE_64KB
  1563. range 13 64 if HUGETLB_PAGE && PAGE_SIZE_32KB
  1564. default "13" if HUGETLB_PAGE && PAGE_SIZE_32KB
  1565. range 12 64 if HUGETLB_PAGE && PAGE_SIZE_16KB
  1566. default "12" if HUGETLB_PAGE && PAGE_SIZE_16KB
  1567. range 11 64
  1568. default "11"
  1569. help
  1570. The kernel memory allocator divides physically contiguous memory
  1571. blocks into "zones", where each zone is a power of two number of
  1572. pages. This option selects the largest power of two that the kernel
  1573. keeps in the memory allocator. If you need to allocate very large
  1574. blocks of physically contiguous memory, then you may need to
  1575. increase this value.
  1576. This config option is actually maximum order plus one. For example,
  1577. a value of 11 means that the largest free memory block is 2^10 pages.
  1578. The page size is not necessarily 4KB. Keep this in mind
  1579. when choosing a value for this option.
  1580. config CEVT_GIC
  1581. bool "Use GIC global counter for clock events"
  1582. depends on IRQ_GIC && !(MIPS_SEAD3 || MIPS_MT_SMTC)
  1583. help
  1584. Use the GIC global counter for the clock events. The R4K clock
  1585. event driver is always present, so if the platform ends up not
  1586. detecting a GIC, it will fall back to the R4K timer for the
  1587. generation of clock events.
  1588. config BOARD_SCACHE
  1589. bool
  1590. config IP22_CPU_SCACHE
  1591. bool
  1592. select BOARD_SCACHE
  1593. #
  1594. # Support for a MIPS32 / MIPS64 style S-caches
  1595. #
  1596. config MIPS_CPU_SCACHE
  1597. bool
  1598. select BOARD_SCACHE
  1599. config R5000_CPU_SCACHE
  1600. bool
  1601. select BOARD_SCACHE
  1602. config RM7000_CPU_SCACHE
  1603. bool
  1604. select BOARD_SCACHE
  1605. config SIBYTE_DMA_PAGEOPS
  1606. bool "Use DMA to clear/copy pages"
  1607. depends on CPU_SB1
  1608. help
  1609. Instead of using the CPU to zero and copy pages, use a Data Mover
  1610. channel. These DMA channels are otherwise unused by the standard
  1611. SiByte Linux port. Seems to give a small performance benefit.
  1612. config CPU_HAS_PREFETCH
  1613. bool
  1614. config CPU_GENERIC_DUMP_TLB
  1615. bool
  1616. default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX)
  1617. config CPU_R4K_FPU
  1618. bool
  1619. default y if !(CPU_R3000 || CPU_R6000 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
  1620. config CPU_R4K_CACHE_TLB
  1621. bool
  1622. default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
  1623. choice
  1624. prompt "MIPS MT options"
  1625. config MIPS_MT_DISABLED
  1626. bool "Disable multithreading support."
  1627. help
  1628. Use this option if your workload can't take advantage of
  1629. MIPS hardware multithreading support. On systems that don't have
  1630. the option of an MT-enabled processor this option will be the only
  1631. option in this menu.
  1632. config MIPS_MT_SMP
  1633. bool "Use 1 TC on each available VPE for SMP"
  1634. depends on SYS_SUPPORTS_MULTITHREADING
  1635. select CPU_MIPSR2_IRQ_VI
  1636. select CPU_MIPSR2_IRQ_EI
  1637. select MIPS_MT
  1638. select NR_CPUS_DEFAULT_2
  1639. select SMP
  1640. select SYS_SUPPORTS_SCHED_SMT if SMP
  1641. select SYS_SUPPORTS_SMP
  1642. select SMP_UP
  1643. select MIPS_PERF_SHARED_TC_COUNTERS
  1644. help
  1645. This is a kernel model which is known a VSMP but lately has been
  1646. marketesed into SMVP.
  1647. Virtual SMP uses the processor's VPEs to implement virtual
  1648. processors. In currently available configuration of the 34K processor
  1649. this allows for a dual processor. Both processors will share the same
  1650. primary caches; each will obtain the half of the TLB for it's own
  1651. exclusive use. For a layman this model can be described as similar to
  1652. what Intel calls Hyperthreading.
  1653. For further information see http://www.linux-mips.org/wiki/34K#VSMP
  1654. config MIPS_MT_SMTC
  1655. bool "SMTC: Use all TCs on all VPEs for SMP"
  1656. depends on CPU_MIPS32_R2
  1657. #depends on CPU_MIPS64_R2 # once there is hardware ...
  1658. depends on SYS_SUPPORTS_MULTITHREADING
  1659. select CPU_MIPSR2_IRQ_VI
  1660. select CPU_MIPSR2_IRQ_EI
  1661. select MIPS_MT
  1662. select NR_CPUS_DEFAULT_8
  1663. select SMP
  1664. select SYS_SUPPORTS_SMP
  1665. select SMP_UP
  1666. help
  1667. This is a kernel model which is known a SMTC or lately has been
  1668. marketesed into SMVP.
  1669. is presenting the available TC's of the core as processors to Linux.
  1670. On currently available 34K processors this means a Linux system will
  1671. see up to 5 processors. The implementation of the SMTC kernel differs
  1672. significantly from VSMP and cannot efficiently coexist in the same
  1673. kernel binary so the choice between VSMP and SMTC is a compile time
  1674. decision.
  1675. For further information see http://www.linux-mips.org/wiki/34K#SMTC
  1676. endchoice
  1677. config MIPS_MT
  1678. bool
  1679. config SCHED_SMT
  1680. bool "SMT (multithreading) scheduler support"
  1681. depends on SYS_SUPPORTS_SCHED_SMT
  1682. default n
  1683. help
  1684. SMT scheduler support improves the CPU scheduler's decision making
  1685. when dealing with MIPS MT enabled cores at a cost of slightly
  1686. increased overhead in some places. If unsure say N here.
  1687. config SYS_SUPPORTS_SCHED_SMT
  1688. bool
  1689. config SYS_SUPPORTS_MULTITHREADING
  1690. bool
  1691. config MIPS_MT_FPAFF
  1692. bool "Dynamic FPU affinity for FP-intensive threads"
  1693. default y
  1694. depends on MIPS_MT_SMP || MIPS_MT_SMTC
  1695. config MIPS_VPE_LOADER
  1696. bool "VPE loader support."
  1697. depends on SYS_SUPPORTS_MULTITHREADING
  1698. select CPU_MIPSR2_IRQ_VI
  1699. select CPU_MIPSR2_IRQ_EI
  1700. select MIPS_MT
  1701. help
  1702. Includes a loader for loading an elf relocatable object
  1703. onto another VPE and running it.
  1704. config MIPS_MT_SMTC_IM_BACKSTOP
  1705. bool "Use per-TC register bits as backstop for inhibited IM bits"
  1706. depends on MIPS_MT_SMTC
  1707. default n
  1708. help
  1709. To support multiple TC microthreads acting as "CPUs" within
  1710. a VPE, VPE-wide interrupt mask bits must be specially manipulated
  1711. during interrupt handling. To support legacy drivers and interrupt
  1712. controller management code, SMTC has a "backstop" to track and
  1713. if necessary restore the interrupt mask. This has some performance
  1714. impact on interrupt service overhead.
  1715. config MIPS_MT_SMTC_IRQAFF
  1716. bool "Support IRQ affinity API"
  1717. depends on MIPS_MT_SMTC
  1718. default n
  1719. help
  1720. Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
  1721. for SMTC Linux kernel. Requires platform support, of which
  1722. an example can be found in the MIPS kernel i8259 and Malta
  1723. platform code. Adds some overhead to interrupt dispatch, and
  1724. should be used only if you know what you are doing.
  1725. config MIPS_VPE_LOADER_TOM
  1726. bool "Load VPE program into memory hidden from linux"
  1727. depends on MIPS_VPE_LOADER
  1728. default y
  1729. help
  1730. The loader can use memory that is present but has been hidden from
  1731. Linux using the kernel command line option "mem=xxMB". It's up to
  1732. you to ensure the amount you put in the option and the space your
  1733. program requires is less or equal to the amount physically present.
  1734. # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
  1735. config MIPS_VPE_APSP_API
  1736. bool "Enable support for AP/SP API (RTLX)"
  1737. depends on MIPS_VPE_LOADER
  1738. help
  1739. config MIPS_CMP
  1740. bool "MIPS CMP framework support"
  1741. depends on SYS_SUPPORTS_MIPS_CMP
  1742. select SYNC_R4K
  1743. select SYS_SUPPORTS_SMP
  1744. select SYS_SUPPORTS_SCHED_SMT if SMP
  1745. select WEAK_ORDERING
  1746. default n
  1747. help
  1748. This is a placeholder option for the GCMP work. It will need to
  1749. be handled differently...
  1750. config SB1_PASS_1_WORKAROUNDS
  1751. bool
  1752. depends on CPU_SB1_PASS_1
  1753. default y
  1754. config SB1_PASS_2_WORKAROUNDS
  1755. bool
  1756. depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
  1757. default y
  1758. config SB1_PASS_2_1_WORKAROUNDS
  1759. bool
  1760. depends on CPU_SB1 && CPU_SB1_PASS_2
  1761. default y
  1762. config 64BIT_PHYS_ADDR
  1763. bool
  1764. config ARCH_PHYS_ADDR_T_64BIT
  1765. def_bool 64BIT_PHYS_ADDR
  1766. config CPU_HAS_SMARTMIPS
  1767. depends on SYS_SUPPORTS_SMARTMIPS
  1768. bool "Support for the SmartMIPS ASE"
  1769. help
  1770. SmartMIPS is a extension of the MIPS32 architecture aimed at
  1771. increased security at both hardware and software level for
  1772. smartcards. Enabling this option will allow proper use of the
  1773. SmartMIPS instructions by Linux applications. However a kernel with
  1774. this option will not work on a MIPS core without SmartMIPS core. If
  1775. you don't know you probably don't have SmartMIPS and should say N
  1776. here.
  1777. config CPU_MICROMIPS
  1778. depends on SYS_SUPPORTS_MICROMIPS
  1779. bool "Build kernel using microMIPS ISA"
  1780. help
  1781. When this option is enabled the kernel will be built using the
  1782. microMIPS ISA
  1783. config CPU_HAS_WB
  1784. bool
  1785. config XKS01
  1786. bool
  1787. #
  1788. # Vectored interrupt mode is an R2 feature
  1789. #
  1790. config CPU_MIPSR2_IRQ_VI
  1791. bool
  1792. #
  1793. # Extended interrupt mode is an R2 feature
  1794. #
  1795. config CPU_MIPSR2_IRQ_EI
  1796. bool
  1797. config CPU_HAS_SYNC
  1798. bool
  1799. depends on !CPU_R3000
  1800. default y
  1801. #
  1802. # CPU non-features
  1803. #
  1804. config CPU_DADDI_WORKAROUNDS
  1805. bool
  1806. config CPU_R4000_WORKAROUNDS
  1807. bool
  1808. select CPU_R4400_WORKAROUNDS
  1809. config CPU_R4400_WORKAROUNDS
  1810. bool
  1811. #
  1812. # - Highmem only makes sense for the 32-bit kernel.
  1813. # - The current highmem code will only work properly on physically indexed
  1814. # caches such as R3000, SB1, R7000 or those that look like they're virtually
  1815. # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
  1816. # moment we protect the user and offer the highmem option only on machines
  1817. # where it's known to be safe. This will not offer highmem on a few systems
  1818. # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
  1819. # indexed CPUs but we're playing safe.
  1820. # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
  1821. # know they might have memory configurations that could make use of highmem
  1822. # support.
  1823. #
  1824. config HIGHMEM
  1825. bool "High Memory Support"
  1826. depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
  1827. config CPU_SUPPORTS_HIGHMEM
  1828. bool
  1829. config SYS_SUPPORTS_HIGHMEM
  1830. bool
  1831. config SYS_SUPPORTS_SMARTMIPS
  1832. bool
  1833. config SYS_SUPPORTS_MICROMIPS
  1834. bool
  1835. config ARCH_FLATMEM_ENABLE
  1836. def_bool y
  1837. depends on !NUMA && !CPU_LOONGSON2
  1838. config ARCH_DISCONTIGMEM_ENABLE
  1839. bool
  1840. default y if SGI_IP27
  1841. help
  1842. Say Y to support efficient handling of discontiguous physical memory,
  1843. for architectures which are either NUMA (Non-Uniform Memory Access)
  1844. or have huge holes in the physical address space for other reasons.
  1845. See <file:Documentation/vm/numa> for more.
  1846. config ARCH_SPARSEMEM_ENABLE
  1847. bool
  1848. select SPARSEMEM_STATIC
  1849. config NUMA
  1850. bool "NUMA Support"
  1851. depends on SYS_SUPPORTS_NUMA
  1852. help
  1853. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  1854. Access). This option improves performance on systems with more
  1855. than two nodes; on two node systems it is generally better to
  1856. leave it disabled; on single node systems disable this option
  1857. disabled.
  1858. config SYS_SUPPORTS_NUMA
  1859. bool
  1860. config NODES_SHIFT
  1861. int
  1862. default "6"
  1863. depends on NEED_MULTIPLE_NODES
  1864. config HW_PERF_EVENTS
  1865. bool "Enable hardware performance counter support for perf events"
  1866. depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP)
  1867. default y
  1868. help
  1869. Enable hardware performance counter support for perf events. If
  1870. disabled, perf events will use software events only.
  1871. source "mm/Kconfig"
  1872. config SMP
  1873. bool "Multi-Processing support"
  1874. depends on SYS_SUPPORTS_SMP
  1875. select USE_GENERIC_SMP_HELPERS
  1876. help
  1877. This enables support for systems with more than one CPU. If you have
  1878. a system with only one CPU, like most personal computers, say N. If
  1879. you have a system with more than one CPU, say Y.
  1880. If you say N here, the kernel will run on single and multiprocessor
  1881. machines, but will use only one CPU of a multiprocessor machine. If
  1882. you say Y here, the kernel will run on many, but not all,
  1883. singleprocessor machines. On a singleprocessor machine, the kernel
  1884. will run faster if you say N here.
  1885. People using multiprocessor machines who say Y here should also say
  1886. Y to "Enhanced Real Time Clock Support", below.
  1887. See also the SMP-HOWTO available at
  1888. <http://www.tldp.org/docs.html#howto>.
  1889. If you don't know what to do here, say N.
  1890. config SMP_UP
  1891. bool
  1892. config SYS_SUPPORTS_MIPS_CMP
  1893. bool
  1894. config SYS_SUPPORTS_SMP
  1895. bool
  1896. config NR_CPUS_DEFAULT_1
  1897. bool
  1898. config NR_CPUS_DEFAULT_2
  1899. bool
  1900. config NR_CPUS_DEFAULT_4
  1901. bool
  1902. config NR_CPUS_DEFAULT_8
  1903. bool
  1904. config NR_CPUS_DEFAULT_16
  1905. bool
  1906. config NR_CPUS_DEFAULT_32
  1907. bool
  1908. config NR_CPUS_DEFAULT_64
  1909. bool
  1910. config NR_CPUS
  1911. int "Maximum number of CPUs (2-64)"
  1912. range 1 64 if NR_CPUS_DEFAULT_1
  1913. depends on SMP
  1914. default "1" if NR_CPUS_DEFAULT_1
  1915. default "2" if NR_CPUS_DEFAULT_2
  1916. default "4" if NR_CPUS_DEFAULT_4
  1917. default "8" if NR_CPUS_DEFAULT_8
  1918. default "16" if NR_CPUS_DEFAULT_16
  1919. default "32" if NR_CPUS_DEFAULT_32
  1920. default "64" if NR_CPUS_DEFAULT_64
  1921. help
  1922. This allows you to specify the maximum number of CPUs which this
  1923. kernel will support. The maximum supported value is 32 for 32-bit
  1924. kernel and 64 for 64-bit kernels; the minimum value which makes
  1925. sense is 1 for Qemu (useful only for kernel debugging purposes)
  1926. and 2 for all others.
  1927. This is purely to save memory - each supported CPU adds
  1928. approximately eight kilobytes to the kernel image. For best
  1929. performance should round up your number of processors to the next
  1930. power of two.
  1931. config MIPS_PERF_SHARED_TC_COUNTERS
  1932. bool
  1933. #
  1934. # Timer Interrupt Frequency Configuration
  1935. #
  1936. choice
  1937. prompt "Timer frequency"
  1938. default HZ_250
  1939. help
  1940. Allows the configuration of the timer frequency.
  1941. config HZ_48
  1942. bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
  1943. config HZ_100
  1944. bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
  1945. config HZ_128
  1946. bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
  1947. config HZ_250
  1948. bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
  1949. config HZ_256
  1950. bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
  1951. config HZ_1000
  1952. bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
  1953. config HZ_1024
  1954. bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
  1955. endchoice
  1956. config SYS_SUPPORTS_48HZ
  1957. bool
  1958. config SYS_SUPPORTS_100HZ
  1959. bool
  1960. config SYS_SUPPORTS_128HZ
  1961. bool
  1962. config SYS_SUPPORTS_250HZ
  1963. bool
  1964. config SYS_SUPPORTS_256HZ
  1965. bool
  1966. config SYS_SUPPORTS_1000HZ
  1967. bool
  1968. config SYS_SUPPORTS_1024HZ
  1969. bool
  1970. config SYS_SUPPORTS_ARBIT_HZ
  1971. bool
  1972. default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
  1973. !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
  1974. !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
  1975. !SYS_SUPPORTS_1024HZ
  1976. config HZ
  1977. int
  1978. default 48 if HZ_48
  1979. default 100 if HZ_100
  1980. default 128 if HZ_128
  1981. default 250 if HZ_250
  1982. default 256 if HZ_256
  1983. default 1000 if HZ_1000
  1984. default 1024 if HZ_1024
  1985. source "kernel/Kconfig.preempt"
  1986. config KEXEC
  1987. bool "Kexec system call"
  1988. help
  1989. kexec is a system call that implements the ability to shutdown your
  1990. current kernel, and to start another kernel. It is like a reboot
  1991. but it is independent of the system firmware. And like a reboot
  1992. you can start any kernel with it, not just Linux.
  1993. The name comes from the similarity to the exec system call.
  1994. It is an ongoing process to be certain the hardware in a machine
  1995. is properly shutdown, so do not be surprised if this code does not
  1996. initially work for you. It may help to enable device hotplugging
  1997. support. As of this writing the exact hardware interface is
  1998. strongly in flux, so no good recommendation can be made.
  1999. config CRASH_DUMP
  2000. bool "Kernel crash dumps"
  2001. help
  2002. Generate crash dump after being started by kexec.
  2003. This should be normally only set in special crash dump kernels
  2004. which are loaded in the main kernel with kexec-tools into
  2005. a specially reserved region and then later executed after
  2006. a crash by kdump/kexec. The crash dump kernel must be compiled
  2007. to a memory address not used by the main kernel or firmware using
  2008. PHYSICAL_START.
  2009. config PHYSICAL_START
  2010. hex "Physical address where the kernel is loaded"
  2011. default "0xffffffff84000000" if 64BIT
  2012. default "0x84000000" if 32BIT
  2013. depends on CRASH_DUMP
  2014. help
  2015. This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
  2016. If you plan to use kernel for capturing the crash dump change
  2017. this value to start of the reserved region (the "X" value as
  2018. specified in the "crashkernel=YM@XM" command line boot parameter
  2019. passed to the panic-ed kernel).
  2020. config SECCOMP
  2021. bool "Enable seccomp to safely compute untrusted bytecode"
  2022. depends on PROC_FS
  2023. default y
  2024. help
  2025. This kernel feature is useful for number crunching applications
  2026. that may need to compute untrusted bytecode during their
  2027. execution. By using pipes or other transports made available to
  2028. the process as file descriptors supporting the read/write
  2029. syscalls, it's possible to isolate those applications in
  2030. their own address space using seccomp. Once seccomp is
  2031. enabled via /proc/<pid>/seccomp, it cannot be disabled
  2032. and the task is only allowed to execute a few safe syscalls
  2033. defined by each seccomp mode.
  2034. If unsure, say Y. Only embedded should say N here.
  2035. config USE_OF
  2036. bool
  2037. select OF
  2038. select OF_EARLY_FLATTREE
  2039. select IRQ_DOMAIN
  2040. endmenu
  2041. config LOCKDEP_SUPPORT
  2042. bool
  2043. default y
  2044. config STACKTRACE_SUPPORT
  2045. bool
  2046. default y
  2047. source "init/Kconfig"
  2048. source "kernel/Kconfig.freezer"
  2049. menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
  2050. config HW_HAS_EISA
  2051. bool
  2052. config HW_HAS_PCI
  2053. bool
  2054. config PCI
  2055. bool "Support for PCI controller"
  2056. depends on HW_HAS_PCI
  2057. select PCI_DOMAINS
  2058. select GENERIC_PCI_IOMAP
  2059. select NO_GENERIC_PCI_IOPORT_MAP
  2060. help
  2061. Find out whether you have a PCI motherboard. PCI is the name of a
  2062. bus system, i.e. the way the CPU talks to the other stuff inside
  2063. your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
  2064. say Y, otherwise N.
  2065. config PCI_DOMAINS
  2066. bool
  2067. source "drivers/pci/Kconfig"
  2068. source "drivers/pci/pcie/Kconfig"
  2069. #
  2070. # ISA support is now enabled via select. Too many systems still have the one
  2071. # or other ISA chip on the board that users don't know about so don't expect
  2072. # users to choose the right thing ...
  2073. #
  2074. config ISA
  2075. bool
  2076. config EISA
  2077. bool "EISA support"
  2078. depends on HW_HAS_EISA
  2079. select ISA
  2080. select GENERIC_ISA_DMA
  2081. ---help---
  2082. The Extended Industry Standard Architecture (EISA) bus was
  2083. developed as an open alternative to the IBM MicroChannel bus.
  2084. The EISA bus provided some of the features of the IBM MicroChannel
  2085. bus while maintaining backward compatibility with cards made for
  2086. the older ISA bus. The EISA bus saw limited use between 1988 and
  2087. 1995 when it was made obsolete by the PCI bus.
  2088. Say Y here if you are building a kernel for an EISA-based machine.
  2089. Otherwise, say N.
  2090. source "drivers/eisa/Kconfig"
  2091. config TC
  2092. bool "TURBOchannel support"
  2093. depends on MACH_DECSTATION
  2094. help
  2095. TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
  2096. processors. TURBOchannel programming specifications are available
  2097. at:
  2098. <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
  2099. and:
  2100. <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
  2101. Linux driver support status is documented at:
  2102. <http://www.linux-mips.org/wiki/DECstation>
  2103. config MMU
  2104. bool
  2105. default y
  2106. config I8253
  2107. bool
  2108. select CLKSRC_I8253
  2109. select CLKEVT_I8253
  2110. select MIPS_EXTERNAL_TIMER
  2111. config ZONE_DMA
  2112. bool
  2113. config ZONE_DMA32
  2114. bool
  2115. source "drivers/pcmcia/Kconfig"
  2116. source "drivers/pci/hotplug/Kconfig"
  2117. config RAPIDIO
  2118. bool "RapidIO support"
  2119. depends on PCI
  2120. default n
  2121. help
  2122. If you say Y here, the kernel will include drivers and
  2123. infrastructure code to support RapidIO interconnect devices.
  2124. source "drivers/rapidio/Kconfig"
  2125. endmenu
  2126. menu "Executable file formats"
  2127. source "fs/Kconfig.binfmt"
  2128. config TRAD_SIGNALS
  2129. bool
  2130. config MIPS32_COMPAT
  2131. bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
  2132. depends on 64BIT
  2133. help
  2134. Select this option if you want Linux/MIPS 32-bit binary
  2135. compatibility. Since all software available for Linux/MIPS is
  2136. currently 32-bit you should say Y here.
  2137. config COMPAT
  2138. bool
  2139. depends on MIPS32_COMPAT
  2140. select ARCH_WANT_OLD_COMPAT_IPC
  2141. default y
  2142. config SYSVIPC_COMPAT
  2143. bool
  2144. depends on COMPAT && SYSVIPC
  2145. default y
  2146. config MIPS32_O32
  2147. bool "Kernel support for o32 binaries"
  2148. depends on MIPS32_COMPAT
  2149. help
  2150. Select this option if you want to run o32 binaries. These are pure
  2151. 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
  2152. existing binaries are in this format.
  2153. If unsure, say Y.
  2154. config MIPS32_N32
  2155. bool "Kernel support for n32 binaries"
  2156. depends on MIPS32_COMPAT
  2157. help
  2158. Select this option if you want to run n32 binaries. These are
  2159. 64-bit binaries using 32-bit quantities for addressing and certain
  2160. data that would normally be 64-bit. They are used in special
  2161. cases.
  2162. If unsure, say N.
  2163. config BINFMT_ELF32
  2164. bool
  2165. default y if MIPS32_O32 || MIPS32_N32
  2166. endmenu
  2167. menu "Power management options"
  2168. config ARCH_HIBERNATION_POSSIBLE
  2169. def_bool y
  2170. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2171. config ARCH_SUSPEND_POSSIBLE
  2172. def_bool y
  2173. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2174. source "kernel/power/Kconfig"
  2175. endmenu
  2176. config MIPS_EXTERNAL_TIMER
  2177. bool
  2178. if CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
  2179. menu "CPU Power Management"
  2180. source "drivers/cpufreq/Kconfig"
  2181. endmenu
  2182. endif
  2183. source "net/Kconfig"
  2184. source "drivers/Kconfig"
  2185. source "drivers/firmware/Kconfig"
  2186. source "fs/Kconfig"
  2187. source "arch/mips/Kconfig.debug"
  2188. source "security/Kconfig"
  2189. source "crypto/Kconfig"
  2190. source "lib/Kconfig"
  2191. source "arch/mips/kvm/Kconfig"