From d58eb4ecb71def38a08f282586cd487af027cea1 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 28 Jun 2018 18:43:48 +0200 Subject: [PATCH] bios/sdram: use new phy, improve scan, allow disabling high skew --- litex/soc/software/bios/sdram.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/litex/soc/software/bios/sdram.c b/litex/soc/software/bios/sdram.c index 6b334853a..5e694240f 100644 --- a/litex/soc/software/bios/sdram.c +++ b/litex/soc/software/bios/sdram.c @@ -233,16 +233,16 @@ static void write_level_scan(void) sdrwlon(); cdelay(100); for(i=0;i=0;i--) { + printf("m%d: ", (DFII_PIX_DATA_SIZE/2-i-1)); ddrphy_dly_sel_write(1 << (DFII_PIX_DATA_SIZE/2-i-1)); ddrphy_rdly_dq_rst_write(1); for(j=0; j