diff options
author | Dave Gerlach <d-gerlach@ti.com> | 2021-05-11 18:22:10 +0300 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2021-05-12 14:00:52 +0300 |
commit | db2438131d75ea0198487296b6c694bded080d11 (patch) | |
tree | c356f873e61b85229369268335ff4c6e80260dd4 /drivers/ram/Kconfig | |
parent | 67124b9a74fca735beefea147bd4177acaa1661a (diff) | |
download | u-boot-db2438131d75ea0198487296b6c694bded080d11.tar.xz |
ram: k3-ddrss: Introduce top-level CONFIG_K3_DDRSS
Create a new CONFIG_K3_DDRSS option to select the common parts of the
k3-ddrss driver. Also introduce a choice that depends on the top level
option to select CONFIG_K3_J721E_DDRSS for j721e support, and update
corresponding Kconfig as required.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Diffstat (limited to 'drivers/ram/Kconfig')
-rw-r--r-- | drivers/ram/Kconfig | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig index a270e13b26..4e4e7a9632 100644 --- a/drivers/ram/Kconfig +++ b/drivers/ram/Kconfig @@ -54,9 +54,16 @@ config K3_AM654_DDRSS 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" + config K3_J721E_DDRSS bool "Enable J721E DDRSS support" - depends on RAM help The J721E DDR subsystem comprises DDR controller, DDR PHY and wrapper logic to integrate these blocks in the device. The DDR @@ -65,6 +72,8 @@ config K3_J721E_DDRSS Enabling this config adds support for the DDR memory controller on J721E family of SoCs. +endchoice + config IMXRT_SDRAM bool "Enable i.MXRT SDRAM support" depends on RAM |