aboutsummaryrefslogtreecommitdiff
path: root/drivers/ram/Kconfig
blob: 86857c06272ef5513c33096a23422fa54b1098f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
config RAM
	bool "Enable RAM drivers using Driver Model"
	depends on DM
	help
	  This allows drivers to be provided for SDRAM and other RAM
	  controllers and their type to be specified in the board's device
	  tree. Generally some parameters are required to set up the RAM and
	  the RAM size can either be statically defined or dynamically
	  detected.

config SPL_RAM
	bool "Enable RAM support in SPL"
	depends on RAM && SPL_DM
	help
	  The RAM subsystem adds a small amount of overhead to the image.
	  If this is acceptable and you have a need to use RAM drivers in
	  SPL, enable this option. It might provide a cleaner interface to
	  setting up RAM (e.g. SDRAM / DDR) within SPL.

config TPL_RAM
	bool "Enable RAM support in TPL"
	depends on RAM && TPL
	help
	  The RAM subsystem adds a small amount of overhead to the image.
	  If this is acceptable and you have a need to use RAM drivers in
	  TPL, enable this option. It might provide a cleaner interface to
	  setting up RAM (e.g. SDRAM / DDR) within TPL.

config STM32_SDRAM
	bool "Enable STM32 SDRAM support"
	depends on RAM
	help
	  STM32F7 family devices support flexible memory controller(FMC) to
	  support external memories like sdram, psram & nand.
	  This driver is for the sdram memory interface with the FMC.

config MPC83XX_SDRAM
	bool "Enable MPC83XX SDRAM support"
	depends on RAM
	help
	  Enable support for the internal DDR Memory Controller of the MPC83xx
	  family of SoCs. Both static configurations, as well as configuring
	  the RAM through the use of SPD (Serial Presence Detect) is supported
	  via device tree settings.

config K3_AM654_DDRSS
	bool "Enable AM654 DDRSS support"
	depends on RAM && SOC_K3_AM654
	help
	  K3 based AM654 devices has DDR memory subsystem that comprises
	  Synopys DDR controller, Synopsis DDR phy and wrapper logic to
	  intergrate these blocks into the device. This DDR subsystem
	  provides an interface to external SDRAM devices. Enabling this
	  config add support for the initialization of the external
	  SDRAM devices connected to DDR subsystem.

config K3_DDRSS
	bool "Enable K3 DDRSS support"
	depends on RAM

choice
	depends on K3_DDRSS
	prompt "K3 DDRSS Arch Support"

	default K3_J721E_DDRSS if SOC_K3_J721E || SOC_K3_J721S2
	default K3_AM64_DDRSS if SOC_K3_AM642
	default K3_AM64_DDRSS if SOC_K3_AM625

config K3_J721E_DDRSS
	bool "Enable J721E DDRSS support"
	help
	  The J721E DDR subsystem comprises DDR controller, DDR PHY and
	  wrapper logic to integrate these blocks in the device. The DDR
	  subsystem is used to provide an interface to external SDRAM
	  devices which can be utilized for storing program or data.
	  Enabling this config adds support for the DDR memory controller
	  on J721E family of SoCs.

config K3_AM64_DDRSS
	bool "Enable AM64 DDRSS support"
	help
	  The AM64 DDR subsystem comprises DDR controller, DDR PHY and
	  wrapper logic to integrate these blocks in the device. The DDR
	  subsystem is used to provide an interface to external SDRAM
	  devices which can be utilized for storing program or data.
	  Enabling this config adds support for the DDR memory controller
	  on AM642 family of SoCs.

endchoice

config IMXRT_SDRAM
	bool "Enable i.MXRT SDRAM support"
	depends on RAM
	help
	  i.MXRT family devices support smart external memory controller(SEMC)
	  to support external memories like sdram, psram & nand.
	  This driver is for the sdram memory interface with the SEMC.

source "drivers/ram/aspeed/Kconfig"
source "drivers/ram/rockchip/Kconfig"
source "drivers/ram/sifive/Kconfig"
source "drivers/ram/stm32mp1/Kconfig"
source "drivers/ram/octeon/Kconfig"