cmd: ti: ddr3: Move the print statement after test
authorKrunal Bhargav <k-bhargav@ti.com>
Mon, 16 Sep 2019 08:17:19 +0000 (13:47 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 17:31:17 +0000 (13:31 -0400)
commit92ffd0d9ed9a8389a7fb28addcd46547d6fb8539
treeb086a95911e14ab2d320f6dc8fde4ce98e7197c9
parent2b2e1573cffbe5d47712d138690f45e01353c3f5
cmd: ti: ddr3: Move the print statement after test

If the ECC is enabled over the entire memory region, we need to ensure
the printf/put calls do not modify the stack after ECC is disabled.
Moved the printf/put statements after ECC is enabled.

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