Simon Glass | 6c51df6 | 2015-06-23 15:39:04 -0600 | [diff] [blame] | 1 | config 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 Yamada | 40c9abb | 2015-08-12 07:31:48 +0900 | [diff] [blame] | 11 | config SPL_RAM |
Simon Glass | 6c51df6 | 2015-06-23 15:39:04 -0600 | [diff] [blame] | 12 | bool "Enable RAM support in SPL" |
Philipp Tomsich | 4523330 | 2017-06-29 01:41:52 +0200 | [diff] [blame] | 13 | depends on RAM && SPL_DM |
Simon Glass | 6c51df6 | 2015-06-23 15:39:04 -0600 | [diff] [blame] | 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. |
Vikas Manocha | bf1ae44 | 2017-04-10 15:02:51 -0700 | [diff] [blame] | 19 | |
Philipp Tomsich | c336c3c | 2017-06-29 01:42:40 +0200 | [diff] [blame] | 20 | config TPL_RAM |
Jagan Teki | 93fd5b0 | 2017-08-25 20:16:00 +0530 | [diff] [blame] | 21 | bool "Enable RAM support in TPL" |
Tom Rini | 8bea4bf | 2022-06-08 08:24:39 -0400 | [diff] [blame] | 22 | depends on RAM && TPL |
Philipp Tomsich | c336c3c | 2017-06-29 01:42:40 +0200 | [diff] [blame] | 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 | |
Vikas Manocha | bf1ae44 | 2017-04-10 15:02:51 -0700 | [diff] [blame] | 29 | config 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. |
Patrick Delaunay | e70f70a | 2018-03-12 10:46:11 +0100 | [diff] [blame] | 36 | |
Mario Six | e406155 | 2018-08-06 10:23:30 +0200 | [diff] [blame] | 37 | config MPC83XX_SDRAM |
| 38 | bool "Enable MPC83XX SDRAM support" |
| 39 | depends on RAM |
| 40 | help |
| 41 | Enable support for the internal DDR Memory Controller of the MPC83xx |
| 42 | family of SoCs. Both static configurations, as well as configuring |
| 43 | the RAM through the use of SPD (Serial Presence Detect) is supported |
| 44 | via device tree settings. |
| 45 | |
Lokesh Vutla | 06bda12 | 2018-11-02 19:51:02 +0530 | [diff] [blame] | 46 | config K3_AM654_DDRSS |
| 47 | bool "Enable AM654 DDRSS support" |
Andrew Davis | 80b93bb | 2022-07-15 10:25:27 -0500 | [diff] [blame] | 48 | depends on RAM && SOC_K3_AM654 |
Lokesh Vutla | 06bda12 | 2018-11-02 19:51:02 +0530 | [diff] [blame] | 49 | help |
| 50 | K3 based AM654 devices has DDR memory subsystem that comprises |
| 51 | Synopys DDR controller, Synopsis DDR phy and wrapper logic to |
| 52 | intergrate these blocks into the device. This DDR subsystem |
| 53 | provides an interface to external SDRAM devices. Enabling this |
| 54 | config add support for the initialization of the external |
| 55 | SDRAM devices connected to DDR subsystem. |
| 56 | |
Dave Gerlach | db24381 | 2021-05-11 10:22:10 -0500 | [diff] [blame] | 57 | config K3_DDRSS |
| 58 | bool "Enable K3 DDRSS support" |
| 59 | depends on RAM |
| 60 | |
| 61 | choice |
| 62 | depends on K3_DDRSS |
| 63 | prompt "K3 DDRSS Arch Support" |
| 64 | |
David Huang | 8fdb1c7 | 2022-01-25 20:56:35 +0530 | [diff] [blame] | 65 | default K3_J721E_DDRSS if SOC_K3_J721E || SOC_K3_J721S2 |
Dave Gerlach | 9f9b5c1 | 2021-05-11 10:22:12 -0500 | [diff] [blame] | 66 | default K3_AM64_DDRSS if SOC_K3_AM642 |
Suman Anna | d98e860 | 2022-05-25 13:38:42 +0530 | [diff] [blame] | 67 | default K3_AM64_DDRSS if SOC_K3_AM625 |
Dave Gerlach | 9f9b5c1 | 2021-05-11 10:22:12 -0500 | [diff] [blame] | 68 | |
Kevin Scholz | 3bb3f26 | 2019-10-07 19:26:36 +0530 | [diff] [blame] | 69 | config K3_J721E_DDRSS |
| 70 | bool "Enable J721E DDRSS support" |
Kevin Scholz | 3bb3f26 | 2019-10-07 19:26:36 +0530 | [diff] [blame] | 71 | help |
| 72 | The J721E DDR subsystem comprises DDR controller, DDR PHY and |
| 73 | wrapper logic to integrate these blocks in the device. The DDR |
| 74 | subsystem is used to provide an interface to external SDRAM |
| 75 | devices which can be utilized for storing program or data. |
| 76 | Enabling this config adds support for the DDR memory controller |
| 77 | on J721E family of SoCs. |
| 78 | |
Dave Gerlach | 9f9b5c1 | 2021-05-11 10:22:12 -0500 | [diff] [blame] | 79 | config K3_AM64_DDRSS |
| 80 | bool "Enable AM64 DDRSS support" |
| 81 | help |
| 82 | The AM64 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 AM642 family of SoCs. |
| 88 | |
Dave Gerlach | db24381 | 2021-05-11 10:22:10 -0500 | [diff] [blame] | 89 | endchoice |
| 90 | |
Giulio Benetti | cd647fc | 2020-01-10 15:51:44 +0100 | [diff] [blame] | 91 | config IMXRT_SDRAM |
| 92 | bool "Enable i.MXRT SDRAM support" |
| 93 | depends on RAM |
| 94 | help |
| 95 | i.MXRT family devices support smart external memory controller(SEMC) |
| 96 | to support external memories like sdram, psram & nand. |
| 97 | This driver is for the sdram memory interface with the SEMC. |
| 98 | |
Dylan Hung | 0474050 | 2020-09-07 16:25:07 +0800 | [diff] [blame] | 99 | source "drivers/ram/aspeed/Kconfig" |
Jagan Teki | 82ee138 | 2019-07-15 23:58:46 +0530 | [diff] [blame] | 100 | source "drivers/ram/rockchip/Kconfig" |
Pragnesh Patel | c514a94 | 2020-05-29 11:33:26 +0530 | [diff] [blame] | 101 | source "drivers/ram/sifive/Kconfig" |
Patrick Delaunay | e70f70a | 2018-03-12 10:46:11 +0100 | [diff] [blame] | 102 | source "drivers/ram/stm32mp1/Kconfig" |
Aaron Williams | 15afe72 | 2020-09-02 08:29:08 +0200 | [diff] [blame] | 103 | source "drivers/ram/octeon/Kconfig" |