ram: k3-ddrss: Setup ECC region start and range
authorSanthosh Kumar K <s-k6@ti.com>
Mon, 6 Jan 2025 09:07:03 +0000 (14:37 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 14 Jan 2025 21:47:07 +0000 (15:47 -0600)
commit39d66893ef23b4db43c6b12af9b65e7fadb3445c
treeb22fb5071d94fb80f762a840fc80ef5ec0c18cc1
parent22ce56a3ebdbd5fa5c8e727042f6b4af345112f2
ram: k3-ddrss: Setup ECC region start and range

Setup the ECC region's start and range using the device private data,
ddrss->ddr_bank_base[0] and ddrss->ddr_ram_size. Also, move start and
range of ECC regions from 32 bits to 64 bits to accommodate for
DDR greater than or equal to 4GB.

Signed-off-by: Santhosh Kumar K <s-k6@ti.com>
drivers/ram/k3-ddrss/k3-ddrss.c