Re: [PATCH v3 2/2] socfpga: support suspend to ram

2014-10-23 Thread Dinh Nguyen
Hi Alan, On 10/14/2014 02:33 PM, at...@opensource.altera.com wrote: > From: Alan Tull > > Add code that requests that the sdr controller go into > self-refresh mode. This code is run from ocram. > > This patch assumes that u-boot has already configured sdr: > sdr.ctrlcfg.lowpwreq.selfrfshmas

Re: [PATCH v3 2/2] socfpga: support suspend to ram

2014-10-15 Thread atull
On Wed, 15 Oct 2014, Pavel Machek wrote: > On Tue 2014-10-14 14:33:39, at...@opensource.altera.com wrote: > > From: Alan Tull > > > > Add code that requests that the sdr controller go into > > self-refresh mode. This code is run from ocram. > > > > This patch assumes that u-boot has already co

Re: [PATCH v3 2/2] socfpga: support suspend to ram

2014-10-15 Thread Pavel Machek
On Tue 2014-10-14 14:33:39, at...@opensource.altera.com wrote: > From: Alan Tull > > Add code that requests that the sdr controller go into > self-refresh mode. This code is run from ocram. > > This patch assumes that u-boot has already configured sdr: > sdr.ctrlcfg.lowpwreq.selfrfshmask = 3

[PATCH v3 2/2] socfpga: support suspend to ram

2014-10-14 Thread atull
From: Alan Tull Add code that requests that the sdr controller go into self-refresh mode. This code is run from ocram. This patch assumes that u-boot has already configured sdr: sdr.ctrlcfg.lowpwreq.selfrfshmask = 3 sdr.ctrlcfg.lowpwrtiming.clkdisablecycles = 8 sdr.ctrlcfg.dramtiming4.sel