arm: mvebu: Hang if ddr3_init() fails
authorPali Rohár <pali@kernel.org>
Mon, 9 Aug 2021 15:44:35 +0000 (17:44 +0200)
committerStefan Roese <sr@denx.de>
Wed, 11 Aug 2021 06:42:26 +0000 (08:42 +0200)
commit7e1c0d0dca7fc382bb0a857e15019e7033b80fd2
tree7da210d60fd2724218549977027eec37bc83e229
parent4cd61c43fd513a8a0558db2d0d237d612e2d5e73
arm: mvebu: Hang if ddr3_init() fails

If ddr3_init() fails then DDR was not initialized and we cannot load and
execute U-Boot. We cannot continue, we cannot do anything in this case, so
hang.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/spl.c