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:
parent
120aaf27b3
commit
cd9ac3cf70
@ -3997,6 +3997,11 @@ static int mpfs_ddr_setup(struct mpfs_ddr_priv_s *priv)
|
|||||||
}
|
}
|
||||||
while (retval == -EAGAIN);
|
while (retval == -EAGAIN);
|
||||||
|
|
||||||
|
if (retval)
|
||||||
|
{
|
||||||
|
return retval;
|
||||||
|
}
|
||||||
|
|
||||||
/* DDR_FULL_MTC_CHECK */
|
/* DDR_FULL_MTC_CHECK */
|
||||||
|
|
||||||
retval = mpfs_training_full_mtc_test();
|
retval = mpfs_training_full_mtc_test();
|
||||||
|
Loading…
Reference in New Issue
Block a user