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

2014-10-01 Thread atull
On Wed, 1 Oct 2014, Pavel Machek wrote: > Hi! > > > 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.lowpwrt

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

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

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

2014-09-26 Thread atull
On Fri, 26 Sep 2014, Dinh Nguyen wrote: > On 09/24/2014 03:27 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 configu

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

2014-09-26 Thread Dinh Nguyen
On 09/24/2014 03:27 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.selfrfshmask = 3 >

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

2014-09-25 Thread atull
Hi Steffen, On Thu, 25 Sep 2014, Steffen Trumtrar wrote: > Hi! > > On Wed, Sep 24, 2014 at 03:27:29PM -0500, 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

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

2014-09-25 Thread Steffen Trumtrar
Hi! On Wed, Sep 24, 2014 at 03:27:29PM -0500, 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.lowpwre

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

2014-09-24 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