Kconfig 63 KB

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