From mboxrd@z Thu Jan 1 00:00:00 1970 From: nicolas.ferre@atmel.com (Nicolas Ferre) Date: Thu, 14 Oct 2010 15:34:52 +0200 Subject: [PATCH] Fix AT91SAM9G20 reset In-Reply-To: <20100528153725.GA5102@axolotl.localnet> References: <20100528153725.GA5102@axolotl.localnet> Message-ID: <4CB706FC.3000308@atmel.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Le 28/05/2010 17:37, Peter Horton : > Fix AT91SAM9G20 as per the errata in the datasheet. > > If the SDRAM is not cleanly shutdown before reset it can be left driving > the bus, which then stops the bootloader booting from NAND. > > Signed-off-by: Peter Horton Thanks a lot for writing this patch. I am in the process of reviewing it and extending it to other processors. [..] > --- /dev/null 1970-01-01 00:00:00.000000000 +0000 > +++ linux-2.6.32/arch/arm/mach-at91/at91sam9g20_reset.S 2009-12-09 13:33:28.000000000 +0000 > @@ -0,0 +1,52 @@ > +/* > + * (C) BitBox Ltd 2010 > + * > + * reset AT91SAM9G20 as per errata > + * > + * 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 Can I add License sentence to this file? Like this one: * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. Best regards, -- Nicolas Ferre