Kconfig 62 KB

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