armv7R: K3: am654: Trigger panic on DDR init failures
authorAndreas Dannenberg <dannenberg@ti.com>
Mon, 11 Mar 2019 20:15:43 +0000 (15:15 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 12 Apr 2019 12:05:52 +0000 (08:05 -0400)
commit3e9b9c1ccd11ec899709baf99e308e51b93d976c
treee314192ae95b241494a3feeec5050a241b26396f
parentd7ee66af022ddb78e4de46c366248aead7933572
armv7R: K3: am654: Trigger panic on DDR init failures

When initializing DDR from R5 SPL trigger U-Boot's panic facility
rather than simply returning from the board init function as there
is little point continuing code execution. Further, as panic implies
a board reset, so using it might potentially allow to recover from
this error in certain cases such as when the init failure was caused
by a temporary glitch of some sorts.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-k3/am6_init.c