From 4a6256a50db5cdd82a6b6571fb42ab2ec9ee6f22 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Mon, 1 Jun 2020 23:44:09 +1000 Subject: [PATCH] sdram: Unconditionally switch to SW control before inits This will allow the controller to default to HW control which means the sim model can be used without specific initializations Signed-off-by: Benjamin Herrenschmidt --- litex/soc/software/liblitedram/sdram.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litex/soc/software/liblitedram/sdram.c b/litex/soc/software/liblitedram/sdram.c index 55ea65f1..147d96d5 100644 --- a/litex/soc/software/liblitedram/sdram.c +++ b/litex/soc/software/liblitedram/sdram.c @@ -995,7 +995,6 @@ int _write_level_cdly_scan = 1; int sdrlevel(void) { int module; - sdrsw(); for(module=0; module