at91sam9260/9263: add back up for the rst(reset controller).
authorSedji Gaouaou <sedji.gaouaou@atmel.com>
Wed, 24 Jun 2009 06:32:09 +0000 (08:32 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Mon, 6 Jul 2009 19:50:09 +0000 (21:50 +0200)
commit0aafde1dc76d6d65d6be10bf499ec86d9ffee8b9
treef2b006c740f5e4af2469cefd81a58a730b46e530
parent5710de45808eb8f1cc34b51dc3e67e2422113249
at91sam9260/9263: add back up for the rst(reset controller).

On the boards at91sam9260ek, at91sam9263ek and afed9260, the rstc register was
set to 0 after being set to 500 ms for the PHY reset.
Do backup the old reset length and restore it after the MACB initialisation.

Signed-off-by: Sedji Gaouaou <sedji.gaouaou@atmel.com>
Signed-off-by: Stelian Pop <stelian@popies.net>
board/afeb9260/afeb9260.c
board/atmel/at91sam9260ek/at91sam9260ek.c
board/atmel/at91sam9263ek/at91sam9263ek.c