Kconfig 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Memory devices
  4. #
  5. menuconfig MEMORY
  6. bool "Memory Controller drivers"
  7. help
  8. This option allows to enable specific memory controller drivers,
  9. useful mostly on embedded systems. These could be controllers
  10. for DRAM (SDR, DDR), ROM, SRAM and others. The drivers features
  11. vary from memory tuning and frequency scaling to enabling
  12. access to attached peripherals through memory bus.
  13. if MEMORY
  14. config DDR
  15. bool
  16. help
  17. Data from JEDEC specs for DDR SDRAM memories,
  18. particularly the AC timing parameters and addressing
  19. information. This data is useful for drivers handling
  20. DDR SDRAM controllers.
  21. config ARM_PL172_MPMC
  22. tristate "ARM PL172 MPMC driver"
  23. depends on ARM_AMBA && OF
  24. help
  25. This selects the ARM PrimeCell PL172 MultiPort Memory Controller.
  26. If you have an embedded system with an AMBA bus and a PL172
  27. controller, say Y or M here.
  28. config ATMEL_EBI
  29. bool "Atmel EBI driver"
  30. default y if ARCH_AT91
  31. depends on ARCH_AT91 || COMPILE_TEST
  32. depends on OF
  33. select MFD_SYSCON
  34. select MFD_ATMEL_SMC
  35. help
  36. Driver for Atmel EBI controller.
  37. Used to configure the EBI (external bus interface) when the device-
  38. tree is used. This bus supports NANDs, external ethernet controller,
  39. SRAMs, ATA devices, etc.
  40. config BRCMSTB_DPFE
  41. tristate "Broadcom STB DPFE driver"
  42. default ARCH_BRCMSTB
  43. depends on ARCH_BRCMSTB || COMPILE_TEST
  44. help
  45. This driver provides access to the DPFE interface of Broadcom
  46. STB SoCs. The firmware running on the DCPU inside the DDR PHY can
  47. provide current information about the system's RAM, for instance
  48. the DRAM refresh rate. This can be used as an indirect indicator
  49. for the DRAM's temperature. Slower refresh rate means cooler RAM,
  50. higher refresh rate means hotter RAM.
  51. config BRCMSTB_MEMC
  52. tristate "Broadcom STB MEMC driver"
  53. default ARCH_BRCMSTB
  54. depends on ARCH_BRCMSTB || COMPILE_TEST
  55. help
  56. This driver provides a way to configure the Broadcom STB memory
  57. controller and specifically control the Self Refresh Power Down
  58. (SRPD) inactivity timeout.
  59. config BT1_L2_CTL
  60. bool "Baikal-T1 CM2 L2-RAM Cache Control Block"
  61. depends on MIPS_BAIKAL_T1 || COMPILE_TEST
  62. select MFD_SYSCON
  63. help
  64. Baikal-T1 CPU is based on the MIPS P5600 Warrior IP-core. The CPU
  65. resides Coherency Manager v2 with embedded 1MB L2-cache. It's
  66. possible to tune the L2 cache performance up by setting the data,
  67. tags and way-select latencies of RAM access. This driver provides a
  68. dt properties-based and sysfs interface for it.
  69. config TI_AEMIF
  70. tristate "Texas Instruments AEMIF driver"
  71. depends on ARCH_DAVINCI || ARCH_KEYSTONE || COMPILE_TEST
  72. depends on OF
  73. help
  74. This driver is for the AEMIF module available in Texas Instruments
  75. SoCs. AEMIF stands for Asynchronous External Memory Interface and
  76. is intended to provide a glue-less interface to a variety of
  77. asynchronuous memory devices like ASRAM, NOR and NAND memory. A total
  78. of 256M bytes of any of these memories can be accessed at a given
  79. time via four chip selects with 64M byte access per chip select.
  80. config TI_EMIF
  81. tristate "Texas Instruments EMIF driver"
  82. depends on ARCH_OMAP2PLUS || COMPILE_TEST
  83. select DDR
  84. help
  85. This driver is for the EMIF module available in Texas Instruments
  86. SoCs. EMIF is an SDRAM controller that, based on its revision,
  87. supports one or more of DDR2, DDR3, and LPDDR2 SDRAM protocols.
  88. This driver takes care of only LPDDR2 memories presently. The
  89. functions of the driver includes re-configuring AC timing
  90. parameters and other settings during frequency, voltage and
  91. temperature changes
  92. config OMAP_GPMC
  93. tristate "Texas Instruments OMAP SoC GPMC driver"
  94. depends on OF_ADDRESS
  95. depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
  96. select GPIOLIB
  97. help
  98. This driver is for the General Purpose Memory Controller (GPMC)
  99. present on Texas Instruments SoCs (e.g. OMAP2+). GPMC allows
  100. interfacing to a variety of asynchronous as well as synchronous
  101. memory drives like NOR, NAND, OneNAND, SRAM.
  102. config OMAP_GPMC_DEBUG
  103. bool "Enable GPMC debug output and skip reset of GPMC during init"
  104. depends on OMAP_GPMC
  105. help
  106. Enables verbose debugging mostly to decode the bootloader provided
  107. timings. To preserve the bootloader provided timings, the reset
  108. of GPMC is skipped during init. Enable this during development to
  109. configure devices connected to the GPMC bus.
  110. NOTE: In addition to matching the register setup with the bootloader
  111. you also need to match the GPMC FCLK frequency used by the
  112. bootloader or else the GPMC timings won't be identical with the
  113. bootloader timings.
  114. config TI_EMIF_SRAM
  115. tristate "Texas Instruments EMIF SRAM driver"
  116. depends on SOC_AM33XX || SOC_AM43XX || (ARM && CPU_V7 && COMPILE_TEST)
  117. depends on SRAM
  118. help
  119. This driver is for the EMIF module available on Texas Instruments
  120. AM33XX and AM43XX SoCs and is required for PM. Certain parts of
  121. the EMIF PM code must run from on-chip SRAM late in the suspend
  122. sequence so this driver provides several relocatable PM functions
  123. for the SoC PM code to use.
  124. config FPGA_DFL_EMIF
  125. tristate "FPGA DFL EMIF Driver"
  126. depends on FPGA_DFL && HAS_IOMEM
  127. help
  128. This driver is for the EMIF private feature implemented under
  129. FPGA Device Feature List (DFL) framework. It is used to expose
  130. memory interface status information as well as memory clearing
  131. control.
  132. config MVEBU_DEVBUS
  133. bool "Marvell EBU Device Bus Controller"
  134. default y if PLAT_ORION
  135. depends on PLAT_ORION || COMPILE_TEST
  136. depends on OF
  137. help
  138. This driver is for the Device Bus controller available in some
  139. Marvell EBU SoCs such as Discovery (mv78xx0), Orion (88f5xxx) and
  140. Armada 370 and Armada XP. This controller allows to handle flash
  141. devices such as NOR, NAND, SRAM, and FPGA.
  142. config FSL_CORENET_CF
  143. tristate "Freescale CoreNet Error Reporting"
  144. depends on FSL_SOC_BOOKE || COMPILE_TEST
  145. help
  146. Say Y for reporting of errors from the Freescale CoreNet
  147. Coherency Fabric. Errors reported include accesses to
  148. physical addresses that mapped by no local access window
  149. (LAW) or an invalid LAW, as well as bad cache state that
  150. represents a coherency violation.
  151. config FSL_IFC
  152. bool "Freescale IFC driver"
  153. depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
  154. depends on HAS_IOMEM
  155. config JZ4780_NEMC
  156. bool "Ingenic JZ4780 SoC NEMC driver"
  157. depends on MIPS || COMPILE_TEST
  158. depends on HAS_IOMEM && OF
  159. help
  160. This driver is for the NAND/External Memory Controller (NEMC) in
  161. the Ingenic JZ4780. This controller is used to handle external
  162. memory devices such as NAND and SRAM.
  163. config MTK_SMI
  164. tristate "MediaTek SoC Memory Controller driver" if COMPILE_TEST
  165. depends on ARCH_MEDIATEK || COMPILE_TEST
  166. help
  167. This driver is for the Memory Controller module in MediaTek SoCs,
  168. mainly help enable/disable iommu and control the power domain and
  169. clocks for each local arbiter.
  170. config DA8XX_DDRCTL
  171. bool "Texas Instruments da8xx DDR2/mDDR driver"
  172. depends on ARCH_DAVINCI_DA8XX || COMPILE_TEST
  173. help
  174. This driver is for the DDR2/mDDR Memory Controller present on
  175. Texas Instruments da8xx SoCs. It's used to tweak various memory
  176. controller configuration options.
  177. config PL353_SMC
  178. tristate "ARM PL35X Static Memory Controller(SMC) driver"
  179. default y if ARM
  180. depends on ARM || COMPILE_TEST
  181. depends on ARM_AMBA
  182. help
  183. This driver is for the ARM PL351/PL353 Static Memory
  184. Controller(SMC) module.
  185. config RENESAS_RPCIF
  186. tristate "Renesas RPC-IF driver"
  187. depends on ARCH_RENESAS || COMPILE_TEST
  188. select REGMAP_MMIO
  189. select RESET_CONTROLLER
  190. help
  191. This supports Renesas R-Car Gen3 or RZ/G2 RPC-IF which provides
  192. either SPI host or HyperFlash. You'll have to select individual
  193. components under the corresponding menu.
  194. config STM32_FMC2_EBI
  195. tristate "Support for FMC2 External Bus Interface on STM32MP SoCs"
  196. depends on ARCH_STM32 || COMPILE_TEST
  197. select MFD_SYSCON
  198. help
  199. Select this option to enable the STM32 FMC2 External Bus Interface
  200. controller. This driver configures the transactions with external
  201. devices (like SRAM, ethernet adapters, FPGAs, LCD displays, ...) on
  202. SOCs containing the FMC2 External Bus Interface.
  203. source "drivers/memory/samsung/Kconfig"
  204. source "drivers/memory/tegra/Kconfig"
  205. endif