Kconfig 79 KB

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