From: Steven Scholz <steven.scholz@imc-berlin.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] PATCH: Introducing CONFIG_BOARD_PRE_RESET
Date: Tue, 26 Oct 2004 10:32:18 +0200 [thread overview]
Message-ID: <417E0B92.80700@imc-berlin.de> (raw)
In-Reply-To: <20041026082510.DDBF6C1430@atlas.denx.de>
Wolfgang Denk wrote:
> In message <417DF771.5010904@imc-berlin.de> you wrote:
>
>>Well, it's a bug in the CPU. If the LCDC DMA is running, the cpu won't reboot
>>with a simple "mov pc, r0".
>
>
> Ummm... you don't call this a "reset", do you?
Well that's what is done (work) for most ARM920T... Execeptions are
#ifdef CONFIG_S3C2400
bl disable_interrupts
# ifdef CONFIG_TRAB
bl disable_vfd
# endif
...
BTW cominh to think about it: Does "bl disable_vfd" by any chance disable video
controller for CONFIG_TRAB !?!? ;-)
> In your case, I think you really want to implement a _real_ reset
> function that takes the CPU back into it's virgin state. Is there a
> watchdog on this hardware?
Sure. That means you have board _and_ cpu specific reset code!
Some want to toggle a GPIO pin. Some want to use a cpu watchdog...
So should we move the reset code out of cpu/arm920t/start.S into the brand new
cpu/arm920t/$(SOC)/reset.{S.c} !?
--
Steven Scholz
next prev parent reply other threads:[~2004-10-26 8:32 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-25 14:27 [U-Boot-Users] PATCH: Introducing CONFIG_BOARD_PRE_RESET Steven Scholz
2004-10-25 18:05 ` Wolfgang Denk
2004-10-26 7:06 ` Steven Scholz
2004-10-26 8:25 ` Wolfgang Denk
2004-10-26 8:32 ` Steven Scholz [this message]
2004-10-26 9:14 ` R: " Paolo Broggini
2004-10-28 7:36 ` Steven Scholz
2004-11-23 14:18 ` Steven Scholz
2004-11-23 15:41 ` Wolfgang Denk
2004-11-23 15:48 ` Steven Scholz
2004-11-23 16:47 ` Wolfgang Denk
2004-11-23 16:54 ` Steven Scholz
2004-11-23 17:20 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2004-10-25 14:36 VanBaren, Gerald
2004-10-25 14:39 ` Steven Scholz
2004-10-25 14:46 VanBaren, Gerald
2004-10-25 15:12 ` Steven Scholz
2004-10-25 18:01 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=417E0B92.80700@imc-berlin.de \
--to=steven.scholz@imc-berlin.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox