From 9c6f76f18c17cf1d20bb2622fa17daefbb42d5ad Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 13 Sep 2018 06:33:54 +0200 Subject: [PATCH] bios/sdram: mode sdhw() --- litex/soc/software/bios/sdram.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litex/soc/software/bios/sdram.c b/litex/soc/software/bios/sdram.c index 61f660acb..443245ee7 100644 --- a/litex/soc/software/bios/sdram.c +++ b/litex/soc/software/bios/sdram.c @@ -780,8 +780,6 @@ int sdrlevel(int silent) read_level_scan(0); read_level(); - sdrhw(); - return 1; } #endif @@ -800,6 +798,7 @@ int sdrinit(void) ddrphy_en_vtc_write(1); #endif #endif + sdrhw(); if(!memtest()) { #ifdef CSR_DDRPHY_BASE /* show scans */