public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tolunay Orkun <listmember@orkun.us>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Breakage of board ports on new features.
Date: Mon, 04 Dec 2006 19:13:23 -0600	[thread overview]
Message-ID: <4574C7B3.6010607@orkun.us> (raw)
In-Reply-To: <CF30C9C8-91A6-4A6F-9F08-F1DB3885002C@kernel.crashing.org>

Kumar Gala wrote:
> On Dec 4, 2006, at 5:20 PM, Timur Tabi wrote:
> 
>> Wolfgang Denk wrote:
>>
>>> Are you absolutely sure we will *never* want to make a difference
>>> between a MPC8349 and any other type of MPC834x?
>>> What is the exact problem you're addressing?
>> I think Kumar's point is that the code that's correctly marked with  
>> CONFIG_MPC8349 is not 8349-specific.  It's 834x-specific, and there  
>> already is a macro for 834x.  If someone were to add support for an  
>> 8343 or 8347, they would need to apply Kumar's patch anyway.
>>
>> *IF* some of this code is really 8349-specific, then the person  
>> adding support for the 8343 or 8347 would need to modify this code  
>> again.  However, I don't think that's going to happen.
> 
> This is exactly what I'm saying.  The CONFIG_MPC8349 was too specific  
> and really meant CONFIG_MPC834X and thus I changed it.  If/when  
> someone's got something that is MPC8349 specific they can re- 
> introduce CONFIG_MPC8349.

The AMCC 4XX based boards we define CONFIG_PPC4XX (for the family) as well 
as CONFIG_PPC405GP (for example) for specific processor support. The X'd 
version is used to enable common code while the specific version is used 
whenever divergences exist from the common code. Right now there might not 
be a specific difference from MPC8349 code but it might be good to define 
both MPC8349 and MPC834X for sake of consistency and for future proofing. 
Without defining the specific version when it is time to introduce that 
divergence you would wonder what boards were using the MPC8349 and what not 
(unless the board name gives it away).

Tolunay

  reply	other threads:[~2006-12-05  1:13 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-02 22:08 [U-Boot-Users] Breakage of board ports on new features Pantelis Antoniou
2006-12-02 23:42 ` Wolfgang Denk
2006-12-04 17:32   ` Kumar Gala
2006-12-04 17:54     ` Timur Tabi
2006-12-04 18:40       ` Kumar Gala
2006-12-04 23:09         ` Wolfgang Denk
2006-12-04 23:20           ` Timur Tabi
2006-12-04 23:33             ` Kumar Gala
2006-12-05  1:13               ` Tolunay Orkun [this message]
2006-12-05  2:10                 ` Kumar Gala
2006-12-05  5:15                   ` Tolunay Orkun
2006-12-05  5:32                     ` Wolfgang Denk
2006-12-05 14:23                       ` Kumar Gala
2006-12-05 15:35                         ` Wolfgang Denk
2006-12-05 16:15                           ` Kumar Gala
2006-12-05 16:57                             ` Wolfgang Denk
2006-12-05 17:42                               ` Kumar Gala
2006-12-05 17:44                                 ` Timur Tabi
2006-12-05 21:35                                 ` Wolfgang Denk
2006-12-05 21:50                                   ` Kumar Gala
2006-12-05 16:36                     ` Timur Tabi
2006-12-04 23:08       ` Wolfgang Denk
2006-12-04 16:14 ` 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=4574C7B3.6010607@orkun.us \
    --to=listmember@orkun.us \
    --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