ram: k3-ddrss: Add support for MSMC calculation of DDR inline ECC regions
authorNeha Malcom Francis <n-francis@ti.com>
Tue, 12 Aug 2025 12:43:22 +0000 (18:13 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 19 Aug 2025 17:26:20 +0000 (11:26 -0600)
commitc32ac5b3b934942fdcd97ee631ca2362032e0e53
tree3b99c9b29014233ad3cc2b599e48184a1f9a874d
parent2310aac8ae0180ad78da1d44657f846610296e4d
ram: k3-ddrss: Add support for MSMC calculation of DDR inline ECC regions

Add support for calculation of the protected regions for each DDR in
multi-DDR systems. Since MSMC is the parent node of the individual DDRs
as well as responsible for their interleaving, it only makes sense for
MSMC to contain the logic for dividing the regions.

Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
drivers/ram/k3-ddrss/k3-ddrss.c