davinci: fixed cpu reset
authorDavide Bonfanti <davide.bonfanti@bticino.it>
Wed, 21 Nov 2012 00:45:12 +0000 (00:45 +0000)
committerTom Rini <trini@ti.com>
Mon, 10 Dec 2012 15:56:38 +0000 (08:56 -0700)
commit21f11c7b492794a4a0f69b95854043df9ea46b72
tree07c4f2d868d11ad6df09f9c826f3a971fa454da6
parentcc1182beea3712c948dd91d3877cacbbdab3d6ae
davinci: fixed cpu reset

The reset procedure works on watchdog timer while before it was modifying
TIMER_1 registers.
Tested on DM365.

Signed-off-by: Davide Bonfanti <davide.bonfanti@bticino.it>
arch/arm/cpu/arm926ejs/davinci/reset.c