Kconfig 61 KB

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