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: Mon, 25 Oct 2004 17:12:38 +0200 [thread overview]
Message-ID: <417D17E6.90501@imc-berlin.de> (raw)
In-Reply-To: <065ACD8E84315E4394C835E398C8D5EB90F44D@COSSMGMBX02.email.corp.tld>
Hi Gerald,
>>Do you see any problems without #ifdef ?
>
> The reason I suggested the #ifdef is because the actual code
> implementation is surrounded by the #ifdef so, if you don't have
> CONFIG_BOARD_PRE_RESET defined, you will have a declaration of
> board_pre_reset() but no code implementing it.
This is how it's done all over the U-Boot source code.
So I take it for some kind of "coding style" ... ;-)
Steven
next prev parent reply other threads:[~2004-10-25 15:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-25 14:46 [U-Boot-Users] PATCH: Introducing CONFIG_BOARD_PRE_RESET VanBaren, Gerald
2004-10-25 15:02 ` [U-Boot-Users] PPC as host Richard Klingler
2004-10-25 17:57 ` Wolfgang Denk
2004-10-25 15:12 ` Steven Scholz [this message]
2004-10-25 18:01 ` [U-Boot-Users] PATCH: Introducing CONFIG_BOARD_PRE_RESET 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:27 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-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
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=417D17E6.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