blob: f7e357f24da73e727ce08a8790657c14269308b9 [file] [log] [blame]
Simon Glass3a2f3bd2015-06-23 15:39:04 -06001config 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
Masahiro Yamada2ba7a8c2015-08-12 07:31:48 +090011config SPL_RAM
Simon Glass3a2f3bd2015-06-23 15:39:04 -060012 bool "Enable RAM support in SPL"
Philipp Tomsichce8d20c2017-06-29 01:41:52 +020013 depends on RAM && SPL_DM
Simon Glass3a2f3bd2015-06-23 15:39:04 -060014 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.
Vikas Manocha24796092017-04-10 15:02:51 -070019
Philipp Tomsich6614f422017-06-29 01:42:40 +020020config TPL_RAM
Jagan Teki43619122017-08-25 20:16:00 +053021 bool "Enable RAM support in TPL"
Tom Rini36a4ca02022-06-08 08:24:39 -040022 depends on RAM && TPL
Philipp Tomsich6614f422017-06-29 01:42:40 +020023 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
Simon Glass6fa47e12024-09-20 09:24:31 +020029config VPL_RAM
30 bool "Enable RAM support in VPL"
31 depends on RAM && VPL
32 help
33 The RAM subsystem adds a small amount of overhead to the image.
34 If this is acceptable and you have a need to use RAM drivers in
35 VPL, enable this option. It might provide a cleaner interface to
36 setting up RAM (e.g. SDRAM / DDR) within VPL.
37
Vikas Manocha24796092017-04-10 15:02:51 -070038config STM32_SDRAM
39 bool "Enable STM32 SDRAM support"
40 depends on RAM
41 help
42 STM32F7 family devices support flexible memory controller(FMC) to
43 support external memories like sdram, psram & nand.
44 This driver is for the sdram memory interface with the FMC.
Patrick Delaunay939d5362018-03-12 10:46:11 +010045
Mario Six538b5752018-08-06 10:23:30 +020046config MPC83XX_SDRAM
47 bool "Enable MPC83XX SDRAM support"
48 depends on RAM
49 help
50 Enable support for the internal DDR Memory Controller of the MPC83xx
51 family of SoCs. Both static configurations, as well as configuring
52 the RAM through the use of SPD (Serial Presence Detect) is supported
53 via device tree settings.
54
Lokesh Vutlac49bffb2018-11-02 19:51:02 +053055config K3_AM654_DDRSS
56 bool "Enable AM654 DDRSS support"
Andrew Davis1be5e972022-07-15 10:25:27 -050057 depends on RAM && SOC_K3_AM654
Lokesh Vutlac49bffb2018-11-02 19:51:02 +053058 help
59 K3 based AM654 devices has DDR memory subsystem that comprises
60 Synopys DDR controller, Synopsis DDR phy and wrapper logic to
61 intergrate these blocks into the device. This DDR subsystem
62 provides an interface to external SDRAM devices. Enabling this
63 config add support for the initialization of the external
64 SDRAM devices connected to DDR subsystem.
65
Dave Gerlache7773802021-05-11 10:22:10 -050066config K3_DDRSS
67 bool "Enable K3 DDRSS support"
68 depends on RAM
69
70choice
71 depends on K3_DDRSS
72 prompt "K3 DDRSS Arch Support"
73
Apurva Nandan67ebc302024-02-24 01:51:41 +053074 default K3_J721E_DDRSS if SOC_K3_J721E || SOC_K3_J721S2 || SOC_K3_J784S4
Dave Gerlach2c861a92021-05-11 10:22:12 -050075 default K3_AM64_DDRSS if SOC_K3_AM642
Suman Anna27fa4122022-05-25 13:38:42 +053076 default K3_AM64_DDRSS if SOC_K3_AM625
Jayesh Choudharyf68fb172024-06-12 14:41:17 +053077 default K3_AM62A_DDRSS if SOC_K3_AM62A7 || SOC_K3_AM62P5 || SOC_K3_J722S
Dave Gerlach2c861a92021-05-11 10:22:12 -050078
Kevin Scholz521a4ef2019-10-07 19:26:36 +053079config K3_J721E_DDRSS
80 bool "Enable J721E DDRSS support"
Kevin Scholz521a4ef2019-10-07 19:26:36 +053081 help
82 The J721E DDR subsystem comprises DDR controller, DDR PHY and
83 wrapper logic to integrate these blocks in the device. The DDR
84 subsystem is used to provide an interface to external SDRAM
85 devices which can be utilized for storing program or data.
86 Enabling this config adds support for the DDR memory controller
87 on J721E family of SoCs.
88
Dave Gerlach2c861a92021-05-11 10:22:12 -050089config K3_AM64_DDRSS
90 bool "Enable AM64 DDRSS support"
91 help
92 The AM64 DDR subsystem comprises DDR controller, DDR PHY and
93 wrapper logic to integrate these blocks in the device. The DDR
94 subsystem is used to provide an interface to external SDRAM
95 devices which can be utilized for storing program or data.
96 Enabling this config adds support for the DDR memory controller
97 on AM642 family of SoCs.
98
Bryan Brattlof85b5cc82022-10-24 16:53:28 -050099config K3_AM62A_DDRSS
100 bool "Enable AM62A DDRSS support"
101 help
102 The AM62A DDR subsystem comprises of a DDR controller, DDR PHY and
103 wrapper logic to integrate these blocks into once device. The DDR
104 subsystem is used to provide an interface to external SDRAM devices
105 which can be utilized for storing programs or any other data.
106 Enabling this option adds support for the DDR memory controller for
107 the AM62A family of SoCs.
108
Dave Gerlache7773802021-05-11 10:22:10 -0500109endchoice
110
Giulio Benettic5139302020-01-10 15:51:44 +0100111config IMXRT_SDRAM
112 bool "Enable i.MXRT SDRAM support"
113 depends on RAM
114 help
115 i.MXRT family devices support smart external memory controller(SEMC)
116 to support external memories like sdram, psram & nand.
117 This driver is for the sdram memory interface with the SEMC.
118
Dylan Hungf7d8f832020-09-07 16:25:07 +0800119source "drivers/ram/aspeed/Kconfig"
Ralph Siemsen4ceb0d32023-05-12 21:36:53 -0400120source "drivers/ram/cadence/Kconfig"
Andre Przywarab652b692022-12-18 00:12:07 +0000121source "drivers/ram/octeon/Kconfig"
Jagan Teki80442f92019-07-15 23:58:46 +0530122source "drivers/ram/rockchip/Kconfig"
Pragnesh Patel4cefe722020-05-29 11:33:26 +0530123source "drivers/ram/sifive/Kconfig"
Patrick Delaunay939d5362018-03-12 10:46:11 +0100124source "drivers/ram/stm32mp1/Kconfig"
Yanhong Wangd60e8802023-03-29 11:42:16 +0800125source "drivers/ram/starfive/Kconfig"
Andre Przywarab652b692022-12-18 00:12:07 +0000126source "drivers/ram/sunxi/Kconfig"