All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] ppc4xx: Add GDsys CompactCenter board support.
Date: Mon, 13 Jul 2009 15:56:04 +0200	[thread overview]
Message-ID: <200907131556.04554.sr@denx.de> (raw)
In-Reply-To: <4A5B3A61.10408@embedded-sol.com>

On Monday 13 July 2009 15:45:05 Felix Radensky wrote:
> The bootstrap.c file is the same as for Canyonlands. Maybe it makes
> sense to share it between all 460EX boards, by moving it to some
> common location. Stefan, what do you think ?

I'm not so sure here. Even if those settings might work on most 460EX/GT 
boards, some custom boards might need different PLL configurations (e.g. 
different EBC frequency). So it's really more board specific stuff than 
platform specific and we would end up with multiple "#ifdef's" in this file.

Perhaps it would be doable to extract the board specific stuff into some board 
file and use common code for the real command and I2C-EEPROM handling. We 
could move these declarations into the board specific file:

> +static char *config_labels[] = {
> ...
> +};
> +
> +static u8 boot_configs[][17] = {
> ...

And the rest into a common file. What do you think? Dirk, are you willing to 
work on this?

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2009-07-13 13:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-13  9:28 [U-Boot] [PATCH v3] ppc4xx: Add GDsys CompactCenter board support Dirk Eibach
2009-07-13  9:40 ` Stefan Roese
2009-07-13 13:45 ` Felix Radensky
2009-07-13 13:56   ` Stefan Roese [this message]
2009-07-13 14:07     ` Eibach, Dirk
2009-07-13 14:21       ` Stefan Roese
2009-07-13 14:28         ` Eibach, Dirk
2009-07-13 14:45           ` Stefan Roese
2009-07-14  9:19             ` Eibach, Dirk
2009-07-14  9:25               ` Stefan Roese
2009-07-14 12:31                 ` Eibach, Dirk
2009-07-14 12:38                   ` Stefan Roese

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=200907131556.04554.sr@denx.de \
    --to=sr@denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.