ARM: at91: Fix at91sam9g45 and at91cap9 reset
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 17 Nov 2011 17:41:28 +0000 (01:41 +0800)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 20 Jan 2012 16:22:50 +0000 (17:22 +0100)
commit14f991a730f453a1c8f114ccb686f83e158fdd92
treecebc0df6224f92f7e554b96bad2daf7e4fe13a64
parente9f68b5cc6160a473fc668054fd13f435fd4508b
ARM: at91: Fix at91sam9g45 and at91cap9 reset

As on the other sam9 we need to cleanly shutdown the DDRAM before rebooting.

On those SoC the SDRAM/DDRAM controller is different. So, the assembly code
ends up being not cleanly combined with previous at91sam9_alt_restart function.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/Kconfig
arch/arm/mach-at91/Makefile
arch/arm/mach-at91/at91cap9.c
arch/arm/mach-at91/at91sam9g45.c
arch/arm/mach-at91/at91sam9g45_reset.S [new file with mode: 0644]
arch/arm/mach-at91/generic.h