Kconfig 80 KB

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