From b07a3c5e12503d5fc3f90c197751fe42b1127eb2 Mon Sep 17 00:00:00 2001 From: Maciej Dudek Date: Fri, 27 Sep 2024 15:48:25 +0200 Subject: [PATCH] Fix DDR5 training issues on Montage RCDs Signed-off-by: Maciej Dudek --- litex/soc/software/liblitedram/ddr5_training.c | 1 + 1 file changed, 1 insertion(+) diff --git a/litex/soc/software/liblitedram/ddr5_training.c b/litex/soc/software/liblitedram/ddr5_training.c index 565e2c178b..b57a71d2b5 100644 --- a/litex/soc/software/liblitedram/ddr5_training.c +++ b/litex/soc/software/liblitedram/ddr5_training.c @@ -140,6 +140,7 @@ static bool CS_scan(const training_ctx_t *const ctx, int32_t channel, int32_t ra printf("|"); CS_scan_single(ctx, channel, rank, 0); printf("|\n"); + subtract = true; break; }; // Exit CS training