Re: [PATCHv6 1/2] ARM: socfpga: support suspend to ram

2015-06-09 Thread Pavel Machek
Hi! > +/* Bitfield positions */ > +#define SELFRSHREQ_POS 3 > +#define SELFRFSHACK_POS 1 These two defines are unused and should be deleted. Thanks, Pavel -- (english)

Re: [PATCHv6 1/2] ARM: socfpga: support suspend to ram

2015-06-09 Thread Pavel Machek
Hi! +/* Bitfield positions */ +#define SELFRSHREQ_POS 3 +#define SELFRFSHACK_POS 1 These two defines are unused and should be deleted. Thanks, Pavel -- (english)

[PATCHv6 1/2] ARM: socfpga: support suspend to ram

2015-06-02 Thread Alan Tull
Add code that requests that the sdr controller go into self-refresh mode. This code is run from ocram. Suspend-to-RAM and EDAC support are mutually exclusive on SOCFPGA. If the EDAC is enabled, it will prevent the platform from going into suspend. Example of how to request to suspend to ram:

[PATCHv6 1/2] ARM: socfpga: support suspend to ram

2015-06-02 Thread Alan Tull
Add code that requests that the sdr controller go into self-refresh mode. This code is run from ocram. Suspend-to-RAM and EDAC support are mutually exclusive on SOCFPGA. If the EDAC is enabled, it will prevent the platform from going into suspend. Example of how to request to suspend to ram: