From: Benjamin Herrenschmidt Date: Mon, 1 Jun 2020 13:44:09 +0000 (+1000) Subject: sdram: Unconditionally switch to SW control before inits X-Git-Tag: 24jan2021_ls180~235^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a6256a50db5cdd82a6b6571fb42ab2ec9ee6f22;p=litex.git 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 --- 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