AT91: reset routine cleanup, remove not needed icache flush
commit1345562b449e95e2098cc60eb0eed6d2415cd0b0
authorNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 14 Oct 2010 15:19:11 +0000 (14 17:19 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 26 Oct 2010 09:32:48 +0000 (26 11:32 +0200)
tree030983c78b1c1472765047f262b9533ae2060098
parentef4d63e6f51d9669e247c47b670a83511b98eb68
AT91: reset routine cleanup, remove not needed icache flush

Generalize assembler reset routine to allow use on several at91sam9 chips.
This patch replace double definitions of SDRAM controller registers and RSTC
registers with use of classical header files.

For this rework, we remove the not needed icache flush as it is already
done in the calling function: arm_machine_restart().

Rename at91sam9g20_reset.S to generalize to several chips.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/Makefile
arch/arm/mach-at91/at91sam9260.c
arch/arm/mach-at91/at91sam9_alt_reset.S [new file with mode: 0644]
arch/arm/mach-at91/at91sam9g20_reset.S [deleted file]