From: Florent Kermarrec Date: Wed, 19 Dec 2018 10:18:19 +0000 (+0100) Subject: bios/sdram: reduce write leveling scan range X-Git-Tag: 24jan2021_ls180~1431 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67a2590235337cfac329f4a7e18c4c802c95e4c0;p=litex.git bios/sdram: reduce write leveling scan range --- 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");