Kconfig 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. # SPDX-License-Identifier: GPL-2.0
  2. config BCMA_POSSIBLE
  3. bool
  4. depends on HAS_IOMEM && HAS_DMA
  5. default y
  6. menuconfig BCMA
  7. tristate "Broadcom specific AMBA"
  8. depends on BCMA_POSSIBLE
  9. help
  10. Bus driver for Broadcom specific Advanced Microcontroller Bus
  11. Architecture.
  12. if BCMA
  13. # Support for Block-I/O. SELECT this from the driver that needs it.
  14. config BCMA_BLOCKIO
  15. bool
  16. config BCMA_HOST_PCI_POSSIBLE
  17. bool
  18. depends on PCI = y
  19. default y
  20. config BCMA_HOST_PCI
  21. bool "Support for BCMA on PCI-host bus"
  22. depends on BCMA_HOST_PCI_POSSIBLE
  23. select BCMA_DRIVER_PCI
  24. default y
  25. config BCMA_HOST_SOC
  26. bool "Support for BCMA in a SoC"
  27. help
  28. Host interface for a Broadcom AIX bus directly mapped into
  29. the memory. This only works with the Broadcom SoCs from the
  30. BCM47XX line.
  31. If unsure, say N
  32. config BCMA_DRIVER_PCI
  33. bool "BCMA Broadcom PCI core driver"
  34. depends on PCI
  35. default y
  36. help
  37. BCMA bus may have many versions of PCIe core. This driver
  38. supports:
  39. 1) PCIe core working in clientmode
  40. 2) PCIe Gen 2 clientmode core
  41. In general PCIe (Gen 2) clientmode core is required on PCIe
  42. hosted buses. It's responsible for initialization and basic
  43. hardware management.
  44. This driver is also prerequisite for a hostmode PCIe core
  45. support.
  46. config BCMA_DRIVER_PCI_HOSTMODE
  47. bool "Driver for PCI core working in hostmode"
  48. depends on MIPS && BCMA_DRIVER_PCI && PCI_DRIVERS_LEGACY
  49. help
  50. PCI core hostmode operation (external PCI bus).
  51. config BCMA_DRIVER_MIPS
  52. bool "BCMA Broadcom MIPS core driver"
  53. depends on MIPS
  54. help
  55. Driver for the Broadcom MIPS core attached to Broadcom specific
  56. Advanced Microcontroller Bus.
  57. If unsure, say N
  58. config BCMA_PFLASH
  59. bool
  60. depends on BCMA_DRIVER_MIPS
  61. default y
  62. config BCMA_SFLASH
  63. bool "ChipCommon-attached serial flash support"
  64. depends on BCMA_HOST_SOC
  65. default y
  66. help
  67. Some cheap devices have serial flash connected to the ChipCommon
  68. instead of independent SPI controller. It requires using a separated
  69. driver that implements ChipCommon specific interface communication.
  70. Enabling this symbol will let bcma recognize serial flash and register
  71. it as platform device.
  72. config BCMA_NFLASH
  73. bool
  74. depends on BCMA_DRIVER_MIPS
  75. default y
  76. config BCMA_DRIVER_GMAC_CMN
  77. bool "BCMA Broadcom GBIT MAC COMMON core driver"
  78. help
  79. Driver for the Broadcom GBIT MAC COMMON core attached to Broadcom
  80. specific Advanced Microcontroller Bus.
  81. If unsure, say N
  82. config BCMA_DRIVER_GPIO
  83. bool "BCMA GPIO driver"
  84. depends on GPIOLIB
  85. select GPIOLIB_IRQCHIP if BCMA_HOST_SOC
  86. help
  87. Driver to provide access to the GPIO pins of the bcma bus.
  88. If unsure, say N
  89. config BCMA_DEBUG
  90. bool "BCMA debugging"
  91. help
  92. This turns on additional debugging messages.
  93. If unsure, say N
  94. endif # BCMA