public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Kim Phillips <kim.phillips@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Add support for the MPC8349E-mITX-GP
Date: Fri, 26 Jan 2007 11:19:17 -0600	[thread overview]
Message-ID: <20070126111917.50cf05ed.kim.phillips@freescale.com> (raw)
In-Reply-To: <20070126094654.78920353CC1@atlas.denx.de>

On Fri, 26 Jan 2007 10:46:54 +0100
Wolfgang Denk <wd@denx.de> wrote:

> In message <BB798853-8000-4747-A6BD-26E5E71AD80B@kernel.crashing.org> you wrote:
> > 
> > Since they are different physical boards they should have different  
> > <config>.h, that rule's been pretty standard in u-boot.
> 
> No, not at all. We have many similar boards share  one  configuration
> file  -  especially  in  the  case  of  modules  that  can be used on
> different carrier boards.
> 
I didn't see any that had the same config behaviour as this patch does (ifdeffing itself). In any case, the ITX and ITX-GP do not have any modular properties.  Plus, there are more similarly 'fixed' boards coming that are similar, but in different ways, to the ITX and the ITX-GP.

My reluctance is stemmed from the prediction of the growing number of ifdefs in the config file.  Perhaps the best thing to do here is have the main config file have a single set of ifdefs for each individual board, and include that board's delta config from a sub-board config file.  All common elements remain in the main config file, and if a board define is not matched, #error out.

Kim

  reply	other threads:[~2007-01-26 17:19 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-17 15:09 [U-Boot-Users] [PATCH] Add support for the MPC8349E-mITX-GP timur at freescale.com
2007-01-26  1:17 ` Kim Phillips
2007-01-26  4:41   ` Timur Tabi
2007-01-26  5:57     ` Kumar Gala
2007-01-26  9:46       ` Wolfgang Denk
2007-01-26 17:19         ` Kim Phillips [this message]
2007-01-26 17:38           ` Timur Tabi
2007-01-26 21:17             ` Wolfgang Denk
2007-01-26 21:24               ` Timur Tabi
2007-01-26 21:46                 ` Wolfgang Denk
2007-01-26 21:49                   ` Timur Tabi
2007-01-27  0:37                     ` Wolfgang Denk
2007-01-29 10:07             ` Stefan Roese
2007-01-26 21:11           ` Wolfgang Denk
2007-01-26  9:42     ` Wolfgang Denk
2007-01-26 14:45       ` Timur Tabi
2007-01-26 14:58         ` Wolfgang Denk
2007-01-26 15:03           ` Timur Tabi
2007-01-26 15:37             ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2007-01-31 21:54 Timur Tabi

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=20070126111917.50cf05ed.kim.phillips@freescale.com \
    --to=kim.phillips@freescale.com \
    --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