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