Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
#
# Memory devices
#

menuconfig CONFIG_MEMORY
	bool "Memory Controller drivers"

if CONFIG_MEMORY

config CONFIG_DDR
	bool
	help
	  Data from JEDEC specs for CONFIG_DDR SDRAM memories,
	  particularly the AC timing parameters and addressing
	  information. This data is useful for drivers handling
	  CONFIG_DDR SDRAM controllers.

config CONFIG_ARM_PL172_MPMC
	tristate "ARM PL172 MPMC driver"
	depends on CONFIG_ARM_AMBA && CONFIG_OF
	help
	  This selects the CONFIG_ARM PrimeCell PL172 MultiPort Memory Controller.
	  If you have an embedded system with an AMBA bus and a PL172
	  controller, say Y or CONFIG_M here.

config CONFIG_ATMEL_SDRAMC
	bool "Atmel (Multi-port DDR-)SDRAM Controller"
	default y
	depends on CONFIG_ARCH_AT91 && CONFIG_OF
	help
	  This driver is for Atmel SDRAM Controller or Atmel Multi-port
	  CONFIG_DDR-SDRAM Controller available on Atmel AT91SAM9 and SAMA5 SoCs.
	  Starting with the at91sam9g45, this controller supports SDR, CONFIG_DDR and
	  LP-CONFIG_DDR memories.

config CONFIG_ATMEL_EBI
	bool "Atmel EBI driver"
	default y
	depends on CONFIG_ARCH_AT91 && CONFIG_OF
	select CONFIG_MFD_SYSCON
	select CONFIG_MFD_ATMEL_SMC
	help
	  Driver for Atmel EBI controller.
	  Used to configure the EBI (external bus interface) when the device-
	  tree is used. This bus supports NANDs, external ethernet controller,
	  SRAMs, CONFIG_ATA devices, etc.

config CONFIG_TI_AEMIF
	tristate "Texas Instruments AEMIF driver"
	depends on (CONFIG_ARCH_DAVINCI || CONFIG_ARCH_KEYSTONE) && CONFIG_OF
	help
	  This driver is for the AEMIF module available in Texas Instruments
	  SoCs. AEMIF stands for Asynchronous External Memory Interface and
	  is intended to provide a glue-less interface to a variety of
	  asynchronuous memory devices like ASRAM, NOR and NAND memory. CONFIG_A total
	  of 256M bytes of any of these memories can be accessed at a given
	  time via four chip selects with 64M byte access per chip select.

config CONFIG_TI_EMIF
	tristate "Texas Instruments EMIF driver"
	depends on CONFIG_ARCH_OMAP2PLUS
	select CONFIG_DDR
	help
	  This driver is for the EMIF module available in Texas Instruments
	  SoCs. EMIF is an SDRAM controller that, based on its revision,
	  supports one or more of DDR2, DDR3, and LPDDR2 SDRAM protocols.
	  This driver takes care of only LPDDR2 memories presently. The
	  functions of the driver includes re-configuring AC timing
	  parameters and other settings during frequency, voltage and
	  temperature changes

config CONFIG_OMAP_GPMC
	bool
	select CONFIG_GPIOLIB
	help
	  This driver is for the General Purpose Memory Controller (GPMC)
	  present on Texas Instruments SoCs (e.g. OMAP2+). GPMC allows
	  interfacing to a variety of asynchronous as well as synchronous
	  memory drives like NOR, NAND, OneNAND, CONFIG_SRAM.

config CONFIG_OMAP_GPMC_DEBUG
	bool "Enable GPMC debug output and skip reset of GPMC during init"
	depends on CONFIG_OMAP_GPMC
	help
	  Enables verbose debugging mostly to decode the bootloader provided
	  timings. To preserve the bootloader provided timings, the reset
	  of GPMC is skipped during init. Enable this during development to
	  configure devices connected to the GPMC bus.

	  NOTE: In addition to matching the register setup with the bootloader
	  you also need to match the GPMC FCLK frequency used by the
	  bootloader or else the GPMC timings won't be identical with the
	  bootloader timings.

config CONFIG_TI_EMIF_SRAM
	tristate "Texas Instruments EMIF SRAM driver"
	depends on (CONFIG_SOC_AM33XX || CONFIG_SOC_AM43XX) && CONFIG_SRAM
	help
	  This driver is for the EMIF module available on Texas Instruments
	  AM33XX and AM43XX SoCs and is required for CONFIG_PM. Certain parts of
	  the EMIF CONFIG_PM code must run from on-chip CONFIG_SRAM late in the suspend
	  sequence so this driver provides several relocatable CONFIG_PM functions
	  for the SoC CONFIG_PM code to use.

config CONFIG_MVEBU_DEVBUS
	bool "Marvell EBU Device Bus Controller"
	default y
	depends on CONFIG_PLAT_ORION && CONFIG_OF
	help
	  This driver is for the Device Bus controller available in some
	  Marvell EBU SoCs such as Discovery (mv78xx0), Orion (88f5xxx) and
	  Armada 370 and Armada XP. This controller allows to handle flash
	  devices such as NOR, NAND, CONFIG_SRAM, and CONFIG_FPGA.

config CONFIG_FSL_CORENET_CF
	tristate "Freescale CoreNet Error Reporting"
	depends on CONFIG_FSL_SOC_BOOKE
	help
	  Say Y for reporting of errors from the Freescale CoreNet
	  Coherency Fabric.  Errors reported include accesses to
	  physical addresses that mapped by no local access window
	  (LAW) or an invalid LAW, as well as bad cache state that
	  represents a coherency violation.

config CONFIG_FSL_IFC
	bool
	depends on CONFIG_FSL_SOC || CONFIG_ARCH_LAYERSCAPE || CONFIG_SOC_LS1021A || CONFIG_COMPILE_TEST
	depends on CONFIG_HAS_IOMEM

config CONFIG_JZ4780_NEMC
	bool "Ingenic JZ4780 SoC NEMC driver"
	default y
	depends on CONFIG_MIPS || CONFIG_COMPILE_TEST
	depends on CONFIG_HAS_IOMEM && CONFIG_OF
	help
	  This driver is for the NAND/External Memory Controller (NEMC) in
	  the Ingenic JZ4780. This controller is used to handle external
	  memory devices such as NAND and CONFIG_SRAM.

config CONFIG_MTK_SMI
	bool
	depends on CONFIG_ARCH_MEDIATEK || CONFIG_COMPILE_TEST
	help
	  This driver is for the Memory Controller module in MediaTek SoCs,
	  mainly help enable/disable iommu and control the power domain and
	  clocks for each local arbiter.

config CONFIG_DA8XX_DDRCTL
	bool "Texas Instruments da8xx DDR2/mDDR driver"
	depends on CONFIG_ARCH_DAVINCI_DA8XX
	help
	  This driver is for the DDR2/mDDR Memory Controller present on
	  Texas Instruments da8xx SoCs. It's used to tweak various memory
	  controller configuration options.

config CONFIG_PL353_SMC
	tristate "ARM PL35X Static Memory Controller(SMC) driver"
	default y
	depends on CONFIG_ARM
	depends on CONFIG_ARM_AMBA
	help
	  This driver is for the CONFIG_ARM PL351/PL353 Static Memory
	  Controller(CONFIG_SMC) module.

source "drivers/memory/samsung/Kconfig"
source "drivers/memory/tegra/Kconfig"

endif