Re: [PATCH 5/8] power: reset: at91-reset: use at91_ramc_shutdown

2014-10-22 Thread Alexandre Belloni
On 22/10/2014 at 09:08:10 +0200, Thomas Petazzoni wrote : > Dear Alexandre Belloni, > > On Tue, 21 Oct 2014 23:55:37 +0200, Alexandre Belloni wrote: > > > /* > > * unless the SDRAM is cleanly shutdown before we hit the > > * reset register it can be left driving the data bus and > > * killing

Re: [PATCH 5/8] power: reset: at91-reset: use at91_ramc_shutdown

2014-10-22 Thread Thomas Petazzoni
Dear Alexandre Belloni, On Tue, 21 Oct 2014 23:55:37 +0200, Alexandre Belloni wrote: > /* > * unless the SDRAM is cleanly shutdown before we hit the > * reset register it can be left driving the data bus and > * killing the chance of a subsequent boot from NAND > */ > -static void at91sam926

[PATCH 5/8] power: reset: at91-reset: use at91_ramc_shutdown

2014-10-21 Thread Alexandre Belloni
Now that all SoCs are registering the atmel-sdramc driver, use the at91_ramc_shutdown() function to shutdown the sdram. Signed-off-by: Alexandre Belloni --- drivers/power/reset/at91-reset.c | 116 +-- 1 file changed, 14 insertions(+), 102 deletions(-) diff --