From 67a2590235337cfac329f4a7e18c4c802c95e4c0 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 19 Dec 2018 11:18:19 +0100 Subject: [PATCH] bios/sdram: reduce write leveling scan range --- litex/soc/software/bios/sdram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/software/bios/sdram.c b/litex/soc/software/bios/sdram.c index 383cc3ef..b00f615e 100644 --- a/litex/soc/software/bios/sdram.c +++ b/litex/soc/software/bios/sdram.c @@ -253,7 +253,7 @@ int write_level(void) int ok; - err_ddrphy_wdly = ERR_DDRPHY_DELAY - ddrphy_half_sys8x_taps_read() - 1; + err_ddrphy_wdly = (ERR_DDRPHY_DELAY*14)/16 - ddrphy_half_sys8x_taps_read(); printf("Write leveling:\n"); -- 2.30.2