diff options
| author | Bin Liu <[email protected]> | 2026-07-16 09:54:37 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-07-28 12:30:55 -0600 |
| commit | 616c3d79f01cf9204e38738857c4647a730dcb3b (patch) | |
| tree | 328cd92b6a7827ff0377d21e8bdebcffa51a5275 /scripts/Makefile | |
| parent | 1ca41edced1a7213a9d737c1ced772b91181e9ad (diff) | |
ram: k3-ddrss: fix ecc range checking bug
The original checking is wrong, it basically compares memory address
end = r->start + r->range;
with memory size:
if (end > (ddr_ram_size - ecc_res))
so the if() condition would be always true. This causes the ECC config
never take input from the devicetree.
Fixes: f43f71012254 ("ram: k3-ddrss: Add support for a partial inline ECC region")
Signed-off-by: Bin Liu <[email protected]>
Reviewed-by: Neha Malcom Francis <[email protected]>
Diffstat (limited to 'scripts/Makefile')
0 files changed, 0 insertions, 0 deletions
