* [U-Boot] [PATCH v0] davinci: fixed cpu reset
@ 2012-11-21 10:45 Davide Bonfanti
2012-12-10 20:16 ` [U-Boot] [U-Boot,v0] " Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Davide Bonfanti @ 2012-11-21 10:45 UTC (permalink / raw)
To: u-boot
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/arm926ejs/davinci/reset.c b/arch/arm/cpu/arm926ejs/davinci/reset.c
index 968fb03..80f1ce9 100644
--- a/arch/arm/cpu/arm926ejs/davinci/reset.c
+++ b/arch/arm/cpu/arm926ejs/davinci/reset.c
@@ -16,7 +16,7 @@
void reset_cpu(unsigned long a)
{
struct davinci_timer *const wdttimer =
- (struct davinci_timer *)DAVINCI_TIMER1_BASE;
+ (struct davinci_timer *)DAVINCI_WDOG_BASE;
writel(0x08, &wdttimer->tgcr);
writel(readl(&wdttimer->tgcr) | 0x03, &wdttimer->tgcr);
writel(0, &wdttimer->tim12);
--
1.7.9.5
Ce message, ainsi que tous les fichiers joints ? ce message,
peuvent contenir des informations sensibles et/ ou confidentielles
ne devant pas ?tre divulgu?es. Si vous n'?tes pas le destinataire
de ce message (ou que vous recevez ce message par erreur), nous
vous remercions de le notifier imm?diatement ? son exp?diteur, et
de d?truire ce message. Toute copie, divulgation, modification,
utilisation ou diffusion, non autoris?e, directe ou indirecte, de
tout ou partie de ce message, est strictement interdite.
This e-mail, and any document attached hereby, may contain
confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any
unauthorized, direct or indirect, copying, disclosure, distribution
or other use of the material or parts thereof is strictly
forbidden.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [U-Boot,v0] davinci: fixed cpu reset
2012-11-21 10:45 [U-Boot] [PATCH v0] davinci: fixed cpu reset Davide Bonfanti
@ 2012-12-10 20:16 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2012-12-10 20:16 UTC (permalink / raw)
To: u-boot
On Wed, Nov 21, 2012 at 12:45:12AM -0000, Davide Bonfanti wrote:
> 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>
Applied to u-boot-ti/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121210/ffd6ec2b/attachment.pgp>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-10 20:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-21 10:45 [U-Boot] [PATCH v0] davinci: fixed cpu reset Davide Bonfanti
2012-12-10 20:16 ` [U-Boot] [U-Boot,v0] " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox