Re: [U-Boot] [PATCH v2 02/16] sunxi: dram: Remove broken super-standby remnants

2014-08-04 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: > If the dram->ppwrsctl (SDR_DPCR) register has the lowest bit set to 1, > this means that DRAM is currently in self-refresh mode and retaining the > old data. Since we have no idea what to do in this situation yet, just > set this registe

[U-Boot] [PATCH v2 02/16] sunxi: dram: Remove broken super-standby remnants

2014-08-02 Thread Siarhei Siamashka
If the dram->ppwrsctl (SDR_DPCR) register has the lowest bit set to 1, this means that DRAM is currently in self-refresh mode and retaining the old data. Since we have no idea what to do in this situation yet, just set this register to 0 and initialize DRAM in the same way as on any normal reboot (