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, 23 Nov 2004 16:48:14 +0100 [thread overview]
Message-ID: <41A35BBE.90501@imc-berlin.de> (raw)
In-Reply-To: <20041123154149.E8E49C1430@atlas.denx.de>
Wolfgang Denk wrote:
> In message <41A346BD.2060207@imc-berlin.de> you wrote:
>
>>>* Patch by Steven Scholz, 25 Oct 2004:
>>> - Introducing CONFIG_BOARD_PRE_RESET and board_pre_reset() to allow
>>> code to be executed before actually rebooting
>>
>>any new opinions on this topic?
>
>
> No.
>
> [Actually I think that it might make sense to perform certain cleanup
> operations in case of an orderly reboot; on the other hand the reboot
> code _must_not_ depend on such cleanup. In your case there seems to
> be such a dependency. I'd rather see that you fix the reset code
> first, and then (if there is still need for it) we might allow for
> pre-reset cleanup functions.]
But as I pointed out apparently other boards need something like that too:
.globl reset_cpu
reset_cpu:
...
# ifdef CONFIG_TRAB
bl disable_vfd
# endif
So reset is cpu (better SoC) specific and might even be board specific.
Of coures we can clobber cpu/arm920t/start.S with reset code for every cpu, SoC
and board ... adding loads of nice #ifdef's ;-)
--
Steven
next prev parent reply other threads:[~2004-11-23 15:48 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
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 [this message]
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=41A35BBE.90501@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