sdram: Unconditionally switch to SW control before inits
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Jun 2020 13:44:09 +0000 (23:44 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Jun 2020 13:44:09 +0000 (23:44 +1000)
commit4a6256a50db5cdd82a6b6571fb42ab2ec9ee6f22
treeaf3c03e2868645d1f36c68bcbef8097b8eb77b25
parent5cc7a98845311a91d20f757c96a7a7931a7a1220
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 <benh@kernel.crashing.org>
litex/soc/software/liblitedram/sdram.c