Kconfig 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. depends on HAS_IOMEM
  28. help
  29. Host interface for a Broadcom AIX bus directly mapped into
  30. the memory. This only works with the Broadcom SoCs from the
  31. BCM47XX line.
  32. If unsure, say N
  33. config BCMA_DRIVER_PCI
  34. bool "BCMA Broadcom PCI core driver"
  35. depends on PCI
  36. default y
  37. help
  38. BCMA bus may have many versions of PCIe core. This driver
  39. supports:
  40. 1) PCIe core working in clientmode
  41. 2) PCIe Gen 2 clientmode core
  42. In general PCIe (Gen 2) clientmode core is required on PCIe
  43. hosted buses. It's responsible for initialization and basic
  44. hardware management.
  45. This driver is also prerequisite for a hostmode PCIe core
  46. support.
  47. config BCMA_DRIVER_PCI_HOSTMODE
  48. bool "Driver for PCI core working in hostmode"
  49. depends on MIPS && BCMA_DRIVER_PCI && PCI_DRIVERS_LEGACY && BCMA = y
  50. help
  51. PCI core hostmode operation (external PCI bus).
  52. config BCMA_DRIVER_MIPS
  53. bool "BCMA Broadcom MIPS core driver"
  54. depends on MIPS || COMPILE_TEST
  55. help
  56. Driver for the Broadcom MIPS core attached to Broadcom specific
  57. Advanced Microcontroller Bus.
  58. If unsure, say N
  59. config BCMA_PFLASH
  60. bool
  61. depends on BCMA_DRIVER_MIPS
  62. default y
  63. config BCMA_SFLASH
  64. bool "ChipCommon-attached serial flash support"
  65. depends on BCMA_HOST_SOC
  66. default y
  67. help
  68. Some cheap devices have serial flash connected to the ChipCommon
  69. instead of independent SPI controller. It requires using a separated
  70. driver that implements ChipCommon specific interface communication.
  71. Enabling this symbol will let bcma recognize serial flash and register
  72. it as platform device.
  73. config BCMA_NFLASH
  74. bool
  75. depends on BCMA_DRIVER_MIPS
  76. default y
  77. config BCMA_DRIVER_GMAC_CMN
  78. bool "BCMA Broadcom GBIT MAC COMMON core driver"
  79. help
  80. Driver for the Broadcom GBIT MAC COMMON core attached to Broadcom
  81. specific Advanced Microcontroller Bus.
  82. If unsure, say N
  83. config BCMA_DRIVER_GPIO
  84. bool "BCMA GPIO driver"
  85. depends on GPIOLIB
  86. select GPIOLIB_IRQCHIP if BCMA_HOST_SOC
  87. help
  88. Driver to provide access to the GPIO pins of the bcma bus.
  89. If unsure, say N
  90. config BCMA_DEBUG
  91. bool "BCMA debugging"
  92. help
  93. This turns on additional debugging messages.
  94. If unsure, say N
  95. endif # BCMA