Kconfig 79 KB

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