Kconfig 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  1. # SPDX-License-Identifier: GPL-2.0
  2. config PPC_47x
  3. bool "Support for 47x variant"
  4. depends on 44x
  5. default n
  6. select MPIC
  7. help
  8. This option enables support for the 47x family of processors and is
  9. not currently compatible with other 44x or 46x varients
  10. config BAMBOO
  11. bool "Bamboo"
  12. depends on 44x
  13. default n
  14. select PPC44x_SIMPLE
  15. select 440EP
  16. select PCI
  17. help
  18. This option enables support for the IBM PPC440EP evaluation board.
  19. config BLUESTONE
  20. bool "Bluestone"
  21. depends on 44x
  22. default n
  23. select PPC44x_SIMPLE
  24. select APM821xx
  25. select PCI_MSI
  26. select PPC4xx_MSI
  27. select PPC4xx_PCI_EXPRESS
  28. select IBM_EMAC_RGMII if IBM_EMAC
  29. help
  30. This option enables support for the APM APM821xx Evaluation board.
  31. config EBONY
  32. bool "Ebony"
  33. depends on 44x
  34. default y
  35. select 440GP
  36. select PCI
  37. select OF_RTC
  38. help
  39. This option enables support for the IBM PPC440GP evaluation board.
  40. config SAM440EP
  41. bool "Sam440ep"
  42. depends on 44x
  43. default n
  44. select 440EP
  45. select PCI
  46. help
  47. This option enables support for the ACube Sam440ep board.
  48. config SEQUOIA
  49. bool "Sequoia"
  50. depends on 44x
  51. default n
  52. select PPC44x_SIMPLE
  53. select 440EPX
  54. help
  55. This option enables support for the AMCC PPC440EPX evaluation board.
  56. config TAISHAN
  57. bool "Taishan"
  58. depends on 44x
  59. default n
  60. select PPC44x_SIMPLE
  61. select 440GX
  62. select PCI
  63. help
  64. This option enables support for the AMCC PPC440GX "Taishan"
  65. evaluation board.
  66. config KATMAI
  67. bool "Katmai"
  68. depends on 44x
  69. default n
  70. select PPC44x_SIMPLE
  71. select 440SPe
  72. select PCI
  73. select PPC4xx_PCI_EXPRESS
  74. select PCI_MSI
  75. select PPC4xx_MSI
  76. help
  77. This option enables support for the AMCC PPC440SPe evaluation board.
  78. config RAINIER
  79. bool "Rainier"
  80. depends on 44x
  81. default n
  82. select PPC44x_SIMPLE
  83. select 440GRX
  84. select PCI
  85. help
  86. This option enables support for the AMCC PPC440GRX evaluation board.
  87. config WARP
  88. bool "PIKA Warp"
  89. depends on 44x
  90. default n
  91. select 440EP
  92. help
  93. This option enables support for the PIKA Warp(tm) Appliance. The Warp
  94. is a small computer replacement with up to 9 ports of FXO/FXS plus VOIP
  95. stations and trunks.
  96. See http://www.pikatechnologies.com/ and follow the "PIKA for Computer
  97. Telephony Developers" link for more information.
  98. config ARCHES
  99. bool "Arches"
  100. depends on 44x
  101. default n
  102. select PPC44x_SIMPLE
  103. select 460EX # Odd since it uses 460GT but the effects are the same
  104. select PCI
  105. select PPC4xx_PCI_EXPRESS
  106. help
  107. This option enables support for the AMCC Dual PPC460GT evaluation board.
  108. config CANYONLANDS
  109. bool "Canyonlands"
  110. depends on 44x
  111. default n
  112. select 460EX
  113. select PCI
  114. select PPC4xx_PCI_EXPRESS
  115. select PCI_MSI
  116. select PPC4xx_MSI
  117. select IBM_EMAC_RGMII if IBM_EMAC
  118. select IBM_EMAC_ZMII if IBM_EMAC
  119. help
  120. This option enables support for the AMCC PPC460EX evaluation board.
  121. config GLACIER
  122. bool "Glacier"
  123. depends on 44x
  124. default n
  125. select PPC44x_SIMPLE
  126. select 460EX # Odd since it uses 460GT but the effects are the same
  127. select PCI
  128. select PPC4xx_PCI_EXPRESS
  129. select IBM_EMAC_RGMII if IBM_EMAC
  130. select IBM_EMAC_ZMII if IBM_EMAC
  131. help
  132. This option enables support for the AMCC PPC460GT evaluation board.
  133. config REDWOOD
  134. bool "Redwood"
  135. depends on 44x
  136. default n
  137. select PPC44x_SIMPLE
  138. select 460SX
  139. select PCI
  140. select PPC4xx_PCI_EXPRESS
  141. select PCI_MSI
  142. select PPC4xx_MSI
  143. help
  144. This option enables support for the AMCC PPC460SX Redwood board.
  145. config EIGER
  146. bool "Eiger"
  147. depends on 44x
  148. default n
  149. select PPC44x_SIMPLE
  150. select 460SX
  151. select PCI
  152. select PPC4xx_PCI_EXPRESS
  153. select IBM_EMAC_RGMII if IBM_EMAC
  154. help
  155. This option enables support for the AMCC PPC460SX evaluation board.
  156. config YOSEMITE
  157. bool "Yosemite"
  158. depends on 44x
  159. default n
  160. select PPC44x_SIMPLE
  161. select 440EP
  162. select PCI
  163. help
  164. This option enables support for the AMCC PPC440EP evaluation board.
  165. config ISS4xx
  166. bool "ISS 4xx Simulator"
  167. depends on (44x || 40x)
  168. default n
  169. select 405GP if 40x
  170. select 440GP if 44x && !PPC_47x
  171. select PPC_FPU
  172. select OF_RTC
  173. help
  174. This option enables support for the IBM ISS simulation environment
  175. config CURRITUCK
  176. bool "IBM Currituck (476fpe) Support"
  177. depends on PPC_47x
  178. default n
  179. select SWIOTLB
  180. select 476FPE
  181. select PPC4xx_PCI_EXPRESS
  182. help
  183. This option enables support for the IBM Currituck (476fpe) evaluation board
  184. config FSP2
  185. bool "IBM FSP2 (476fpe) Support"
  186. depends on PPC_47x
  187. default n
  188. select 476FPE
  189. select IBM_EMAC_EMAC4 if IBM_EMAC
  190. select IBM_EMAC_RGMII if IBM_EMAC
  191. select COMMON_CLK
  192. select DEFAULT_UIMAGE
  193. help
  194. This option enables support for the IBM FSP2 (476fpe) board
  195. config AKEBONO
  196. bool "IBM Akebono (476gtr) Support"
  197. depends on PPC_47x
  198. default n
  199. select SWIOTLB
  200. select 476FPE
  201. select PPC4xx_PCI_EXPRESS
  202. select PCI_MSI
  203. select PPC4xx_HSTA_MSI
  204. select I2C
  205. select I2C_IBM_IIC
  206. select NETDEVICES
  207. select ETHERNET
  208. select NET_VENDOR_IBM
  209. select IBM_EMAC_EMAC4 if IBM_EMAC
  210. select USB if USB_SUPPORT
  211. select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD
  212. select USB_EHCI_HCD_PLATFORM if USB_EHCI_HCD
  213. select MMC_SDHCI
  214. select MMC_SDHCI_PLTFM
  215. select ATA
  216. select SATA_AHCI_PLATFORM
  217. help
  218. This option enables support for the IBM Akebono (476gtr) evaluation board
  219. config ICON
  220. bool "Icon"
  221. depends on 44x
  222. default n
  223. select PPC44x_SIMPLE
  224. select 440SPe
  225. select PCI
  226. select PPC4xx_PCI_EXPRESS
  227. help
  228. This option enables support for the AMCC PPC440SPe evaluation board.
  229. config XILINX_VIRTEX440_GENERIC_BOARD
  230. bool "Generic Xilinx Virtex 5 FXT board support"
  231. depends on 44x
  232. default n
  233. select XILINX_VIRTEX_5_FXT
  234. select XILINX_INTC
  235. help
  236. This option enables generic support for Xilinx Virtex based boards
  237. that use a 440 based processor in the Virtex 5 FXT FPGA architecture.
  238. The generic virtex board support matches any device tree which
  239. specifies 'xlnx,virtex440' in its compatible field. This includes
  240. the Xilinx ML5xx reference designs using the powerpc core.
  241. Most Virtex 5 designs should use this unless it needs to do some
  242. special configuration at board probe time.
  243. config XILINX_ML510
  244. bool "Xilinx ML510 extra support"
  245. depends on XILINX_VIRTEX440_GENERIC_BOARD
  246. select PPC_PCI_CHOICE
  247. select XILINX_PCI if PCI
  248. select PPC_INDIRECT_PCI if PCI
  249. select PPC_I8259 if PCI
  250. help
  251. This option enables extra support for features on the Xilinx ML510
  252. board. The ML510 has a PCI bus with ALI south bridge.
  253. config PPC44x_SIMPLE
  254. bool "Simple PowerPC 44x board support"
  255. depends on 44x
  256. default n
  257. help
  258. This option enables the simple PowerPC 44x platform support.
  259. config PPC4xx_GPIO
  260. bool "PPC4xx GPIO support"
  261. depends on 44x
  262. select GPIOLIB
  263. help
  264. Enable gpiolib support for ppc440 based boards
  265. config PPC4xx_OCM
  266. bool "PPC4xx On Chip Memory (OCM) support"
  267. depends on 4xx
  268. select PPC_LIB_RHEAP
  269. help
  270. Enable OCM support for PowerPC 4xx platforms with on chip memory,
  271. OCM provides the fast place for memory access to improve performance.
  272. # 44x specific CPU modules, selected based on the board above.
  273. config 440EP
  274. bool
  275. select PPC_FPU
  276. select IBM440EP_ERR42
  277. select IBM_EMAC_ZMII if IBM_EMAC
  278. config 440EPX
  279. bool
  280. select PPC_FPU
  281. select IBM_EMAC_EMAC4 if IBM_EMAC
  282. select IBM_EMAC_RGMII if IBM_EMAC
  283. select IBM_EMAC_ZMII if IBM_EMAC
  284. select USB_EHCI_BIG_ENDIAN_MMIO
  285. select USB_EHCI_BIG_ENDIAN_DESC
  286. config 440GRX
  287. bool
  288. select IBM_EMAC_EMAC4 if IBM_EMAC
  289. select IBM_EMAC_RGMII if IBM_EMAC
  290. select IBM_EMAC_ZMII if IBM_EMAC
  291. config 440GP
  292. bool
  293. select IBM_EMAC_ZMII if IBM_EMAC
  294. config 440GX
  295. bool
  296. select IBM_EMAC_EMAC4 if IBM_EMAC
  297. select IBM_EMAC_RGMII if IBM_EMAC
  298. select IBM_EMAC_ZMII if IBM_EMAC #test only
  299. select IBM_EMAC_TAH if IBM_EMAC #test only
  300. config 440SP
  301. bool
  302. config 440SPe
  303. bool
  304. select IBM_EMAC_EMAC4 if IBM_EMAC
  305. config 460EX
  306. bool
  307. select PPC_FPU
  308. select IBM_EMAC_EMAC4 if IBM_EMAC
  309. select IBM_EMAC_TAH if IBM_EMAC
  310. config 460SX
  311. bool
  312. select PPC_FPU
  313. select IBM_EMAC_EMAC4 if IBM_EMAC
  314. select IBM_EMAC_RGMII if IBM_EMAC
  315. select IBM_EMAC_ZMII if IBM_EMAC
  316. select IBM_EMAC_TAH if IBM_EMAC
  317. config 476FPE
  318. bool
  319. select PPC_FPU
  320. config APM821xx
  321. bool
  322. select PPC_FPU
  323. select IBM_EMAC_EMAC4 if IBM_EMAC
  324. select IBM_EMAC_TAH if IBM_EMAC
  325. config 476FPE_ERR46
  326. depends on 476FPE
  327. bool "Enable linker work around for PPC476FPE errata #46"
  328. help
  329. This option enables a work around for an icache bug on 476
  330. that can cause execution of stale instructions when falling
  331. through pages (IBM errata #46). It requires a recent version
  332. of binutils which supports the --ppc476-workaround option.
  333. The work around enables the appropriate linker options and
  334. ensures that all module output sections are aligned to 4K
  335. page boundaries. The work around is only required when
  336. building modules.
  337. # 44x errata/workaround config symbols, selected by the CPU models above
  338. config IBM440EP_ERR42
  339. bool
  340. # Xilinx specific config options.
  341. config XILINX_VIRTEX
  342. bool
  343. select DEFAULT_UIMAGE
  344. # Xilinx Virtex 5 FXT FPGA architecture, selected by a Xilinx board above
  345. config XILINX_VIRTEX_5_FXT
  346. bool
  347. select XILINX_VIRTEX