]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: ti: ddr3: Fix ecc address calculation
authorLokesh Vutla <lokeshvutla@ti.com>
Mon, 16 Sep 2019 08:17:16 +0000 (13:47 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 17:31:17 +0000 (13:31 -0400)
commit5ebe6c0cb74a93ae75a1dd37e92e3765511f788c
tree045ee1211c33a64963d2518791adcd793cfe1ba6
parented474ae00c7b2b51fc97b0580d2e52483a657acb
cmd: ti: ddr3: Fix ecc address calculation

ecc_address_range registers contains the start address and end address
of the DDR address space. But the ddr cmd driver is assuming the register
contains the start address and size of the DDR address space. Because
of this some valid ecc addresses are errored out as invalid address.
Fix this calculation.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
cmd/ti/ddr3.c