summaryrefslogtreecommitdiff
path: root/drivers/ram
diff options
context:
space:
mode:
authorNeha Malcom Francis <[email protected]>2025-01-06 14:37:05 +0530
committerTom Rini <[email protected]>2025-01-14 15:47:07 -0600
commit98dd3c126e3b2cb051ab671e27568c945e40c71a (patch)
treeeaf1970fb5900cad3f5ae0fd42d38a700470f535 /drivers/ram
parent42957c3a8ba54c241f0a6d71f5c7d08ffc241adc (diff)
drivers: ram: Kconfig: Add CONFIG_K3_INLINE_ECC
Add CONFIG_K3_INLINE_ECC so that ECC functions can be compiled into R5 SPL only when the config has been enabled. Signed-off-by: Neha Malcom Francis <[email protected]> Signed-off-by: Santhosh Kumar K <[email protected]> Reviewed-by: Wadim Egorov <[email protected]>
Diffstat (limited to 'drivers/ram')
-rw-r--r--drivers/ram/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig
index 2b0cd312883..899d7585489 100644
--- a/drivers/ram/Kconfig
+++ b/drivers/ram/Kconfig
@@ -116,6 +116,16 @@ config IMXRT_SDRAM
to support external memories like sdram, psram & nand.
This driver is for the sdram memory interface with the SEMC.
+config K3_INLINE_ECC
+ bool "Enable TI Inline ECC support"
+ depends on K3_DDRSS
+ help
+ Enable Inline ECC support on K3 platforms. 1/9th of the SDRAM space
+ is used for ECC storage and the rest 8/9th is available for system
+ use. Enabling ECC increases boot time as the ECC protected regions
+ need to be primed with a predefined value prior to enabling ECC
+ check.
+
source "drivers/ram/aspeed/Kconfig"
source "drivers/ram/cadence/Kconfig"
source "drivers/ram/octeon/Kconfig"