Kconfig 65 KB

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