Kconfig 79 KB

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