blob: 2d91b00e3591e78f6616faa4b0ce95ebffafbb24 [file] [log] [blame]
Aneesh V7ec94452012-04-27 17:54:05 +05301#
2# Memory devices
3#
4
5menuconfig MEMORY
6 bool "Memory Controller drivers"
7
8if MEMORY
9
Joachim Eastwood17c50b72015-07-13 23:20:11 +020010config ARM_PL172_MPMC
11 tristate "ARM PL172 MPMC driver"
12 depends on ARM_AMBA && OF
13 help
14 This selects the ARM PrimeCell PL172 MultiPort Memory Controller.
15 If you have an embedded system with an AMBA bus and a PL172
16 controller, say Y or M here.
17
Alexandre Bellonie81b6ab2014-07-08 18:21:12 +020018config ATMEL_SDRAMC
19 bool "Atmel (Multi-port DDR-)SDRAM Controller"
20 default y
21 depends on ARCH_AT91 && OF
22 help
23 This driver is for Atmel SDRAM Controller or Atmel Multi-port
24 DDR-SDRAM Controller available on Atmel AT91SAM9 and SAMA5 SoCs.
25 Starting with the at91sam9g45, this controller supports SDR, DDR and
26 LP-DDR memories.
27
Boris Brezillon6a4ec4c2016-05-23 09:44:54 +020028config ATMEL_EBI
29 bool "Atmel EBI driver"
30 default y
31 depends on ARCH_AT91 && OF
32 select MFD_SYSCON
Boris Brezillon8eb8c7d2017-03-16 09:30:29 +010033 select MFD_ATMEL_SMC
Boris Brezillon6a4ec4c2016-05-23 09:44:54 +020034 help
35 Driver for Atmel EBI controller.
36 Used to configure the EBI (external bus interface) when the device-
37 tree is used. This bus supports NANDs, external ethernet controller,
38 SRAMs, ATA devices, etc.
39
Ivan Khoronzhuk5a7c8152014-02-24 19:26:11 +020040config TI_AEMIF
41 tristate "Texas Instruments AEMIF driver"
42 depends on (ARCH_DAVINCI || ARCH_KEYSTONE) && OF
43 help
44 This driver is for the AEMIF module available in Texas Instruments
45 SoCs. AEMIF stands for Asynchronous External Memory Interface and
46 is intended to provide a glue-less interface to a variety of
47 asynchronuous memory devices like ASRAM, NOR and NAND memory. A total
48 of 256M bytes of any of these memories can be accessed at a given
49 time via four chip selects with 64M byte access per chip select.
50
Aneesh V7ec94452012-04-27 17:54:05 +053051config TI_EMIF
52 tristate "Texas Instruments EMIF driver"
Santosh Shilimkar18e9a972012-05-04 11:38:11 +053053 depends on ARCH_OMAP2PLUS
Aneesh V7ec94452012-04-27 17:54:05 +053054 select DDR
55 help
56 This driver is for the EMIF module available in Texas Instruments
57 SoCs. EMIF is an SDRAM controller that, based on its revision,
58 supports one or more of DDR2, DDR3, and LPDDR2 SDRAM protocols.
59 This driver takes care of only LPDDR2 memories presently. The
60 functions of the driver includes re-configuring AC timing
61 parameters and other settings during frequency, voltage and
62 temperature changes
63
Tony Lindgren18640192014-11-20 09:13:42 -080064config OMAP_GPMC
65 bool
Roger Quadrosd2d00862016-03-07 12:18:43 +020066 select GPIOLIB
Tony Lindgren18640192014-11-20 09:13:42 -080067 help
68 This driver is for the General Purpose Memory Controller (GPMC)
69 present on Texas Instruments SoCs (e.g. OMAP2+). GPMC allows
70 interfacing to a variety of asynchronous as well as synchronous
71 memory drives like NOR, NAND, OneNAND, SRAM.
72
Tony Lindgren63aa9452015-06-01 19:22:10 -060073config OMAP_GPMC_DEBUG
Tony Lindgrenbe59b612015-10-12 16:19:54 -070074 bool "Enable GPMC debug output and skip reset of GPMC during init"
Tony Lindgren63aa9452015-06-01 19:22:10 -060075 depends on OMAP_GPMC
76 help
77 Enables verbose debugging mostly to decode the bootloader provided
Tony Lindgrenbe59b612015-10-12 16:19:54 -070078 timings. To preserve the bootloader provided timings, the reset
79 of GPMC is skipped during init. Enable this during development to
80 configure devices connected to the GPMC bus.
81
82 NOTE: In addition to matching the register setup with the bootloader
83 you also need to match the GPMC FCLK frequency used by the
84 bootloader or else the GPMC timings won't be identical with the
85 bootloader timings.
Tony Lindgren63aa9452015-06-01 19:22:10 -060086
Dave Gerlach8428e5a2015-06-17 14:52:10 -050087config TI_EMIF_SRAM
88 tristate "Texas Instruments EMIF SRAM driver"
89 depends on (SOC_AM33XX || SOC_AM43XX) && SRAM
90 help
91 This driver is for the EMIF module available on Texas Instruments
92 AM33XX and AM43XX SoCs and is required for PM. Certain parts of
93 the EMIF PM code must run from on-chip SRAM late in the suspend
94 sequence so this driver provides several relocatable PM functions
95 for the SoC PM code to use.
96
Ezequiel Garcia3edad322013-04-23 16:21:26 -030097config MVEBU_DEVBUS
98 bool "Marvell EBU Device Bus Controller"
99 default y
100 depends on PLAT_ORION && OF
101 help
102 This driver is for the Device Bus controller available in some
103 Marvell EBU SoCs such as Discovery (mv78xx0), Orion (88f5xxx) and
104 Armada 370 and Armada XP. This controller allows to handle flash
105 devices such as NOR, NAND, SRAM, and FPGA.
106
Scott Wood54afbec2014-07-02 18:52:11 -0500107config FSL_CORENET_CF
108 tristate "Freescale CoreNet Error Reporting"
109 depends on FSL_SOC_BOOKE
110 help
111 Say Y for reporting of errors from the Freescale CoreNet
112 Coherency Fabric. Errors reported include accesses to
113 physical addresses that mapped by no local access window
114 (LAW) or an invalid LAW, as well as bad cache state that
115 represents a coherency violation.
116
Paul Gortmaker42d87b12014-02-19 17:46:40 -0500117config FSL_IFC
118 bool
Boris Brezillonb30a2bd2018-07-09 22:09:37 +0200119 depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
120 depends on HAS_IOMEM
Paul Gortmaker42d87b12014-02-19 17:46:40 -0500121
Alex Smith911a8882015-03-09 14:29:04 +0000122config JZ4780_NEMC
123 bool "Ingenic JZ4780 SoC NEMC driver"
124 default y
Boris Brezillonab99e112018-07-09 22:09:45 +0200125 depends on MACH_JZ4780 || COMPILE_TEST
Anders Roxell16909c82018-07-25 11:19:28 +0200126 depends on HAS_IOMEM && OF
Alex Smith911a8882015-03-09 14:29:04 +0000127 help
128 This driver is for the NAND/External Memory Controller (NEMC) in
129 the Ingenic JZ4780. This controller is used to handle external
130 memory devices such as NAND and SRAM.
131
Yong Wucc8bbe12016-02-23 01:20:49 +0800132config MTK_SMI
133 bool
134 depends on ARCH_MEDIATEK || COMPILE_TEST
135 help
136 This driver is for the Memory Controller module in MediaTek SoCs,
137 mainly help enable/disable iommu and control the power domain and
138 clocks for each local arbiter.
139
Bartosz Golaszewski62a8a732016-10-31 15:45:34 +0100140config DA8XX_DDRCTL
141 bool "Texas Instruments da8xx DDR2/mDDR driver"
142 depends on ARCH_DAVINCI_DA8XX
143 help
144 This driver is for the DDR2/mDDR Memory Controller present on
145 Texas Instruments da8xx SoCs. It's used to tweak various memory
146 controller configuration options.
147
Naga Sureshkumar Rellifee10bd2018-12-06 18:17:34 +0530148config PL353_SMC
149 tristate "ARM PL35X Static Memory Controller(SMC) driver"
150 default y
151 depends on ARM
152 depends on ARM_AMBA
153 help
154 This driver is for the ARM PL351/PL353 Static Memory
155 Controller(SMC) module.
156
Pankaj Dubeya8aabb92016-04-11 13:12:24 +0530157source "drivers/memory/samsung/Kconfig"
Thierry Reding89184652014-04-16 09:24:44 +0200158source "drivers/memory/tegra/Kconfig"
159
Aneesh V7ec94452012-04-27 17:54:05 +0530160endif