Kconfig 62 KB

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