Kconfig 79 KB

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