]> git.baikalelectronics.ru Git - kernel.git/commit
AT91: reset routine cleanup, remove not needed icache flush
authorNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 14 Oct 2010 15:19:11 +0000 (17:19 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 26 Oct 2010 09:32:48 +0000 (11:32 +0200)
commit25c984abcab590bdf14b3dcd9d43e3c46bd95778
tree030983c78b1c1472765047f262b9533ae2060098
parentff5190c5c42b4880fea1f09bc37fcbdf2bcffddb
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]