arch/risc-v/src/mpfs/mpfs_ddr.c: Don't continue training process if "verify" step fails

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen 2023-08-16 12:28:23 +03:00 committed by Xiang Xiao
parent 120aaf27b3
commit cd9ac3cf70

View File

@ -3997,6 +3997,11 @@ static int mpfs_ddr_setup(struct mpfs_ddr_priv_s *priv)
}
while (retval == -EAGAIN);
if (retval)
{
return retval;
}
/* DDR_FULL_MTC_CHECK */
retval = mpfs_training_full_mtc_test();