Kconfig 61 KB

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