From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Scholz Date: Mon, 25 Oct 2004 17:12:38 +0200 Subject: [U-Boot-Users] PATCH: Introducing CONFIG_BOARD_PRE_RESET In-Reply-To: <065ACD8E84315E4394C835E398C8D5EB90F44D@COSSMGMBX02.email.corp.tld> References: <065ACD8E84315E4394C835E398C8D5EB90F44D@COSSMGMBX02.email.corp.tld> Message-ID: <417D17E6.90501@imc-berlin.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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