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

2014-10-07 Thread atull
On Tue, 7 Oct 2014, Pavel Machek wrote: > Hi! > > > 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

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

2014-10-07 Thread Pavel Machek
Hi! > 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.

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

2014-10-02 Thread atull
On Wed, 1 Oct 2014, 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 > sdr

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

2014-10-01 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