ram: k3-ddrss: Use DDR address instead of system address for ecc_regions
authorNeha Malcom Francis <n-francis@ti.com>
Tue, 12 Aug 2025 12:43:16 +0000 (18:13 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 19 Aug 2025 17:26:19 +0000 (11:26 -0600)
commit520d9c2521f4082209ce5121be1b3c1eae98994c
tree40b21cdf6314f04bd5d9a7f538eb1796696b92fe
parent5b2c3a3ea154f81fa61095e1e192484048fb3c78
ram: k3-ddrss: Use DDR address instead of system address for ecc_regions

Let ecc_regions[x].start reflect the start of the ECC region in terms of
DDR addressing rather than system addressing. This will make it easier
to extend the usage of the same ecc_regions structure for multi-DDR
systems as well.

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