summaryrefslogtreecommitdiff
path: root/drivers/ram
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ram')
-rw-r--r--drivers/ram/Kconfig11
-rw-r--r--drivers/ram/Makefile2
2 files changed, 11 insertions, 2 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
diff --git a/drivers/ram/Makefile b/drivers/ram/Makefile
index 1806a160f5..5a39611349 100644
--- a/drivers/ram/Makefile
+++ b/drivers/ram/Makefile
@@ -15,7 +15,7 @@ obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
obj-$(CONFIG_K3_AM654_DDRSS) += k3-am654-ddrss.o
obj-$(CONFIG_ARCH_MEDIATEK) += mediatek/
obj-$(CONFIG_ARCH_ASPEED) += aspeed/
-obj-$(CONFIG_K3_J721E_DDRSS) += k3-ddrss/
+obj-$(CONFIG_K3_DDRSS) += k3-ddrss/
obj-$(CONFIG_IMXRT_SDRAM) += imxrt_sdram.o