Kconfig 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574
  1. config MIPS
  2. bool
  3. default y
  4. select HAVE_GENERIC_DMA_COHERENT
  5. select HAVE_IDE
  6. select HAVE_OPROFILE
  7. select HAVE_IRQ_WORK
  8. select HAVE_PERF_EVENTS
  9. select PERF_USE_VMALLOC
  10. select HAVE_ARCH_KGDB
  11. select ARCH_HAVE_CUSTOM_GPIO_H
  12. select HAVE_FUNCTION_TRACER
  13. select HAVE_FUNCTION_TRACE_MCOUNT_TEST
  14. select HAVE_DYNAMIC_FTRACE
  15. select HAVE_FTRACE_MCOUNT_RECORD
  16. select HAVE_C_RECORDMCOUNT
  17. select HAVE_FUNCTION_GRAPH_TRACER
  18. select HAVE_KPROBES
  19. select HAVE_KRETPROBES
  20. select HAVE_DEBUG_KMEMLEAK
  21. select ARCH_BINFMT_ELF_RANDOMIZE_PIE
  22. select HAVE_ARCH_TRANSPARENT_HUGEPAGE
  23. select RTC_LIB if !MACH_LOONGSON
  24. select GENERIC_ATOMIC64 if !64BIT
  25. select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
  26. select HAVE_DMA_ATTRS
  27. select HAVE_DMA_API_DEBUG
  28. select HAVE_GENERIC_HARDIRQS
  29. select GENERIC_IRQ_PROBE
  30. select GENERIC_IRQ_SHOW
  31. select HAVE_ARCH_JUMP_LABEL
  32. select ARCH_WANT_IPC_PARSE_VERSION
  33. select IRQ_FORCED_THREADING
  34. select HAVE_MEMBLOCK
  35. select HAVE_MEMBLOCK_NODE_MAP
  36. select ARCH_DISCARD_MEMBLOCK
  37. select GENERIC_SMP_IDLE_THREAD
  38. select BUILDTIME_EXTABLE_SORT
  39. select GENERIC_CLOCKEVENTS
  40. select GENERIC_CMOS_UPDATE
  41. select HAVE_MOD_ARCH_SPECIFIC
  42. select MODULES_USE_ELF_REL if MODULES
  43. select MODULES_USE_ELF_RELA if MODULES && 64BIT
  44. select GENERIC_SIGALTSTACK
  45. select GENERIC_COMPAT_RT_SIGQUEUEINFO
  46. select GENERIC_COMPAT_RT_SIGPROCMASK
  47. select GENERIC_COMPAT_RT_SIGPENDING
  48. menu "Machine selection"
  49. config ZONE_DMA
  50. bool
  51. choice
  52. prompt "System type"
  53. default SGI_IP22
  54. config MIPS_ALCHEMY
  55. bool "Alchemy processor based machines"
  56. select 64BIT_PHYS_ADDR
  57. select CEVT_R4K
  58. select CSRC_R4K
  59. select IRQ_CPU
  60. select SYS_HAS_CPU_MIPS32_R1
  61. select SYS_SUPPORTS_32BIT_KERNEL
  62. select SYS_SUPPORTS_APM_EMULATION
  63. select GENERIC_GPIO
  64. select ARCH_WANT_OPTIONAL_GPIOLIB
  65. select SYS_SUPPORTS_ZBOOT
  66. select USB_ARCH_HAS_OHCI
  67. select USB_ARCH_HAS_EHCI
  68. config AR7
  69. bool "Texas Instruments AR7"
  70. select BOOT_ELF32
  71. select DMA_NONCOHERENT
  72. select CEVT_R4K
  73. select CSRC_R4K
  74. select IRQ_CPU
  75. select NO_EXCEPT_FILL
  76. select SWAP_IO_SPACE
  77. select SYS_HAS_CPU_MIPS32_R1
  78. select SYS_HAS_EARLY_PRINTK
  79. select SYS_SUPPORTS_32BIT_KERNEL
  80. select SYS_SUPPORTS_LITTLE_ENDIAN
  81. select SYS_SUPPORTS_ZBOOT_UART16550
  82. select ARCH_REQUIRE_GPIOLIB
  83. select VLYNQ
  84. select HAVE_CLK
  85. help
  86. Support for the Texas Instruments AR7 System-on-a-Chip
  87. family: TNETD7100, 7200 and 7300.
  88. config ATH79
  89. bool "Atheros AR71XX/AR724X/AR913X based boards"
  90. select ARCH_REQUIRE_GPIOLIB
  91. select BOOT_RAW
  92. select CEVT_R4K
  93. select CSRC_R4K
  94. select DMA_NONCOHERENT
  95. select HAVE_CLK
  96. select IRQ_CPU
  97. select MIPS_MACHINE
  98. select SYS_HAS_CPU_MIPS32_R2
  99. select SYS_HAS_EARLY_PRINTK
  100. select SYS_SUPPORTS_32BIT_KERNEL
  101. select SYS_SUPPORTS_BIG_ENDIAN
  102. help
  103. Support for the Atheros AR71XX/AR724X/AR913X SoCs.
  104. config BCM47XX
  105. bool "Broadcom BCM47XX based boards"
  106. select ARCH_WANT_OPTIONAL_GPIOLIB
  107. select CEVT_R4K
  108. select CSRC_R4K
  109. select DMA_NONCOHERENT
  110. select FW_CFE
  111. select HW_HAS_PCI
  112. select IRQ_CPU
  113. select SYS_SUPPORTS_32BIT_KERNEL
  114. select SYS_SUPPORTS_LITTLE_ENDIAN
  115. select SYS_HAS_EARLY_PRINTK
  116. help
  117. Support for BCM47XX based boards
  118. config BCM63XX
  119. bool "Broadcom BCM63XX based boards"
  120. select CEVT_R4K
  121. select CSRC_R4K
  122. select DMA_NONCOHERENT
  123. select IRQ_CPU
  124. select SYS_HAS_CPU_MIPS32_R1
  125. select SYS_SUPPORTS_32BIT_KERNEL
  126. select SYS_SUPPORTS_BIG_ENDIAN
  127. select SYS_HAS_EARLY_PRINTK
  128. select SWAP_IO_SPACE
  129. select ARCH_REQUIRE_GPIOLIB
  130. select HAVE_CLK
  131. help
  132. Support for BCM63XX based boards
  133. config MIPS_COBALT
  134. bool "Cobalt Server"
  135. select CEVT_R4K
  136. select CSRC_R4K
  137. select CEVT_GT641XX
  138. select DMA_NONCOHERENT
  139. select HW_HAS_PCI
  140. select I8253
  141. select I8259
  142. select IRQ_CPU
  143. select IRQ_GT641XX
  144. select PCI_GT64XXX_PCI0
  145. select PCI
  146. select SYS_HAS_CPU_NEVADA
  147. select SYS_HAS_EARLY_PRINTK
  148. select SYS_SUPPORTS_32BIT_KERNEL
  149. select SYS_SUPPORTS_64BIT_KERNEL
  150. select SYS_SUPPORTS_LITTLE_ENDIAN
  151. config MACH_DECSTATION
  152. bool "DECstations"
  153. select BOOT_ELF32
  154. select CEVT_DS1287
  155. select CEVT_R4K
  156. select CSRC_IOASIC
  157. select CSRC_R4K
  158. select CPU_DADDI_WORKAROUNDS if 64BIT
  159. select CPU_R4000_WORKAROUNDS if 64BIT
  160. select CPU_R4400_WORKAROUNDS if 64BIT
  161. select DMA_NONCOHERENT
  162. select NO_IOPORT
  163. select IRQ_CPU
  164. select SYS_HAS_CPU_R3000
  165. select SYS_HAS_CPU_R4X00
  166. select SYS_SUPPORTS_32BIT_KERNEL
  167. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  168. select SYS_SUPPORTS_LITTLE_ENDIAN
  169. select SYS_SUPPORTS_128HZ
  170. select SYS_SUPPORTS_256HZ
  171. select SYS_SUPPORTS_1024HZ
  172. help
  173. This enables support for DEC's MIPS based workstations. For details
  174. see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
  175. DECstation porting pages on <http://decstation.unix-ag.org/>.
  176. If you have one of the following DECstation Models you definitely
  177. want to choose R4xx0 for the CPU Type:
  178. DECstation 5000/50
  179. DECstation 5000/150
  180. DECstation 5000/260
  181. DECsystem 5900/260
  182. otherwise choose R3000.
  183. config MACH_JAZZ
  184. bool "Jazz family of machines"
  185. select FW_ARC
  186. select FW_ARC32
  187. select ARCH_MAY_HAVE_PC_FDC
  188. select CEVT_R4K
  189. select CSRC_R4K
  190. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  191. select GENERIC_ISA_DMA
  192. select HAVE_PCSPKR_PLATFORM
  193. select IRQ_CPU
  194. select I8253
  195. select I8259
  196. select ISA
  197. select SYS_HAS_CPU_R4X00
  198. select SYS_SUPPORTS_32BIT_KERNEL
  199. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  200. select SYS_SUPPORTS_100HZ
  201. help
  202. This a family of machines based on the MIPS R4030 chipset which was
  203. used by several vendors to build RISC/os and Windows NT workstations.
  204. Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
  205. Olivetti M700-10 workstations.
  206. config MACH_JZ4740
  207. bool "Ingenic JZ4740 based machines"
  208. select SYS_HAS_CPU_MIPS32_R1
  209. select SYS_SUPPORTS_32BIT_KERNEL
  210. select SYS_SUPPORTS_LITTLE_ENDIAN
  211. select SYS_SUPPORTS_ZBOOT_UART16550
  212. select DMA_NONCOHERENT
  213. select IRQ_CPU
  214. select GENERIC_GPIO
  215. select ARCH_REQUIRE_GPIOLIB
  216. select SYS_HAS_EARLY_PRINTK
  217. select HAVE_PWM
  218. select HAVE_CLK
  219. select GENERIC_IRQ_CHIP
  220. config LANTIQ
  221. bool "Lantiq based platforms"
  222. select DMA_NONCOHERENT
  223. select IRQ_CPU
  224. select CEVT_R4K
  225. select CSRC_R4K
  226. select SYS_HAS_CPU_MIPS32_R1
  227. select SYS_HAS_CPU_MIPS32_R2
  228. select SYS_SUPPORTS_BIG_ENDIAN
  229. select SYS_SUPPORTS_32BIT_KERNEL
  230. select SYS_SUPPORTS_MULTITHREADING
  231. select SYS_HAS_EARLY_PRINTK
  232. select ARCH_REQUIRE_GPIOLIB
  233. select SWAP_IO_SPACE
  234. select BOOT_RAW
  235. select HAVE_MACH_CLKDEV
  236. select CLKDEV_LOOKUP
  237. select USE_OF
  238. select PINCTRL
  239. select PINCTRL_LANTIQ
  240. config LASAT
  241. bool "LASAT Networks platforms"
  242. select CEVT_R4K
  243. select CSRC_R4K
  244. select DMA_NONCOHERENT
  245. select SYS_HAS_EARLY_PRINTK
  246. select HW_HAS_PCI
  247. select IRQ_CPU
  248. select PCI_GT64XXX_PCI0
  249. select MIPS_NILE4
  250. select R5000_CPU_SCACHE
  251. select SYS_HAS_CPU_R5000
  252. select SYS_SUPPORTS_32BIT_KERNEL
  253. select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
  254. select SYS_SUPPORTS_LITTLE_ENDIAN
  255. config MACH_LOONGSON
  256. bool "Loongson family of machines"
  257. select SYS_SUPPORTS_ZBOOT
  258. help
  259. This enables the support of Loongson family of machines.
  260. Loongson is a family of general-purpose MIPS-compatible CPUs.
  261. developed at Institute of Computing Technology (ICT),
  262. Chinese Academy of Sciences (CAS) in the People's Republic
  263. of China. The chief architect is Professor Weiwu Hu.
  264. config MACH_LOONGSON1
  265. bool "Loongson 1 family of machines"
  266. select SYS_SUPPORTS_ZBOOT
  267. help
  268. This enables support for the Loongson 1 based machines.
  269. Loongson 1 is a family of 32-bit MIPS-compatible SoCs developed by
  270. the ICT (Institute of Computing Technology) and the Chinese Academy
  271. of Sciences.
  272. config MIPS_MALTA
  273. bool "MIPS Malta board"
  274. select ARCH_MAY_HAVE_PC_FDC
  275. select BOOT_ELF32
  276. select BOOT_RAW
  277. select CEVT_R4K
  278. select CSRC_R4K
  279. select DMA_NONCOHERENT
  280. select GENERIC_ISA_DMA
  281. select HAVE_PCSPKR_PLATFORM
  282. select IRQ_CPU
  283. select IRQ_GIC
  284. select HW_HAS_PCI
  285. select I8253
  286. select I8259
  287. select MIPS_BOARDS_GEN
  288. select MIPS_BONITO64
  289. select MIPS_CPU_SCACHE
  290. select PCI_GT64XXX_PCI0
  291. select MIPS_MSC
  292. select SWAP_IO_SPACE
  293. select SYS_HAS_CPU_MIPS32_R1
  294. select SYS_HAS_CPU_MIPS32_R2
  295. select SYS_HAS_CPU_MIPS64_R1
  296. select SYS_HAS_CPU_MIPS64_R2
  297. select SYS_HAS_CPU_NEVADA
  298. select SYS_HAS_CPU_RM7000
  299. select SYS_HAS_EARLY_PRINTK
  300. select SYS_SUPPORTS_32BIT_KERNEL
  301. select SYS_SUPPORTS_64BIT_KERNEL
  302. select SYS_SUPPORTS_BIG_ENDIAN
  303. select SYS_SUPPORTS_LITTLE_ENDIAN
  304. select SYS_SUPPORTS_MIPS_CMP
  305. select SYS_SUPPORTS_MULTITHREADING
  306. select SYS_SUPPORTS_SMARTMIPS
  307. select SYS_SUPPORTS_ZBOOT
  308. help
  309. This enables support for the MIPS Technologies Malta evaluation
  310. board.
  311. config MIPS_SEAD3
  312. bool "MIPS SEAD3 board"
  313. select BOOT_ELF32
  314. select BOOT_RAW
  315. select CEVT_R4K
  316. select CSRC_R4K
  317. select CPU_MIPSR2_IRQ_VI
  318. select CPU_MIPSR2_IRQ_EI
  319. select DMA_NONCOHERENT
  320. select IRQ_CPU
  321. select IRQ_GIC
  322. select MIPS_BOARDS_GEN
  323. select MIPS_CPU_SCACHE
  324. select MIPS_MSC
  325. select SYS_HAS_CPU_MIPS32_R1
  326. select SYS_HAS_CPU_MIPS32_R2
  327. select SYS_HAS_CPU_MIPS64_R1
  328. select SYS_HAS_EARLY_PRINTK
  329. select SYS_SUPPORTS_32BIT_KERNEL
  330. select SYS_SUPPORTS_64BIT_KERNEL
  331. select SYS_SUPPORTS_BIG_ENDIAN
  332. select SYS_SUPPORTS_LITTLE_ENDIAN
  333. select SYS_SUPPORTS_SMARTMIPS
  334. select USB_ARCH_HAS_EHCI
  335. select USB_EHCI_BIG_ENDIAN_DESC
  336. select USB_EHCI_BIG_ENDIAN_MMIO
  337. help
  338. This enables support for the MIPS Technologies SEAD3 evaluation
  339. board.
  340. config NEC_MARKEINS
  341. bool "NEC EMMA2RH Mark-eins board"
  342. select SOC_EMMA2RH
  343. select HW_HAS_PCI
  344. help
  345. This enables support for the NEC Electronics Mark-eins boards.
  346. config MACH_VR41XX
  347. bool "NEC VR4100 series based machines"
  348. select CEVT_R4K
  349. select CSRC_R4K
  350. select SYS_HAS_CPU_VR41XX
  351. select ARCH_REQUIRE_GPIOLIB
  352. config NXP_STB220
  353. bool "NXP STB220 board"
  354. select SOC_PNX833X
  355. help
  356. Support for NXP Semiconductors STB220 Development Board.
  357. config NXP_STB225
  358. bool "NXP 225 board"
  359. select SOC_PNX833X
  360. select SOC_PNX8335
  361. help
  362. Support for NXP Semiconductors STB225 Development Board.
  363. config PNX8550_JBS
  364. bool "NXP PNX8550 based JBS board"
  365. select PNX8550
  366. select SYS_SUPPORTS_LITTLE_ENDIAN
  367. config PNX8550_STB810
  368. bool "NXP PNX8550 based STB810 board"
  369. select PNX8550
  370. select SYS_SUPPORTS_LITTLE_ENDIAN
  371. config PMC_MSP
  372. bool "PMC-Sierra MSP chipsets"
  373. depends on EXPERIMENTAL
  374. select CEVT_R4K
  375. select CSRC_R4K
  376. select DMA_NONCOHERENT
  377. select SWAP_IO_SPACE
  378. select NO_EXCEPT_FILL
  379. select BOOT_RAW
  380. select SYS_HAS_CPU_MIPS32_R1
  381. select SYS_HAS_CPU_MIPS32_R2
  382. select SYS_SUPPORTS_32BIT_KERNEL
  383. select SYS_SUPPORTS_BIG_ENDIAN
  384. select IRQ_CPU
  385. select SERIAL_8250
  386. select SERIAL_8250_CONSOLE
  387. help
  388. This adds support for the PMC-Sierra family of Multi-Service
  389. Processor System-On-A-Chips. These parts include a number
  390. of integrated peripherals, interfaces and DSPs in addition to
  391. a variety of MIPS cores.
  392. config POWERTV
  393. bool "Cisco PowerTV"
  394. select BOOT_ELF32
  395. select CEVT_R4K
  396. select CPU_MIPSR2_IRQ_VI
  397. select CPU_MIPSR2_IRQ_EI
  398. select CSRC_POWERTV
  399. select DMA_NONCOHERENT
  400. select HW_HAS_PCI
  401. select SYS_HAS_EARLY_PRINTK
  402. select SYS_HAS_CPU_MIPS32_R2
  403. select SYS_SUPPORTS_32BIT_KERNEL
  404. select SYS_SUPPORTS_BIG_ENDIAN
  405. select SYS_SUPPORTS_HIGHMEM
  406. select USB_OHCI_LITTLE_ENDIAN
  407. help
  408. This enables support for the Cisco PowerTV Platform.
  409. config SGI_IP22
  410. bool "SGI IP22 (Indy/Indigo2)"
  411. select FW_ARC
  412. select FW_ARC32
  413. select BOOT_ELF32
  414. select CEVT_R4K
  415. select CSRC_R4K
  416. select DEFAULT_SGI_PARTITION
  417. select DMA_NONCOHERENT
  418. select HW_HAS_EISA
  419. select I8253
  420. select I8259
  421. select IP22_CPU_SCACHE
  422. select IRQ_CPU
  423. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  424. select SGI_HAS_I8042
  425. select SGI_HAS_INDYDOG
  426. select SGI_HAS_HAL2
  427. select SGI_HAS_SEEQ
  428. select SGI_HAS_WD93
  429. select SGI_HAS_ZILOG
  430. select SWAP_IO_SPACE
  431. select SYS_HAS_CPU_R4X00
  432. select SYS_HAS_CPU_R5000
  433. #
  434. # Disable EARLY_PRINTK for now since it leads to overwritten prom
  435. # memory during early boot on some machines.
  436. #
  437. # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  438. # for a more details discussion
  439. #
  440. # select SYS_HAS_EARLY_PRINTK
  441. select SYS_SUPPORTS_32BIT_KERNEL
  442. select SYS_SUPPORTS_64BIT_KERNEL
  443. select SYS_SUPPORTS_BIG_ENDIAN
  444. help
  445. This are the SGI Indy, Challenge S and Indigo2, as well as certain
  446. OEM variants like the Tandem CMN B006S. To compile a Linux kernel
  447. that runs on these, say Y here.
  448. config SGI_IP27
  449. bool "SGI IP27 (Origin200/2000)"
  450. select FW_ARC
  451. select FW_ARC64
  452. select BOOT_ELF64
  453. select DEFAULT_SGI_PARTITION
  454. select DMA_COHERENT
  455. select SYS_HAS_EARLY_PRINTK
  456. select HW_HAS_PCI
  457. select NR_CPUS_DEFAULT_64
  458. select SYS_HAS_CPU_R10000
  459. select SYS_SUPPORTS_64BIT_KERNEL
  460. select SYS_SUPPORTS_BIG_ENDIAN
  461. select SYS_SUPPORTS_NUMA
  462. select SYS_SUPPORTS_SMP
  463. help
  464. This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
  465. workstations. To compile a Linux kernel that runs on these, say Y
  466. here.
  467. config SGI_IP28
  468. bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
  469. depends on EXPERIMENTAL
  470. select FW_ARC
  471. select FW_ARC64
  472. select BOOT_ELF64
  473. select CEVT_R4K
  474. select CSRC_R4K
  475. select DEFAULT_SGI_PARTITION
  476. select DMA_NONCOHERENT
  477. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  478. select IRQ_CPU
  479. select HW_HAS_EISA
  480. select I8253
  481. select I8259
  482. select SGI_HAS_I8042
  483. select SGI_HAS_INDYDOG
  484. select SGI_HAS_HAL2
  485. select SGI_HAS_SEEQ
  486. select SGI_HAS_WD93
  487. select SGI_HAS_ZILOG
  488. select SWAP_IO_SPACE
  489. select SYS_HAS_CPU_R10000
  490. #
  491. # Disable EARLY_PRINTK for now since it leads to overwritten prom
  492. # memory during early boot on some machines.
  493. #
  494. # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  495. # for a more details discussion
  496. #
  497. # select SYS_HAS_EARLY_PRINTK
  498. select SYS_SUPPORTS_64BIT_KERNEL
  499. select SYS_SUPPORTS_BIG_ENDIAN
  500. help
  501. This is the SGI Indigo2 with R10000 processor. To compile a Linux
  502. kernel that runs on these, say Y here.
  503. config SGI_IP32
  504. bool "SGI IP32 (O2)"
  505. select FW_ARC
  506. select FW_ARC32
  507. select BOOT_ELF32
  508. select CEVT_R4K
  509. select CSRC_R4K
  510. select DMA_NONCOHERENT
  511. select HW_HAS_PCI
  512. select IRQ_CPU
  513. select R5000_CPU_SCACHE
  514. select RM7000_CPU_SCACHE
  515. select SYS_HAS_CPU_R5000
  516. select SYS_HAS_CPU_R10000 if BROKEN
  517. select SYS_HAS_CPU_RM7000
  518. select SYS_HAS_CPU_NEVADA
  519. select SYS_SUPPORTS_64BIT_KERNEL
  520. select SYS_SUPPORTS_BIG_ENDIAN
  521. help
  522. If you want this kernel to run on SGI O2 workstation, say Y here.
  523. config SIBYTE_CRHINE
  524. bool "Sibyte BCM91120C-CRhine"
  525. depends on EXPERIMENTAL
  526. select BOOT_ELF32
  527. select DMA_COHERENT
  528. select SIBYTE_BCM1120
  529. select SWAP_IO_SPACE
  530. select SYS_HAS_CPU_SB1
  531. select SYS_SUPPORTS_BIG_ENDIAN
  532. select SYS_SUPPORTS_LITTLE_ENDIAN
  533. config SIBYTE_CARMEL
  534. bool "Sibyte BCM91120x-Carmel"
  535. depends on EXPERIMENTAL
  536. select BOOT_ELF32
  537. select DMA_COHERENT
  538. select SIBYTE_BCM1120
  539. select SWAP_IO_SPACE
  540. select SYS_HAS_CPU_SB1
  541. select SYS_SUPPORTS_BIG_ENDIAN
  542. select SYS_SUPPORTS_LITTLE_ENDIAN
  543. config SIBYTE_CRHONE
  544. bool "Sibyte BCM91125C-CRhone"
  545. depends on EXPERIMENTAL
  546. select BOOT_ELF32
  547. select DMA_COHERENT
  548. select SIBYTE_BCM1125
  549. select SWAP_IO_SPACE
  550. select SYS_HAS_CPU_SB1
  551. select SYS_SUPPORTS_BIG_ENDIAN
  552. select SYS_SUPPORTS_HIGHMEM
  553. select SYS_SUPPORTS_LITTLE_ENDIAN
  554. config SIBYTE_RHONE
  555. bool "Sibyte BCM91125E-Rhone"
  556. depends on EXPERIMENTAL
  557. select BOOT_ELF32
  558. select DMA_COHERENT
  559. select SIBYTE_BCM1125H
  560. select SWAP_IO_SPACE
  561. select SYS_HAS_CPU_SB1
  562. select SYS_SUPPORTS_BIG_ENDIAN
  563. select SYS_SUPPORTS_LITTLE_ENDIAN
  564. config SIBYTE_SWARM
  565. bool "Sibyte BCM91250A-SWARM"
  566. select BOOT_ELF32
  567. select DMA_COHERENT
  568. select HAVE_PATA_PLATFORM
  569. select NR_CPUS_DEFAULT_2
  570. select SIBYTE_SB1250
  571. select SWAP_IO_SPACE
  572. select SYS_HAS_CPU_SB1
  573. select SYS_SUPPORTS_BIG_ENDIAN
  574. select SYS_SUPPORTS_HIGHMEM
  575. select SYS_SUPPORTS_LITTLE_ENDIAN
  576. select ZONE_DMA32 if 64BIT
  577. config SIBYTE_LITTLESUR
  578. bool "Sibyte BCM91250C2-LittleSur"
  579. depends on EXPERIMENTAL
  580. select BOOT_ELF32
  581. select DMA_COHERENT
  582. select HAVE_PATA_PLATFORM
  583. select NR_CPUS_DEFAULT_2
  584. select SIBYTE_SB1250
  585. select SWAP_IO_SPACE
  586. select SYS_HAS_CPU_SB1
  587. select SYS_SUPPORTS_BIG_ENDIAN
  588. select SYS_SUPPORTS_HIGHMEM
  589. select SYS_SUPPORTS_LITTLE_ENDIAN
  590. config SIBYTE_SENTOSA
  591. bool "Sibyte BCM91250E-Sentosa"
  592. depends on EXPERIMENTAL
  593. select BOOT_ELF32
  594. select DMA_COHERENT
  595. select NR_CPUS_DEFAULT_2
  596. select SIBYTE_SB1250
  597. select SWAP_IO_SPACE
  598. select SYS_HAS_CPU_SB1
  599. select SYS_SUPPORTS_BIG_ENDIAN
  600. select SYS_SUPPORTS_LITTLE_ENDIAN
  601. config SIBYTE_BIGSUR
  602. bool "Sibyte BCM91480B-BigSur"
  603. select BOOT_ELF32
  604. select DMA_COHERENT
  605. select NR_CPUS_DEFAULT_4
  606. select SIBYTE_BCM1x80
  607. select SWAP_IO_SPACE
  608. select SYS_HAS_CPU_SB1
  609. select SYS_SUPPORTS_BIG_ENDIAN
  610. select SYS_SUPPORTS_HIGHMEM
  611. select SYS_SUPPORTS_LITTLE_ENDIAN
  612. select ZONE_DMA32 if 64BIT
  613. config SNI_RM
  614. bool "SNI RM200/300/400"
  615. select FW_ARC if CPU_LITTLE_ENDIAN
  616. select FW_ARC32 if CPU_LITTLE_ENDIAN
  617. select SNIPROM if CPU_BIG_ENDIAN
  618. select ARCH_MAY_HAVE_PC_FDC
  619. select BOOT_ELF32
  620. select CEVT_R4K
  621. select CSRC_R4K
  622. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  623. select DMA_NONCOHERENT
  624. select GENERIC_ISA_DMA
  625. select HAVE_PCSPKR_PLATFORM
  626. select HW_HAS_EISA
  627. select HW_HAS_PCI
  628. select IRQ_CPU
  629. select I8253
  630. select I8259
  631. select ISA
  632. select SWAP_IO_SPACE if CPU_BIG_ENDIAN
  633. select SYS_HAS_CPU_R4X00
  634. select SYS_HAS_CPU_R5000
  635. select SYS_HAS_CPU_R10000
  636. select R5000_CPU_SCACHE
  637. select SYS_HAS_EARLY_PRINTK
  638. select SYS_SUPPORTS_32BIT_KERNEL
  639. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  640. select SYS_SUPPORTS_BIG_ENDIAN
  641. select SYS_SUPPORTS_HIGHMEM
  642. select SYS_SUPPORTS_LITTLE_ENDIAN
  643. help
  644. The SNI RM200/300/400 are MIPS-based machines manufactured by
  645. Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
  646. Technology and now in turn merged with Fujitsu. Say Y here to
  647. support this machine type.
  648. config MACH_TX39XX
  649. bool "Toshiba TX39 series based machines"
  650. config MACH_TX49XX
  651. bool "Toshiba TX49 series based machines"
  652. config MIKROTIK_RB532
  653. bool "Mikrotik RB532 boards"
  654. select CEVT_R4K
  655. select CSRC_R4K
  656. select DMA_NONCOHERENT
  657. select HW_HAS_PCI
  658. select IRQ_CPU
  659. select SYS_HAS_CPU_MIPS32_R1
  660. select SYS_SUPPORTS_32BIT_KERNEL
  661. select SYS_SUPPORTS_LITTLE_ENDIAN
  662. select SWAP_IO_SPACE
  663. select BOOT_RAW
  664. select ARCH_REQUIRE_GPIOLIB
  665. help
  666. Support the Mikrotik(tm) RouterBoard 532 series,
  667. based on the IDT RC32434 SoC.
  668. config WR_PPMC
  669. bool "Wind River PPMC board"
  670. select CEVT_R4K
  671. select CSRC_R4K
  672. select IRQ_CPU
  673. select BOOT_ELF32
  674. select DMA_NONCOHERENT
  675. select HW_HAS_PCI
  676. select PCI_GT64XXX_PCI0
  677. select SWAP_IO_SPACE
  678. select SYS_HAS_CPU_MIPS32_R1
  679. select SYS_HAS_CPU_MIPS32_R2
  680. select SYS_HAS_CPU_MIPS64_R1
  681. select SYS_HAS_CPU_NEVADA
  682. select SYS_HAS_CPU_RM7000
  683. select SYS_SUPPORTS_32BIT_KERNEL
  684. select SYS_SUPPORTS_64BIT_KERNEL
  685. select SYS_SUPPORTS_BIG_ENDIAN
  686. select SYS_SUPPORTS_LITTLE_ENDIAN
  687. help
  688. This enables support for the Wind River MIPS32 4KC PPMC evaluation
  689. board, which is based on GT64120 bridge chip.
  690. config CAVIUM_OCTEON_SIMULATOR
  691. bool "Cavium Networks Octeon Simulator"
  692. select CEVT_R4K
  693. select 64BIT_PHYS_ADDR
  694. select DMA_COHERENT
  695. select SYS_SUPPORTS_64BIT_KERNEL
  696. select SYS_SUPPORTS_BIG_ENDIAN
  697. select SYS_SUPPORTS_HOTPLUG_CPU
  698. select SYS_HAS_CPU_CAVIUM_OCTEON
  699. select HOLES_IN_ZONE
  700. help
  701. The Octeon simulator is software performance model of the Cavium
  702. Octeon Processor. It supports simulating Octeon processors on x86
  703. hardware.
  704. config CAVIUM_OCTEON_REFERENCE_BOARD
  705. bool "Cavium Networks Octeon reference board"
  706. select CEVT_R4K
  707. select 64BIT_PHYS_ADDR
  708. select DMA_COHERENT
  709. select SYS_SUPPORTS_64BIT_KERNEL
  710. select SYS_SUPPORTS_BIG_ENDIAN
  711. select EDAC_SUPPORT
  712. select SYS_SUPPORTS_HOTPLUG_CPU
  713. select SYS_HAS_EARLY_PRINTK
  714. select SYS_HAS_CPU_CAVIUM_OCTEON
  715. select SWAP_IO_SPACE
  716. select HW_HAS_PCI
  717. select ARCH_SUPPORTS_MSI
  718. select ZONE_DMA32
  719. select USB_ARCH_HAS_OHCI
  720. select USB_ARCH_HAS_EHCI
  721. select HOLES_IN_ZONE
  722. help
  723. This option supports all of the Octeon reference boards from Cavium
  724. Networks. It builds a kernel that dynamically determines the Octeon
  725. CPU type and supports all known board reference implementations.
  726. Some of the supported boards are:
  727. EBT3000
  728. EBH3000
  729. EBH3100
  730. Thunder
  731. Kodama
  732. Hikari
  733. Say Y here for most Octeon reference boards.
  734. config NLM_XLR_BOARD
  735. bool "Netlogic XLR/XLS based systems"
  736. depends on EXPERIMENTAL
  737. select BOOT_ELF32
  738. select NLM_COMMON
  739. select SYS_HAS_CPU_XLR
  740. select SYS_SUPPORTS_SMP
  741. select HW_HAS_PCI
  742. select SWAP_IO_SPACE
  743. select SYS_SUPPORTS_32BIT_KERNEL
  744. select SYS_SUPPORTS_64BIT_KERNEL
  745. select 64BIT_PHYS_ADDR
  746. select SYS_SUPPORTS_BIG_ENDIAN
  747. select SYS_SUPPORTS_HIGHMEM
  748. select DMA_COHERENT
  749. select NR_CPUS_DEFAULT_32
  750. select CEVT_R4K
  751. select CSRC_R4K
  752. select IRQ_CPU
  753. select ARCH_SUPPORTS_MSI
  754. select ZONE_DMA32 if 64BIT
  755. select SYNC_R4K
  756. select SYS_HAS_EARLY_PRINTK
  757. select USB_ARCH_HAS_OHCI if USB_SUPPORT
  758. select USB_ARCH_HAS_EHCI if USB_SUPPORT
  759. help
  760. Support for systems based on Netlogic XLR and XLS processors.
  761. Say Y here if you have a XLR or XLS based board.
  762. config NLM_XLP_BOARD
  763. bool "Netlogic XLP based systems"
  764. depends on EXPERIMENTAL
  765. select BOOT_ELF32
  766. select NLM_COMMON
  767. select SYS_HAS_CPU_XLP
  768. select SYS_SUPPORTS_SMP
  769. select HW_HAS_PCI
  770. select SYS_SUPPORTS_32BIT_KERNEL
  771. select SYS_SUPPORTS_64BIT_KERNEL
  772. select 64BIT_PHYS_ADDR
  773. select SYS_SUPPORTS_BIG_ENDIAN
  774. select SYS_SUPPORTS_LITTLE_ENDIAN
  775. select SYS_SUPPORTS_HIGHMEM
  776. select DMA_COHERENT
  777. select NR_CPUS_DEFAULT_32
  778. select CEVT_R4K
  779. select CSRC_R4K
  780. select IRQ_CPU
  781. select ZONE_DMA32 if 64BIT
  782. select SYNC_R4K
  783. select SYS_HAS_EARLY_PRINTK
  784. select USE_OF
  785. help
  786. This board is based on Netlogic XLP Processor.
  787. Say Y here if you have a XLP based board.
  788. endchoice
  789. source "arch/mips/alchemy/Kconfig"
  790. source "arch/mips/ath79/Kconfig"
  791. source "arch/mips/bcm47xx/Kconfig"
  792. source "arch/mips/bcm63xx/Kconfig"
  793. source "arch/mips/jazz/Kconfig"
  794. source "arch/mips/jz4740/Kconfig"
  795. source "arch/mips/lantiq/Kconfig"
  796. source "arch/mips/lasat/Kconfig"
  797. source "arch/mips/pmc-sierra/Kconfig"
  798. source "arch/mips/powertv/Kconfig"
  799. source "arch/mips/sgi-ip27/Kconfig"
  800. source "arch/mips/sibyte/Kconfig"
  801. source "arch/mips/txx9/Kconfig"
  802. source "arch/mips/vr41xx/Kconfig"
  803. source "arch/mips/cavium-octeon/Kconfig"
  804. source "arch/mips/loongson/Kconfig"
  805. source "arch/mips/loongson1/Kconfig"
  806. source "arch/mips/netlogic/Kconfig"
  807. endmenu
  808. config RWSEM_GENERIC_SPINLOCK
  809. bool
  810. default y
  811. config RWSEM_XCHGADD_ALGORITHM
  812. bool
  813. config ARCH_HAS_ILOG2_U32
  814. bool
  815. default n
  816. config ARCH_HAS_ILOG2_U64
  817. bool
  818. default n
  819. config GENERIC_HWEIGHT
  820. bool
  821. default y
  822. config GENERIC_CALIBRATE_DELAY
  823. bool
  824. default y
  825. config SCHED_OMIT_FRAME_POINTER
  826. bool
  827. default y
  828. #
  829. # Select some configuration options automatically based on user selections.
  830. #
  831. config FW_ARC
  832. bool
  833. config ARCH_MAY_HAVE_PC_FDC
  834. bool
  835. config BOOT_RAW
  836. bool
  837. config CEVT_BCM1480
  838. bool
  839. config CEVT_DS1287
  840. bool
  841. config CEVT_GT641XX
  842. bool
  843. config CEVT_R4K
  844. bool
  845. config CEVT_SB1250
  846. bool
  847. config CEVT_TXX9
  848. bool
  849. config CSRC_BCM1480
  850. bool
  851. config CSRC_IOASIC
  852. bool
  853. config CSRC_POWERTV
  854. bool
  855. config CSRC_R4K
  856. bool
  857. config CSRC_SB1250
  858. bool
  859. config GPIO_TXX9
  860. select GENERIC_GPIO
  861. select ARCH_REQUIRE_GPIOLIB
  862. bool
  863. config FW_CFE
  864. bool
  865. config ARCH_DMA_ADDR_T_64BIT
  866. def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT
  867. config DMA_COHERENT
  868. bool
  869. config DMA_NONCOHERENT
  870. bool
  871. select NEED_DMA_MAP_STATE
  872. config NEED_DMA_MAP_STATE
  873. bool
  874. config SYS_HAS_EARLY_PRINTK
  875. bool
  876. config HOTPLUG_CPU
  877. bool "Support for hot-pluggable CPUs"
  878. depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
  879. help
  880. Say Y here to allow turning CPUs off and on. CPUs can be
  881. controlled through /sys/devices/system/cpu.
  882. (Note: power management support will enable this option
  883. automatically on SMP systems. )
  884. Say N if you want to disable CPU hotplug.
  885. config SYS_SUPPORTS_HOTPLUG_CPU
  886. bool
  887. config I8259
  888. bool
  889. config MIPS_BONITO64
  890. bool
  891. config MIPS_MSC
  892. bool
  893. config MIPS_NILE4
  894. bool
  895. config MIPS_DISABLE_OBSOLETE_IDE
  896. bool
  897. config SYNC_R4K
  898. bool
  899. config MIPS_MACHINE
  900. def_bool n
  901. config NO_IOPORT
  902. def_bool n
  903. config GENERIC_ISA_DMA
  904. bool
  905. select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
  906. select ISA_DMA_API
  907. config GENERIC_ISA_DMA_SUPPORT_BROKEN
  908. bool
  909. select GENERIC_ISA_DMA
  910. config ISA_DMA_API
  911. bool
  912. config GENERIC_GPIO
  913. bool
  914. config HOLES_IN_ZONE
  915. bool
  916. #
  917. # Endianness selection. Sufficiently obscure so many users don't know what to
  918. # answer,so we try hard to limit the available choices. Also the use of a
  919. # choice statement should be more obvious to the user.
  920. #
  921. choice
  922. prompt "Endianness selection"
  923. help
  924. Some MIPS machines can be configured for either little or big endian
  925. byte order. These modes require different kernels and a different
  926. Linux distribution. In general there is one preferred byteorder for a
  927. particular system but some systems are just as commonly used in the
  928. one or the other endianness.
  929. config CPU_BIG_ENDIAN
  930. bool "Big endian"
  931. depends on SYS_SUPPORTS_BIG_ENDIAN
  932. config CPU_LITTLE_ENDIAN
  933. bool "Little endian"
  934. depends on SYS_SUPPORTS_LITTLE_ENDIAN
  935. help
  936. endchoice
  937. config EXPORT_UASM
  938. bool
  939. config SYS_SUPPORTS_APM_EMULATION
  940. bool
  941. config SYS_SUPPORTS_BIG_ENDIAN
  942. bool
  943. config SYS_SUPPORTS_LITTLE_ENDIAN
  944. bool
  945. config SYS_SUPPORTS_HUGETLBFS
  946. bool
  947. depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
  948. default y
  949. config MIPS_HUGE_TLB_SUPPORT
  950. def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
  951. config IRQ_CPU
  952. bool
  953. config IRQ_CPU_RM7K
  954. bool
  955. config IRQ_MSP_SLP
  956. bool
  957. config IRQ_MSP_CIC
  958. bool
  959. config IRQ_TXX9
  960. bool
  961. config IRQ_GT641XX
  962. bool
  963. config IRQ_GIC
  964. bool
  965. config MIPS_BOARDS_GEN
  966. bool
  967. config PCI_GT64XXX_PCI0
  968. bool
  969. config NO_EXCEPT_FILL
  970. bool
  971. config SOC_EMMA2RH
  972. bool
  973. select CEVT_R4K
  974. select CSRC_R4K
  975. select DMA_NONCOHERENT
  976. select IRQ_CPU
  977. select SWAP_IO_SPACE
  978. select SYS_HAS_CPU_R5500
  979. select SYS_SUPPORTS_32BIT_KERNEL
  980. select SYS_SUPPORTS_64BIT_KERNEL
  981. select SYS_SUPPORTS_BIG_ENDIAN
  982. config SOC_PNX833X
  983. bool
  984. select CEVT_R4K
  985. select CSRC_R4K
  986. select IRQ_CPU
  987. select DMA_NONCOHERENT
  988. select SYS_HAS_CPU_MIPS32_R2
  989. select SYS_SUPPORTS_32BIT_KERNEL
  990. select SYS_SUPPORTS_LITTLE_ENDIAN
  991. select SYS_SUPPORTS_BIG_ENDIAN
  992. select GENERIC_GPIO
  993. select CPU_MIPSR2_IRQ_VI
  994. config SOC_PNX8335
  995. bool
  996. select SOC_PNX833X
  997. config PNX8550
  998. bool
  999. select SOC_PNX8550
  1000. config SOC_PNX8550
  1001. bool
  1002. select DMA_NONCOHERENT
  1003. select HW_HAS_PCI
  1004. select SYS_HAS_CPU_MIPS32_R1
  1005. select SYS_HAS_EARLY_PRINTK
  1006. select SYS_SUPPORTS_32BIT_KERNEL
  1007. select GENERIC_GPIO
  1008. config SWAP_IO_SPACE
  1009. bool
  1010. config SGI_HAS_INDYDOG
  1011. bool
  1012. config SGI_HAS_HAL2
  1013. bool
  1014. config SGI_HAS_SEEQ
  1015. bool
  1016. config SGI_HAS_WD93
  1017. bool
  1018. config SGI_HAS_ZILOG
  1019. bool
  1020. config SGI_HAS_I8042
  1021. bool
  1022. config DEFAULT_SGI_PARTITION
  1023. bool
  1024. config FW_ARC32
  1025. bool
  1026. config SNIPROM
  1027. bool
  1028. config BOOT_ELF32
  1029. bool
  1030. config MIPS_L1_CACHE_SHIFT
  1031. int
  1032. default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
  1033. default "6" if MIPS_CPU_SCACHE
  1034. default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
  1035. default "5"
  1036. config HAVE_STD_PC_SERIAL_PORT
  1037. bool
  1038. config ARC_CONSOLE
  1039. bool "ARC console support"
  1040. depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
  1041. config ARC_MEMORY
  1042. bool
  1043. depends on MACH_JAZZ || SNI_RM || SGI_IP32
  1044. default y
  1045. config ARC_PROMLIB
  1046. bool
  1047. depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
  1048. default y
  1049. config FW_ARC64
  1050. bool
  1051. config BOOT_ELF64
  1052. bool
  1053. menu "CPU selection"
  1054. choice
  1055. prompt "CPU type"
  1056. default CPU_R4X00
  1057. config CPU_LOONGSON2E
  1058. bool "Loongson 2E"
  1059. depends on SYS_HAS_CPU_LOONGSON2E
  1060. select CPU_LOONGSON2
  1061. help
  1062. The Loongson 2E processor implements the MIPS III instruction set
  1063. with many extensions.
  1064. It has an internal FPGA northbridge, which is compatible to
  1065. bonito64.
  1066. config CPU_LOONGSON2F
  1067. bool "Loongson 2F"
  1068. depends on SYS_HAS_CPU_LOONGSON2F
  1069. select CPU_LOONGSON2
  1070. select GENERIC_GPIO
  1071. select ARCH_REQUIRE_GPIOLIB
  1072. help
  1073. The Loongson 2F processor implements the MIPS III instruction set
  1074. with many extensions.
  1075. Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
  1076. have a similar programming interface with FPGA northbridge used in
  1077. Loongson2E.
  1078. config CPU_LOONGSON1B
  1079. bool "Loongson 1B"
  1080. depends on SYS_HAS_CPU_LOONGSON1B
  1081. select CPU_LOONGSON1
  1082. help
  1083. The Loongson 1B is a 32-bit SoC, which implements the MIPS32
  1084. release 2 instruction set.
  1085. config CPU_MIPS32_R1
  1086. bool "MIPS32 Release 1"
  1087. depends on SYS_HAS_CPU_MIPS32_R1
  1088. select CPU_HAS_PREFETCH
  1089. select CPU_SUPPORTS_32BIT_KERNEL
  1090. select CPU_SUPPORTS_HIGHMEM
  1091. help
  1092. Choose this option to build a kernel for release 1 or later of the
  1093. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1094. MIPS processor are based on a MIPS32 processor. If you know the
  1095. specific type of processor in your system, choose those that one
  1096. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1097. Release 2 of the MIPS32 architecture is available since several
  1098. years so chances are you even have a MIPS32 Release 2 processor
  1099. in which case you should choose CPU_MIPS32_R2 instead for better
  1100. performance.
  1101. config CPU_MIPS32_R2
  1102. bool "MIPS32 Release 2"
  1103. depends on SYS_HAS_CPU_MIPS32_R2
  1104. select CPU_HAS_PREFETCH
  1105. select CPU_SUPPORTS_32BIT_KERNEL
  1106. select CPU_SUPPORTS_HIGHMEM
  1107. help
  1108. Choose this option to build a kernel for release 2 or later of the
  1109. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1110. MIPS processor are based on a MIPS32 processor. If you know the
  1111. specific type of processor in your system, choose those that one
  1112. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1113. config CPU_MIPS64_R1
  1114. bool "MIPS64 Release 1"
  1115. depends on SYS_HAS_CPU_MIPS64_R1
  1116. select CPU_HAS_PREFETCH
  1117. select CPU_SUPPORTS_32BIT_KERNEL
  1118. select CPU_SUPPORTS_64BIT_KERNEL
  1119. select CPU_SUPPORTS_HIGHMEM
  1120. select CPU_SUPPORTS_HUGEPAGES
  1121. help
  1122. Choose this option to build a kernel for release 1 or later of the
  1123. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1124. MIPS processor are based on a MIPS64 processor. If you know the
  1125. specific type of processor in your system, choose those that one
  1126. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1127. Release 2 of the MIPS64 architecture is available since several
  1128. years so chances are you even have a MIPS64 Release 2 processor
  1129. in which case you should choose CPU_MIPS64_R2 instead for better
  1130. performance.
  1131. config CPU_MIPS64_R2
  1132. bool "MIPS64 Release 2"
  1133. depends on SYS_HAS_CPU_MIPS64_R2
  1134. select CPU_HAS_PREFETCH
  1135. select CPU_SUPPORTS_32BIT_KERNEL
  1136. select CPU_SUPPORTS_64BIT_KERNEL
  1137. select CPU_SUPPORTS_HIGHMEM
  1138. select CPU_SUPPORTS_HUGEPAGES
  1139. help
  1140. Choose this option to build a kernel for release 2 or later of the
  1141. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1142. MIPS processor are based on a MIPS64 processor. If you know the
  1143. specific type of processor in your system, choose those that one
  1144. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1145. config CPU_R3000
  1146. bool "R3000"
  1147. depends on SYS_HAS_CPU_R3000
  1148. select CPU_HAS_WB
  1149. select CPU_SUPPORTS_32BIT_KERNEL
  1150. select CPU_SUPPORTS_HIGHMEM
  1151. help
  1152. Please make sure to pick the right CPU type. Linux/MIPS is not
  1153. designed to be generic, i.e. Kernels compiled for R3000 CPUs will
  1154. *not* work on R4000 machines and vice versa. However, since most
  1155. of the supported machines have an R4000 (or similar) CPU, R4x00
  1156. might be a safe bet. If the resulting kernel does not work,
  1157. try to recompile with R3000.
  1158. config CPU_TX39XX
  1159. bool "R39XX"
  1160. depends on SYS_HAS_CPU_TX39XX
  1161. select CPU_SUPPORTS_32BIT_KERNEL
  1162. config CPU_VR41XX
  1163. bool "R41xx"
  1164. depends on SYS_HAS_CPU_VR41XX
  1165. select CPU_SUPPORTS_32BIT_KERNEL
  1166. select CPU_SUPPORTS_64BIT_KERNEL
  1167. help
  1168. The options selects support for the NEC VR4100 series of processors.
  1169. Only choose this option if you have one of these processors as a
  1170. kernel built with this option will not run on any other type of
  1171. processor or vice versa.
  1172. config CPU_R4300
  1173. bool "R4300"
  1174. depends on SYS_HAS_CPU_R4300
  1175. select CPU_SUPPORTS_32BIT_KERNEL
  1176. select CPU_SUPPORTS_64BIT_KERNEL
  1177. help
  1178. MIPS Technologies R4300-series processors.
  1179. config CPU_R4X00
  1180. bool "R4x00"
  1181. depends on SYS_HAS_CPU_R4X00
  1182. select CPU_SUPPORTS_32BIT_KERNEL
  1183. select CPU_SUPPORTS_64BIT_KERNEL
  1184. select CPU_SUPPORTS_HUGEPAGES
  1185. help
  1186. MIPS Technologies R4000-series processors other than 4300, including
  1187. the R4000, R4400, R4600, and 4700.
  1188. config CPU_TX49XX
  1189. bool "R49XX"
  1190. depends on SYS_HAS_CPU_TX49XX
  1191. select CPU_HAS_PREFETCH
  1192. select CPU_SUPPORTS_32BIT_KERNEL
  1193. select CPU_SUPPORTS_64BIT_KERNEL
  1194. select CPU_SUPPORTS_HUGEPAGES
  1195. config CPU_R5000
  1196. bool "R5000"
  1197. depends on SYS_HAS_CPU_R5000
  1198. select CPU_SUPPORTS_32BIT_KERNEL
  1199. select CPU_SUPPORTS_64BIT_KERNEL
  1200. select CPU_SUPPORTS_HUGEPAGES
  1201. help
  1202. MIPS Technologies R5000-series processors other than the Nevada.
  1203. config CPU_R5432
  1204. bool "R5432"
  1205. depends on SYS_HAS_CPU_R5432
  1206. select CPU_SUPPORTS_32BIT_KERNEL
  1207. select CPU_SUPPORTS_64BIT_KERNEL
  1208. select CPU_SUPPORTS_HUGEPAGES
  1209. config CPU_R5500
  1210. bool "R5500"
  1211. depends on SYS_HAS_CPU_R5500
  1212. select CPU_SUPPORTS_32BIT_KERNEL
  1213. select CPU_SUPPORTS_64BIT_KERNEL
  1214. select CPU_SUPPORTS_HUGEPAGES
  1215. help
  1216. NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
  1217. instruction set.
  1218. config CPU_R6000
  1219. bool "R6000"
  1220. depends on EXPERIMENTAL
  1221. depends on SYS_HAS_CPU_R6000
  1222. select CPU_SUPPORTS_32BIT_KERNEL
  1223. help
  1224. MIPS Technologies R6000 and R6000A series processors. Note these
  1225. processors are extremely rare and the support for them is incomplete.
  1226. config CPU_NEVADA
  1227. bool "RM52xx"
  1228. depends on SYS_HAS_CPU_NEVADA
  1229. select CPU_SUPPORTS_32BIT_KERNEL
  1230. select CPU_SUPPORTS_64BIT_KERNEL
  1231. select CPU_SUPPORTS_HUGEPAGES
  1232. help
  1233. QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  1234. config CPU_R8000
  1235. bool "R8000"
  1236. depends on EXPERIMENTAL
  1237. depends on SYS_HAS_CPU_R8000
  1238. select CPU_HAS_PREFETCH
  1239. select CPU_SUPPORTS_64BIT_KERNEL
  1240. help
  1241. MIPS Technologies R8000 processors. Note these processors are
  1242. uncommon and the support for them is incomplete.
  1243. config CPU_R10000
  1244. bool "R10000"
  1245. depends on SYS_HAS_CPU_R10000
  1246. select CPU_HAS_PREFETCH
  1247. select CPU_SUPPORTS_32BIT_KERNEL
  1248. select CPU_SUPPORTS_64BIT_KERNEL
  1249. select CPU_SUPPORTS_HIGHMEM
  1250. select CPU_SUPPORTS_HUGEPAGES
  1251. help
  1252. MIPS Technologies R10000-series processors.
  1253. config CPU_RM7000
  1254. bool "RM7000"
  1255. depends on SYS_HAS_CPU_RM7000
  1256. select CPU_HAS_PREFETCH
  1257. select CPU_SUPPORTS_32BIT_KERNEL
  1258. select CPU_SUPPORTS_64BIT_KERNEL
  1259. select CPU_SUPPORTS_HIGHMEM
  1260. select CPU_SUPPORTS_HUGEPAGES
  1261. config CPU_SB1
  1262. bool "SB1"
  1263. depends on SYS_HAS_CPU_SB1
  1264. select CPU_SUPPORTS_32BIT_KERNEL
  1265. select CPU_SUPPORTS_64BIT_KERNEL
  1266. select CPU_SUPPORTS_HIGHMEM
  1267. select CPU_SUPPORTS_HUGEPAGES
  1268. select WEAK_ORDERING
  1269. config CPU_CAVIUM_OCTEON
  1270. bool "Cavium Octeon processor"
  1271. depends on SYS_HAS_CPU_CAVIUM_OCTEON
  1272. select ARCH_SPARSEMEM_ENABLE
  1273. select CPU_HAS_PREFETCH
  1274. select CPU_SUPPORTS_64BIT_KERNEL
  1275. select SYS_SUPPORTS_SMP
  1276. select NR_CPUS_DEFAULT_16
  1277. select WEAK_ORDERING
  1278. select CPU_SUPPORTS_HIGHMEM
  1279. select CPU_SUPPORTS_HUGEPAGES
  1280. select LIBFDT
  1281. select USE_OF
  1282. help
  1283. The Cavium Octeon processor is a highly integrated chip containing
  1284. many ethernet hardware widgets for networking tasks. The processor
  1285. can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
  1286. Full details can be found at http://www.caviumnetworks.com.
  1287. config CPU_BMIPS3300
  1288. bool "BMIPS3300"
  1289. depends on SYS_HAS_CPU_BMIPS3300
  1290. select CPU_BMIPS
  1291. help
  1292. Broadcom BMIPS3300 processors.
  1293. config CPU_BMIPS4350
  1294. bool "BMIPS4350"
  1295. depends on SYS_HAS_CPU_BMIPS4350
  1296. select CPU_BMIPS
  1297. select SYS_SUPPORTS_SMP
  1298. select SYS_SUPPORTS_HOTPLUG_CPU
  1299. help
  1300. Broadcom BMIPS4350 ("VIPER") processors.
  1301. config CPU_BMIPS4380
  1302. bool "BMIPS4380"
  1303. depends on SYS_HAS_CPU_BMIPS4380
  1304. select CPU_BMIPS
  1305. select SYS_SUPPORTS_SMP
  1306. select SYS_SUPPORTS_HOTPLUG_CPU
  1307. help
  1308. Broadcom BMIPS4380 processors.
  1309. config CPU_BMIPS5000
  1310. bool "BMIPS5000"
  1311. depends on SYS_HAS_CPU_BMIPS5000
  1312. select CPU_BMIPS
  1313. select CPU_SUPPORTS_HIGHMEM
  1314. select MIPS_CPU_SCACHE
  1315. select SYS_SUPPORTS_SMP
  1316. select SYS_SUPPORTS_HOTPLUG_CPU
  1317. help
  1318. Broadcom BMIPS5000 processors.
  1319. config CPU_XLR
  1320. bool "Netlogic XLR SoC"
  1321. depends on SYS_HAS_CPU_XLR
  1322. select CPU_SUPPORTS_32BIT_KERNEL
  1323. select CPU_SUPPORTS_64BIT_KERNEL
  1324. select CPU_SUPPORTS_HIGHMEM
  1325. select CPU_SUPPORTS_HUGEPAGES
  1326. select WEAK_ORDERING
  1327. select WEAK_REORDERING_BEYOND_LLSC
  1328. help
  1329. Netlogic Microsystems XLR/XLS processors.
  1330. config CPU_XLP
  1331. bool "Netlogic XLP SoC"
  1332. depends on SYS_HAS_CPU_XLP
  1333. select CPU_SUPPORTS_32BIT_KERNEL
  1334. select CPU_SUPPORTS_64BIT_KERNEL
  1335. select CPU_SUPPORTS_HIGHMEM
  1336. select CPU_HAS_LLSC
  1337. select WEAK_ORDERING
  1338. select WEAK_REORDERING_BEYOND_LLSC
  1339. select CPU_HAS_PREFETCH
  1340. select CPU_MIPSR2
  1341. help
  1342. Netlogic Microsystems XLP processors.
  1343. endchoice
  1344. if CPU_LOONGSON2F
  1345. config CPU_NOP_WORKAROUNDS
  1346. bool
  1347. config CPU_JUMP_WORKAROUNDS
  1348. bool
  1349. config CPU_LOONGSON2F_WORKAROUNDS
  1350. bool "Loongson 2F Workarounds"
  1351. default y
  1352. select CPU_NOP_WORKAROUNDS
  1353. select CPU_JUMP_WORKAROUNDS
  1354. help
  1355. Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
  1356. require workarounds. Without workarounds the system may hang
  1357. unexpectedly. For more information please refer to the gas
  1358. -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
  1359. Loongson 2F03 and later have fixed these issues and no workarounds
  1360. are needed. The workarounds have no significant side effect on them
  1361. but may decrease the performance of the system so this option should
  1362. be disabled unless the kernel is intended to be run on 2F01 or 2F02
  1363. systems.
  1364. If unsure, please say Y.
  1365. endif # CPU_LOONGSON2F
  1366. config SYS_SUPPORTS_ZBOOT
  1367. bool
  1368. select HAVE_KERNEL_GZIP
  1369. select HAVE_KERNEL_BZIP2
  1370. select HAVE_KERNEL_LZMA
  1371. select HAVE_KERNEL_LZO
  1372. config SYS_SUPPORTS_ZBOOT_UART16550
  1373. bool
  1374. select SYS_SUPPORTS_ZBOOT
  1375. config CPU_LOONGSON2
  1376. bool
  1377. select CPU_SUPPORTS_32BIT_KERNEL
  1378. select CPU_SUPPORTS_64BIT_KERNEL
  1379. select CPU_SUPPORTS_HIGHMEM
  1380. select CPU_SUPPORTS_HUGEPAGES
  1381. config CPU_LOONGSON1
  1382. bool
  1383. select CPU_MIPS32
  1384. select CPU_MIPSR2
  1385. select CPU_HAS_PREFETCH
  1386. select CPU_SUPPORTS_32BIT_KERNEL
  1387. select CPU_SUPPORTS_HIGHMEM
  1388. config CPU_BMIPS
  1389. bool
  1390. select CPU_MIPS32
  1391. select CPU_SUPPORTS_32BIT_KERNEL
  1392. select DMA_NONCOHERENT
  1393. select IRQ_CPU
  1394. select SWAP_IO_SPACE
  1395. select WEAK_ORDERING
  1396. config SYS_HAS_CPU_LOONGSON2E
  1397. bool
  1398. config SYS_HAS_CPU_LOONGSON2F
  1399. bool
  1400. select CPU_SUPPORTS_CPUFREQ
  1401. select CPU_SUPPORTS_ADDRWINCFG if 64BIT
  1402. select CPU_SUPPORTS_UNCACHED_ACCELERATED
  1403. config SYS_HAS_CPU_LOONGSON1B
  1404. bool
  1405. config SYS_HAS_CPU_MIPS32_R1
  1406. bool
  1407. config SYS_HAS_CPU_MIPS32_R2
  1408. bool
  1409. config SYS_HAS_CPU_MIPS64_R1
  1410. bool
  1411. config SYS_HAS_CPU_MIPS64_R2
  1412. bool
  1413. config SYS_HAS_CPU_R3000
  1414. bool
  1415. config SYS_HAS_CPU_TX39XX
  1416. bool
  1417. config SYS_HAS_CPU_VR41XX
  1418. bool
  1419. config SYS_HAS_CPU_R4300
  1420. bool
  1421. config SYS_HAS_CPU_R4X00
  1422. bool
  1423. config SYS_HAS_CPU_TX49XX
  1424. bool
  1425. config SYS_HAS_CPU_R5000
  1426. bool
  1427. config SYS_HAS_CPU_R5432
  1428. bool
  1429. config SYS_HAS_CPU_R5500
  1430. bool
  1431. config SYS_HAS_CPU_R6000
  1432. bool
  1433. config SYS_HAS_CPU_NEVADA
  1434. bool
  1435. config SYS_HAS_CPU_R8000
  1436. bool
  1437. config SYS_HAS_CPU_R10000
  1438. bool
  1439. config SYS_HAS_CPU_RM7000
  1440. bool
  1441. config SYS_HAS_CPU_SB1
  1442. bool
  1443. config SYS_HAS_CPU_CAVIUM_OCTEON
  1444. bool
  1445. config SYS_HAS_CPU_BMIPS3300
  1446. bool
  1447. config SYS_HAS_CPU_BMIPS4350
  1448. bool
  1449. config SYS_HAS_CPU_BMIPS4380
  1450. bool
  1451. config SYS_HAS_CPU_BMIPS5000
  1452. bool
  1453. config SYS_HAS_CPU_XLR
  1454. bool
  1455. config SYS_HAS_CPU_XLP
  1456. bool
  1457. #
  1458. # CPU may reorder R->R, R->W, W->R, W->W
  1459. # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
  1460. #
  1461. config WEAK_ORDERING
  1462. bool
  1463. #
  1464. # CPU may reorder reads and writes beyond LL/SC
  1465. # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
  1466. #
  1467. config WEAK_REORDERING_BEYOND_LLSC
  1468. bool
  1469. endmenu
  1470. #
  1471. # These two indicate any level of the MIPS32 and MIPS64 architecture
  1472. #
  1473. config CPU_MIPS32
  1474. bool
  1475. default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
  1476. config CPU_MIPS64
  1477. bool
  1478. default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
  1479. #
  1480. # These two indicate the revision of the architecture, either Release 1 or Release 2
  1481. #
  1482. config CPU_MIPSR1
  1483. bool
  1484. default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  1485. config CPU_MIPSR2
  1486. bool
  1487. default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
  1488. config SYS_SUPPORTS_32BIT_KERNEL
  1489. bool
  1490. config SYS_SUPPORTS_64BIT_KERNEL
  1491. bool
  1492. config CPU_SUPPORTS_32BIT_KERNEL
  1493. bool
  1494. config CPU_SUPPORTS_64BIT_KERNEL
  1495. bool
  1496. config CPU_SUPPORTS_CPUFREQ
  1497. bool
  1498. config CPU_SUPPORTS_ADDRWINCFG
  1499. bool
  1500. config CPU_SUPPORTS_HUGEPAGES
  1501. bool
  1502. config CPU_SUPPORTS_UNCACHED_ACCELERATED
  1503. bool
  1504. config MIPS_PGD_C0_CONTEXT
  1505. bool
  1506. default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
  1507. #
  1508. # Set to y for ptrace access to watch registers.
  1509. #
  1510. config HARDWARE_WATCHPOINTS
  1511. bool
  1512. default y if CPU_MIPSR1 || CPU_MIPSR2
  1513. menu "Kernel type"
  1514. choice
  1515. prompt "Kernel code model"
  1516. help
  1517. You should only select this option if you have a workload that
  1518. actually benefits from 64-bit processing or if your machine has
  1519. large memory. You will only be presented a single option in this
  1520. menu if your system does not support both 32-bit and 64-bit kernels.
  1521. config 32BIT
  1522. bool "32-bit kernel"
  1523. depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
  1524. select TRAD_SIGNALS
  1525. help
  1526. Select this option if you want to build a 32-bit kernel.
  1527. config 64BIT
  1528. bool "64-bit kernel"
  1529. depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
  1530. select HAVE_SYSCALL_WRAPPERS
  1531. help
  1532. Select this option if you want to build a 64-bit kernel.
  1533. endchoice
  1534. choice
  1535. prompt "Kernel page size"
  1536. default PAGE_SIZE_4KB
  1537. config PAGE_SIZE_4KB
  1538. bool "4kB"
  1539. depends on !CPU_LOONGSON2
  1540. help
  1541. This option select the standard 4kB Linux page size. On some
  1542. R3000-family processors this is the only available page size. Using
  1543. 4kB page size will minimize memory consumption and is therefore
  1544. recommended for low memory systems.
  1545. config PAGE_SIZE_8KB
  1546. bool "8kB"
  1547. depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
  1548. help
  1549. Using 8kB page size will result in higher performance kernel at
  1550. the price of higher memory consumption. This option is available
  1551. only on R8000 and cnMIPS processors. Note that you will need a
  1552. suitable Linux distribution to support this.
  1553. config PAGE_SIZE_16KB
  1554. bool "16kB"
  1555. depends on !CPU_R3000 && !CPU_TX39XX
  1556. help
  1557. Using 16kB page size will result in higher performance kernel at
  1558. the price of higher memory consumption. This option is available on
  1559. all non-R3000 family processors. Note that you will need a suitable
  1560. Linux distribution to support this.
  1561. config PAGE_SIZE_32KB
  1562. bool "32kB"
  1563. depends on CPU_CAVIUM_OCTEON
  1564. help
  1565. Using 32kB page size will result in higher performance kernel at
  1566. the price of higher memory consumption. This option is available
  1567. only on cnMIPS cores. Note that you will need a suitable Linux
  1568. distribution to support this.
  1569. config PAGE_SIZE_64KB
  1570. bool "64kB"
  1571. depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
  1572. help
  1573. Using 64kB page size will result in higher performance kernel at
  1574. the price of higher memory consumption. This option is available on
  1575. all non-R3000 family processor. Not that at the time of this
  1576. writing this option is still high experimental.
  1577. endchoice
  1578. config FORCE_MAX_ZONEORDER
  1579. int "Maximum zone order"
  1580. range 14 64 if HUGETLB_PAGE && PAGE_SIZE_64KB
  1581. default "14" if HUGETLB_PAGE && PAGE_SIZE_64KB
  1582. range 13 64 if HUGETLB_PAGE && PAGE_SIZE_32KB
  1583. default "13" if HUGETLB_PAGE && PAGE_SIZE_32KB
  1584. range 12 64 if HUGETLB_PAGE && PAGE_SIZE_16KB
  1585. default "12" if HUGETLB_PAGE && PAGE_SIZE_16KB
  1586. range 11 64
  1587. default "11"
  1588. help
  1589. The kernel memory allocator divides physically contiguous memory
  1590. blocks into "zones", where each zone is a power of two number of
  1591. pages. This option selects the largest power of two that the kernel
  1592. keeps in the memory allocator. If you need to allocate very large
  1593. blocks of physically contiguous memory, then you may need to
  1594. increase this value.
  1595. This config option is actually maximum order plus one. For example,
  1596. a value of 11 means that the largest free memory block is 2^10 pages.
  1597. The page size is not necessarily 4KB. Keep this in mind
  1598. when choosing a value for this option.
  1599. config BOARD_SCACHE
  1600. bool
  1601. config IP22_CPU_SCACHE
  1602. bool
  1603. select BOARD_SCACHE
  1604. #
  1605. # Support for a MIPS32 / MIPS64 style S-caches
  1606. #
  1607. config MIPS_CPU_SCACHE
  1608. bool
  1609. select BOARD_SCACHE
  1610. config R5000_CPU_SCACHE
  1611. bool
  1612. select BOARD_SCACHE
  1613. config RM7000_CPU_SCACHE
  1614. bool
  1615. select BOARD_SCACHE
  1616. config SIBYTE_DMA_PAGEOPS
  1617. bool "Use DMA to clear/copy pages"
  1618. depends on CPU_SB1
  1619. help
  1620. Instead of using the CPU to zero and copy pages, use a Data Mover
  1621. channel. These DMA channels are otherwise unused by the standard
  1622. SiByte Linux port. Seems to give a small performance benefit.
  1623. config CPU_HAS_PREFETCH
  1624. bool
  1625. config CPU_GENERIC_DUMP_TLB
  1626. bool
  1627. default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX)
  1628. config CPU_R4K_FPU
  1629. bool
  1630. default y if !(CPU_R3000 || CPU_R6000 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
  1631. config CPU_R4K_CACHE_TLB
  1632. bool
  1633. default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
  1634. choice
  1635. prompt "MIPS MT options"
  1636. config MIPS_MT_DISABLED
  1637. bool "Disable multithreading support."
  1638. help
  1639. Use this option if your workload can't take advantage of
  1640. MIPS hardware multithreading support. On systems that don't have
  1641. the option of an MT-enabled processor this option will be the only
  1642. option in this menu.
  1643. config MIPS_MT_SMP
  1644. bool "Use 1 TC on each available VPE for SMP"
  1645. depends on SYS_SUPPORTS_MULTITHREADING
  1646. select CPU_MIPSR2_IRQ_VI
  1647. select CPU_MIPSR2_IRQ_EI
  1648. select MIPS_MT
  1649. select NR_CPUS_DEFAULT_2
  1650. select SMP
  1651. select SYS_SUPPORTS_SCHED_SMT if SMP
  1652. select SYS_SUPPORTS_SMP
  1653. select SMP_UP
  1654. select MIPS_PERF_SHARED_TC_COUNTERS
  1655. help
  1656. This is a kernel model which is known a VSMP but lately has been
  1657. marketesed into SMVP.
  1658. Virtual SMP uses the processor's VPEs to implement virtual
  1659. processors. In currently available configuration of the 34K processor
  1660. this allows for a dual processor. Both processors will share the same
  1661. primary caches; each will obtain the half of the TLB for it's own
  1662. exclusive use. For a layman this model can be described as similar to
  1663. what Intel calls Hyperthreading.
  1664. For further information see http://www.linux-mips.org/wiki/34K#VSMP
  1665. config MIPS_MT_SMTC
  1666. bool "SMTC: Use all TCs on all VPEs for SMP"
  1667. depends on CPU_MIPS32_R2
  1668. #depends on CPU_MIPS64_R2 # once there is hardware ...
  1669. depends on SYS_SUPPORTS_MULTITHREADING
  1670. select CPU_MIPSR2_IRQ_VI
  1671. select CPU_MIPSR2_IRQ_EI
  1672. select MIPS_MT
  1673. select NR_CPUS_DEFAULT_8
  1674. select SMP
  1675. select SYS_SUPPORTS_SMP
  1676. select SMP_UP
  1677. help
  1678. This is a kernel model which is known a SMTC or lately has been
  1679. marketesed into SMVP.
  1680. is presenting the available TC's of the core as processors to Linux.
  1681. On currently available 34K processors this means a Linux system will
  1682. see up to 5 processors. The implementation of the SMTC kernel differs
  1683. significantly from VSMP and cannot efficiently coexist in the same
  1684. kernel binary so the choice between VSMP and SMTC is a compile time
  1685. decision.
  1686. For further information see http://www.linux-mips.org/wiki/34K#SMTC
  1687. endchoice
  1688. config MIPS_MT
  1689. bool
  1690. config SCHED_SMT
  1691. bool "SMT (multithreading) scheduler support"
  1692. depends on SYS_SUPPORTS_SCHED_SMT
  1693. default n
  1694. help
  1695. SMT scheduler support improves the CPU scheduler's decision making
  1696. when dealing with MIPS MT enabled cores at a cost of slightly
  1697. increased overhead in some places. If unsure say N here.
  1698. config SYS_SUPPORTS_SCHED_SMT
  1699. bool
  1700. config SYS_SUPPORTS_MULTITHREADING
  1701. bool
  1702. config MIPS_MT_FPAFF
  1703. bool "Dynamic FPU affinity for FP-intensive threads"
  1704. default y
  1705. depends on MIPS_MT_SMP || MIPS_MT_SMTC
  1706. config MIPS_VPE_LOADER
  1707. bool "VPE loader support."
  1708. depends on SYS_SUPPORTS_MULTITHREADING
  1709. select CPU_MIPSR2_IRQ_VI
  1710. select CPU_MIPSR2_IRQ_EI
  1711. select MIPS_MT
  1712. help
  1713. Includes a loader for loading an elf relocatable object
  1714. onto another VPE and running it.
  1715. config MIPS_MT_SMTC_IM_BACKSTOP
  1716. bool "Use per-TC register bits as backstop for inhibited IM bits"
  1717. depends on MIPS_MT_SMTC
  1718. default n
  1719. help
  1720. To support multiple TC microthreads acting as "CPUs" within
  1721. a VPE, VPE-wide interrupt mask bits must be specially manipulated
  1722. during interrupt handling. To support legacy drivers and interrupt
  1723. controller management code, SMTC has a "backstop" to track and
  1724. if necessary restore the interrupt mask. This has some performance
  1725. impact on interrupt service overhead.
  1726. config MIPS_MT_SMTC_IRQAFF
  1727. bool "Support IRQ affinity API"
  1728. depends on MIPS_MT_SMTC
  1729. default n
  1730. help
  1731. Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
  1732. for SMTC Linux kernel. Requires platform support, of which
  1733. an example can be found in the MIPS kernel i8259 and Malta
  1734. platform code. Adds some overhead to interrupt dispatch, and
  1735. should be used only if you know what you are doing.
  1736. config MIPS_VPE_LOADER_TOM
  1737. bool "Load VPE program into memory hidden from linux"
  1738. depends on MIPS_VPE_LOADER
  1739. default y
  1740. help
  1741. The loader can use memory that is present but has been hidden from
  1742. Linux using the kernel command line option "mem=xxMB". It's up to
  1743. you to ensure the amount you put in the option and the space your
  1744. program requires is less or equal to the amount physically present.
  1745. # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
  1746. config MIPS_VPE_APSP_API
  1747. bool "Enable support for AP/SP API (RTLX)"
  1748. depends on MIPS_VPE_LOADER
  1749. help
  1750. config MIPS_CMP
  1751. bool "MIPS CMP framework support"
  1752. depends on SYS_SUPPORTS_MIPS_CMP
  1753. select SYNC_R4K
  1754. select SYS_SUPPORTS_SMP
  1755. select SYS_SUPPORTS_SCHED_SMT if SMP
  1756. select WEAK_ORDERING
  1757. default n
  1758. help
  1759. This is a placeholder option for the GCMP work. It will need to
  1760. be handled differently...
  1761. config SB1_PASS_1_WORKAROUNDS
  1762. bool
  1763. depends on CPU_SB1_PASS_1
  1764. default y
  1765. config SB1_PASS_2_WORKAROUNDS
  1766. bool
  1767. depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
  1768. default y
  1769. config SB1_PASS_2_1_WORKAROUNDS
  1770. bool
  1771. depends on CPU_SB1 && CPU_SB1_PASS_2
  1772. default y
  1773. config 64BIT_PHYS_ADDR
  1774. bool
  1775. config ARCH_PHYS_ADDR_T_64BIT
  1776. def_bool 64BIT_PHYS_ADDR
  1777. config CPU_HAS_SMARTMIPS
  1778. depends on SYS_SUPPORTS_SMARTMIPS
  1779. bool "Support for the SmartMIPS ASE"
  1780. help
  1781. SmartMIPS is a extension of the MIPS32 architecture aimed at
  1782. increased security at both hardware and software level for
  1783. smartcards. Enabling this option will allow proper use of the
  1784. SmartMIPS instructions by Linux applications. However a kernel with
  1785. this option will not work on a MIPS core without SmartMIPS core. If
  1786. you don't know you probably don't have SmartMIPS and should say N
  1787. here.
  1788. config CPU_HAS_WB
  1789. bool
  1790. config XKS01
  1791. bool
  1792. #
  1793. # Vectored interrupt mode is an R2 feature
  1794. #
  1795. config CPU_MIPSR2_IRQ_VI
  1796. bool
  1797. #
  1798. # Extended interrupt mode is an R2 feature
  1799. #
  1800. config CPU_MIPSR2_IRQ_EI
  1801. bool
  1802. config CPU_HAS_SYNC
  1803. bool
  1804. depends on !CPU_R3000
  1805. default y
  1806. #
  1807. # CPU non-features
  1808. #
  1809. config CPU_DADDI_WORKAROUNDS
  1810. bool
  1811. config CPU_R4000_WORKAROUNDS
  1812. bool
  1813. select CPU_R4400_WORKAROUNDS
  1814. config CPU_R4400_WORKAROUNDS
  1815. bool
  1816. #
  1817. # - Highmem only makes sense for the 32-bit kernel.
  1818. # - The current highmem code will only work properly on physically indexed
  1819. # caches such as R3000, SB1, R7000 or those that look like they're virtually
  1820. # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
  1821. # moment we protect the user and offer the highmem option only on machines
  1822. # where it's known to be safe. This will not offer highmem on a few systems
  1823. # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
  1824. # indexed CPUs but we're playing safe.
  1825. # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
  1826. # know they might have memory configurations that could make use of highmem
  1827. # support.
  1828. #
  1829. config HIGHMEM
  1830. bool "High Memory Support"
  1831. depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
  1832. config CPU_SUPPORTS_HIGHMEM
  1833. bool
  1834. config SYS_SUPPORTS_HIGHMEM
  1835. bool
  1836. config SYS_SUPPORTS_SMARTMIPS
  1837. bool
  1838. config ARCH_FLATMEM_ENABLE
  1839. def_bool y
  1840. depends on !NUMA && !CPU_LOONGSON2
  1841. config ARCH_DISCONTIGMEM_ENABLE
  1842. bool
  1843. default y if SGI_IP27
  1844. help
  1845. Say Y to support efficient handling of discontiguous physical memory,
  1846. for architectures which are either NUMA (Non-Uniform Memory Access)
  1847. or have huge holes in the physical address space for other reasons.
  1848. See <file:Documentation/vm/numa> for more.
  1849. config ARCH_SPARSEMEM_ENABLE
  1850. bool
  1851. select SPARSEMEM_STATIC
  1852. config NUMA
  1853. bool "NUMA Support"
  1854. depends on SYS_SUPPORTS_NUMA
  1855. help
  1856. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  1857. Access). This option improves performance on systems with more
  1858. than two nodes; on two node systems it is generally better to
  1859. leave it disabled; on single node systems disable this option
  1860. disabled.
  1861. config SYS_SUPPORTS_NUMA
  1862. bool
  1863. config NODES_SHIFT
  1864. int
  1865. default "6"
  1866. depends on NEED_MULTIPLE_NODES
  1867. config HW_PERF_EVENTS
  1868. bool "Enable hardware performance counter support for perf events"
  1869. depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP)
  1870. default y
  1871. help
  1872. Enable hardware performance counter support for perf events. If
  1873. disabled, perf events will use software events only.
  1874. source "mm/Kconfig"
  1875. config SMP
  1876. bool "Multi-Processing support"
  1877. depends on SYS_SUPPORTS_SMP
  1878. select IRQ_PER_CPU
  1879. select USE_GENERIC_SMP_HELPERS
  1880. help
  1881. This enables support for systems with more than one CPU. If you have
  1882. a system with only one CPU, like most personal computers, say N. If
  1883. you have a system with more than one CPU, say Y.
  1884. If you say N here, the kernel will run on single and multiprocessor
  1885. machines, but will use only one CPU of a multiprocessor machine. If
  1886. you say Y here, the kernel will run on many, but not all,
  1887. singleprocessor machines. On a singleprocessor machine, the kernel
  1888. will run faster if you say N here.
  1889. People using multiprocessor machines who say Y here should also say
  1890. Y to "Enhanced Real Time Clock Support", below.
  1891. See also the SMP-HOWTO available at
  1892. <http://www.tldp.org/docs.html#howto>.
  1893. If you don't know what to do here, say N.
  1894. config SMP_UP
  1895. bool
  1896. config SYS_SUPPORTS_MIPS_CMP
  1897. bool
  1898. config SYS_SUPPORTS_SMP
  1899. bool
  1900. config NR_CPUS_DEFAULT_1
  1901. bool
  1902. config NR_CPUS_DEFAULT_2
  1903. bool
  1904. config NR_CPUS_DEFAULT_4
  1905. bool
  1906. config NR_CPUS_DEFAULT_8
  1907. bool
  1908. config NR_CPUS_DEFAULT_16
  1909. bool
  1910. config NR_CPUS_DEFAULT_32
  1911. bool
  1912. config NR_CPUS_DEFAULT_64
  1913. bool
  1914. config NR_CPUS
  1915. int "Maximum number of CPUs (2-64)"
  1916. range 1 64 if NR_CPUS_DEFAULT_1
  1917. depends on SMP
  1918. default "1" if NR_CPUS_DEFAULT_1
  1919. default "2" if NR_CPUS_DEFAULT_2
  1920. default "4" if NR_CPUS_DEFAULT_4
  1921. default "8" if NR_CPUS_DEFAULT_8
  1922. default "16" if NR_CPUS_DEFAULT_16
  1923. default "32" if NR_CPUS_DEFAULT_32
  1924. default "64" if NR_CPUS_DEFAULT_64
  1925. help
  1926. This allows you to specify the maximum number of CPUs which this
  1927. kernel will support. The maximum supported value is 32 for 32-bit
  1928. kernel and 64 for 64-bit kernels; the minimum value which makes
  1929. sense is 1 for Qemu (useful only for kernel debugging purposes)
  1930. and 2 for all others.
  1931. This is purely to save memory - each supported CPU adds
  1932. approximately eight kilobytes to the kernel image. For best
  1933. performance should round up your number of processors to the next
  1934. power of two.
  1935. config MIPS_PERF_SHARED_TC_COUNTERS
  1936. bool
  1937. #
  1938. # Timer Interrupt Frequency Configuration
  1939. #
  1940. choice
  1941. prompt "Timer frequency"
  1942. default HZ_250
  1943. help
  1944. Allows the configuration of the timer frequency.
  1945. config HZ_48
  1946. bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
  1947. config HZ_100
  1948. bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
  1949. config HZ_128
  1950. bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
  1951. config HZ_250
  1952. bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
  1953. config HZ_256
  1954. bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
  1955. config HZ_1000
  1956. bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
  1957. config HZ_1024
  1958. bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
  1959. endchoice
  1960. config SYS_SUPPORTS_48HZ
  1961. bool
  1962. config SYS_SUPPORTS_100HZ
  1963. bool
  1964. config SYS_SUPPORTS_128HZ
  1965. bool
  1966. config SYS_SUPPORTS_250HZ
  1967. bool
  1968. config SYS_SUPPORTS_256HZ
  1969. bool
  1970. config SYS_SUPPORTS_1000HZ
  1971. bool
  1972. config SYS_SUPPORTS_1024HZ
  1973. bool
  1974. config SYS_SUPPORTS_ARBIT_HZ
  1975. bool
  1976. default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
  1977. !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
  1978. !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
  1979. !SYS_SUPPORTS_1024HZ
  1980. config HZ
  1981. int
  1982. default 48 if HZ_48
  1983. default 100 if HZ_100
  1984. default 128 if HZ_128
  1985. default 250 if HZ_250
  1986. default 256 if HZ_256
  1987. default 1000 if HZ_1000
  1988. default 1024 if HZ_1024
  1989. source "kernel/Kconfig.preempt"
  1990. config KEXEC
  1991. bool "Kexec system call (EXPERIMENTAL)"
  1992. depends on EXPERIMENTAL
  1993. help
  1994. kexec is a system call that implements the ability to shutdown your
  1995. current kernel, and to start another kernel. It is like a reboot
  1996. but it is independent of the system firmware. And like a reboot
  1997. you can start any kernel with it, not just Linux.
  1998. The name comes from the similarity to the exec system call.
  1999. It is an ongoing process to be certain the hardware in a machine
  2000. is properly shutdown, so do not be surprised if this code does not
  2001. initially work for you. It may help to enable device hotplugging
  2002. support. As of this writing the exact hardware interface is
  2003. strongly in flux, so no good recommendation can be made.
  2004. config CRASH_DUMP
  2005. bool "Kernel crash dumps"
  2006. help
  2007. Generate crash dump after being started by kexec.
  2008. This should be normally only set in special crash dump kernels
  2009. which are loaded in the main kernel with kexec-tools into
  2010. a specially reserved region and then later executed after
  2011. a crash by kdump/kexec. The crash dump kernel must be compiled
  2012. to a memory address not used by the main kernel or firmware using
  2013. PHYSICAL_START.
  2014. config PHYSICAL_START
  2015. hex "Physical address where the kernel is loaded"
  2016. default "0xffffffff84000000" if 64BIT
  2017. default "0x84000000" if 32BIT
  2018. depends on CRASH_DUMP
  2019. help
  2020. This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
  2021. If you plan to use kernel for capturing the crash dump change
  2022. this value to start of the reserved region (the "X" value as
  2023. specified in the "crashkernel=YM@XM" command line boot parameter
  2024. passed to the panic-ed kernel).
  2025. config SECCOMP
  2026. bool "Enable seccomp to safely compute untrusted bytecode"
  2027. depends on PROC_FS
  2028. default y
  2029. help
  2030. This kernel feature is useful for number crunching applications
  2031. that may need to compute untrusted bytecode during their
  2032. execution. By using pipes or other transports made available to
  2033. the process as file descriptors supporting the read/write
  2034. syscalls, it's possible to isolate those applications in
  2035. their own address space using seccomp. Once seccomp is
  2036. enabled via /proc/<pid>/seccomp, it cannot be disabled
  2037. and the task is only allowed to execute a few safe syscalls
  2038. defined by each seccomp mode.
  2039. If unsure, say Y. Only embedded should say N here.
  2040. config USE_OF
  2041. bool
  2042. select OF
  2043. select OF_EARLY_FLATTREE
  2044. select IRQ_DOMAIN
  2045. endmenu
  2046. config LOCKDEP_SUPPORT
  2047. bool
  2048. default y
  2049. config STACKTRACE_SUPPORT
  2050. bool
  2051. default y
  2052. source "init/Kconfig"
  2053. source "kernel/Kconfig.freezer"
  2054. menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
  2055. config HW_HAS_EISA
  2056. bool
  2057. config HW_HAS_PCI
  2058. bool
  2059. config PCI
  2060. bool "Support for PCI controller"
  2061. depends on HW_HAS_PCI
  2062. select PCI_DOMAINS
  2063. select GENERIC_PCI_IOMAP
  2064. select NO_GENERIC_PCI_IOPORT_MAP
  2065. help
  2066. Find out whether you have a PCI motherboard. PCI is the name of a
  2067. bus system, i.e. the way the CPU talks to the other stuff inside
  2068. your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
  2069. say Y, otherwise N.
  2070. config PCI_DOMAINS
  2071. bool
  2072. source "drivers/pci/Kconfig"
  2073. source "drivers/pci/pcie/Kconfig"
  2074. #
  2075. # ISA support is now enabled via select. Too many systems still have the one
  2076. # or other ISA chip on the board that users don't know about so don't expect
  2077. # users to choose the right thing ...
  2078. #
  2079. config ISA
  2080. bool
  2081. config EISA
  2082. bool "EISA support"
  2083. depends on HW_HAS_EISA
  2084. select ISA
  2085. select GENERIC_ISA_DMA
  2086. ---help---
  2087. The Extended Industry Standard Architecture (EISA) bus was
  2088. developed as an open alternative to the IBM MicroChannel bus.
  2089. The EISA bus provided some of the features of the IBM MicroChannel
  2090. bus while maintaining backward compatibility with cards made for
  2091. the older ISA bus. The EISA bus saw limited use between 1988 and
  2092. 1995 when it was made obsolete by the PCI bus.
  2093. Say Y here if you are building a kernel for an EISA-based machine.
  2094. Otherwise, say N.
  2095. source "drivers/eisa/Kconfig"
  2096. config TC
  2097. bool "TURBOchannel support"
  2098. depends on MACH_DECSTATION
  2099. help
  2100. TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
  2101. processors. TURBOchannel programming specifications are available
  2102. at:
  2103. <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
  2104. and:
  2105. <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
  2106. Linux driver support status is documented at:
  2107. <http://www.linux-mips.org/wiki/DECstation>
  2108. config MMU
  2109. bool
  2110. default y
  2111. config I8253
  2112. bool
  2113. select CLKSRC_I8253
  2114. select CLKEVT_I8253
  2115. select MIPS_EXTERNAL_TIMER
  2116. config ZONE_DMA32
  2117. bool
  2118. source "drivers/pcmcia/Kconfig"
  2119. source "drivers/pci/hotplug/Kconfig"
  2120. config RAPIDIO
  2121. bool "RapidIO support"
  2122. depends on PCI
  2123. default n
  2124. help
  2125. If you say Y here, the kernel will include drivers and
  2126. infrastructure code to support RapidIO interconnect devices.
  2127. source "drivers/rapidio/Kconfig"
  2128. endmenu
  2129. menu "Executable file formats"
  2130. source "fs/Kconfig.binfmt"
  2131. config TRAD_SIGNALS
  2132. bool
  2133. config MIPS32_COMPAT
  2134. bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
  2135. depends on 64BIT
  2136. help
  2137. Select this option if you want Linux/MIPS 32-bit binary
  2138. compatibility. Since all software available for Linux/MIPS is
  2139. currently 32-bit you should say Y here.
  2140. config COMPAT
  2141. bool
  2142. depends on MIPS32_COMPAT
  2143. select ARCH_WANT_OLD_COMPAT_IPC
  2144. default y
  2145. config SYSVIPC_COMPAT
  2146. bool
  2147. depends on COMPAT && SYSVIPC
  2148. default y
  2149. config MIPS32_O32
  2150. bool "Kernel support for o32 binaries"
  2151. depends on MIPS32_COMPAT
  2152. help
  2153. Select this option if you want to run o32 binaries. These are pure
  2154. 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
  2155. existing binaries are in this format.
  2156. If unsure, say Y.
  2157. config MIPS32_N32
  2158. bool "Kernel support for n32 binaries"
  2159. depends on MIPS32_COMPAT
  2160. help
  2161. Select this option if you want to run n32 binaries. These are
  2162. 64-bit binaries using 32-bit quantities for addressing and certain
  2163. data that would normally be 64-bit. They are used in special
  2164. cases.
  2165. If unsure, say N.
  2166. config BINFMT_ELF32
  2167. bool
  2168. default y if MIPS32_O32 || MIPS32_N32
  2169. endmenu
  2170. menu "Power management options"
  2171. config ARCH_HIBERNATION_POSSIBLE
  2172. def_bool y
  2173. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2174. config ARCH_SUSPEND_POSSIBLE
  2175. def_bool y
  2176. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2177. source "kernel/power/Kconfig"
  2178. endmenu
  2179. source "arch/mips/kernel/cpufreq/Kconfig"
  2180. source "net/Kconfig"
  2181. source "drivers/Kconfig"
  2182. source "drivers/firmware/Kconfig"
  2183. source "fs/Kconfig"
  2184. source "arch/mips/Kconfig.debug"
  2185. source "security/Kconfig"
  2186. source "crypto/Kconfig"
  2187. source "lib/Kconfig"