xref: /OK3568_Linux_fs/u-boot/drivers/ram/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config RAM
2	bool "Enable RAM drivers using Driver Model"
3	depends on DM
4	help
5	  This allows drivers to be provided for SDRAM and other RAM
6	  controllers and their type to be specified in the board's device
7	  tree. Generally some parameters are required to set up the RAM and
8	  the RAM size can either be statically defined or dynamically
9	  detected.
10
11config SPL_RAM
12	bool "Enable RAM support in SPL"
13	depends on RAM && SPL_DM
14	help
15	  The RAM subsystem adds a small amount of overhead to the image.
16	  If this is acceptable and you have a need to use RAM drivers in
17	  SPL, enable this option. It might provide a cleaner interface to
18	  setting up RAM (e.g. SDRAM / DDR) within SPL.
19
20config TPL_RAM
21	bool "Enable RAM support in TPL"
22	depends on RAM
23	help
24	  The RAM subsystem adds a small amount of overhead to the image.
25	  If this is acceptable and you have a need to use RAM drivers in
26	  TPL, enable this option. It might provide a cleaner interface to
27	  setting up RAM (e.g. SDRAM / DDR) within TPL.
28
29config STM32_SDRAM
30	bool "Enable STM32 SDRAM support"
31	depends on RAM
32	help
33	  STM32F7 family devices support flexible memory controller(FMC) to
34	  support external memories like sdram, psram & nand.
35	  This driver is for the sdram memory interface with the FMC.
36
37config DM_RAMDISK
38	bool "Enable Driver Model for RAMDISK drivers"
39	depends on DM
40	help
41	  This enables the Ramdisk uclass support. These appear as block devices
42	  in U-Boot.
43
44config RAMDISK_RO
45	bool "Enable read only ramdisk support"
46	depends on DM_RAMDISK
47	select RKRAM_PARTITION
48	help
49	  This enables the read only ramdisk support.
50
51config DM_DMC
52	bool "Enable Driver Model for DMC drivers"
53	depends on DM
54	help
55	  This config enables the driver-model DMC support.
56
57source "drivers/ram/rockchip/Kconfig"
58