diff options
| author | Bin Liu <[email protected]> | 2026-07-16 09:37:51 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-07-28 12:30:55 -0600 |
| commit | 1ca41edced1a7213a9d737c1ced772b91181e9ad (patch) | |
| tree | 8fac08766ee37807b6e4daa352f63d7227f2d8ae | |
| parent | a1ae6e971c3962f73257ee5c8535e108d869b24f (diff) | |
Kconfig: ram: select FDT_64BIT for K3_INLINE_ECC
Commit f43f71012254 ("ram: k3-ddrss: Add support for a partial inline
ECC region") uses ofnode_get_addr_size() to read memory address and
size from devicetree using type fdt_addr_t and fdt_size_t. However
these data types are 32bit if CONFIG_FDT_64BIT is not defined on ARMv7
build.
So enable CONFIG_FDT_64BIT to retrieve correct 64bit memory address and
size from devicetree.
Signed-off-by: Bin Liu <[email protected]>
Reviewed-by: Udit Kumar <[email protected]>
Reviewed-by: Neha Malcom Francis <[email protected]>
| -rw-r--r-- | drivers/ram/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig index cfbfa1252d0..acd6d9cfd6a 100644 --- a/drivers/ram/Kconfig +++ b/drivers/ram/Kconfig @@ -121,6 +121,7 @@ config IMXRT_SDRAM config K3_INLINE_ECC bool "Enable TI Inline ECC support" depends on K3_DDRSS + select FDT_64BIT 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 |
