summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorNeha Malcom Francis <[email protected]>2025-08-12 18:13:20 +0530
committerTom Rini <[email protected]>2025-08-19 11:26:20 -0600
commit3a0793fe9be3f0e6026d31dec8545a6b0e102ccd (patch)
treeb3d8ee0f5fb5be6ad8102400c23d1e958422d135 /drivers
parentf43f710122541f870ba164e8121445003032c71c (diff)
ram: k3-ddrss: Add CONFIG_K3_MULTI_DDR
As we increase the functionalities that the K3 DDRSS sub-system support, it is becoming more evident that the same logic cannot apply to both single as well as multiple DDR controller devices. Add CONFIG_K3_MULTI_DDR to be used to differentiate between the two. Reviewed-by: Udit Kumar <[email protected]> Signed-off-by: Neha Malcom Francis <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ram/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig
index d6964497309..cfbfa1252d0 100644
--- a/drivers/ram/Kconfig
+++ b/drivers/ram/Kconfig
@@ -128,6 +128,16 @@ config K3_INLINE_ECC
need to be primed with a predefined value prior to enabling ECC
check.
+config K3_MULTI_DDR
+ bool "Enable support for multiple K3 DDRSS controllers"
+ depends on K3_DDRSS
+ help
+ Enabling this option adds support for configuring multiple DDR memory
+ controllers for K3 devices. The external memory interleave layer
+ present in the MSMC (Multicore Shared Memory Controller) is
+ responsible for interleaving between the controllers.
+ default y if SOC_K3_J721S2 || SOC_K3_J784S4
+
source "drivers/ram/aspeed/Kconfig"
source "drivers/ram/cadence/Kconfig"
source "drivers/ram/octeon/Kconfig"