]> git.baikalelectronics.ru Git - uboot.git/commit
arm: mvebu: turris_omnia: Reset the board immediately on DDR training failure
authorMarek Behún <marek.behun@nic.cz>
Thu, 17 Feb 2022 12:54:43 +0000 (13:54 +0100)
committerStefan Roese <sr@denx.de>
Thu, 17 Feb 2022 13:17:07 +0000 (14:17 +0100)
commita6cb1d50bd315083aa5e7a93e5694fdccfba43fc
tree1222f0cc3f7bab437fe4b3f4f4ff061ef3c0c3ac
parent7ca254c0f94f271526c5d9ce34d78817d47f4910
arm: mvebu: turris_omnia: Reset the board immediately on DDR training failure

The state of the current DDR training code for Armada 38x is such that
we cannot be sure it will always train successfully - although after the
last change we were yet unable to find a board that failed DDR training,
from experience in the last 2 years we know that it is possible.

The experience also tells us that in many cases the board fails training
only sometimes, and after a reset the training is successful.

Enable the new option that makes the board reset itself on DDR training
failure immediately. Until now we called hang() in such a case, which
meant that the board was reset by the MCU after 120 seconds.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Pali Rohár <pali@kernel.org>
configs/turris_omnia_defconfig