public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peter Tyser <ptyser@xes-inc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [STATUS] Heads-up: Reorganize directory structure
Date: Thu, 15 Apr 2010 17:44:22 -0500	[thread overview]
Message-ID: <1271371462.6519.298.camel@localhost.localdomain> (raw)
In-Reply-To: <20100415175845.GA2680@morgana.gnudd.com>

Hi Alessandro,

<snip>

> > How does putting boards in their appropriate CPU directory make
> > your coding any easier?
> 
> Because if all boars with the same SoC are in the same directory they
> can share source files.

But boards don't need to be in the same directory to share the same
source files.  You could pull out common code to arch/arm/cpu/* or
arch/arm/lib right now if you wanted, but that is the case whether the
board directories were in board/... or arch/....

> In my example, st/nhk8815 and calao/usb-s8815
> had several files replicated -- so Wolfgang rejected the patch.  But
> in a vendor-based structure I won't merge in a single board dir boards
> from two different vendors. Same will happen for dave/zefeer where a
> lot is in commong with edb93xx.

Could you give a specific example of how you'd like to final
directory/file structure to look like?  eg where would the code common
to the nhk8815 and usb-s8815 be located?  What would the file(s) be
named?  And how would the issue of vendors like Freescale which support
multiple architectures and share code between them be supported?

<snip>

> thanks for your patience

Likewise:)

Peter

  reply	other threads:[~2010-04-15 22:44 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-13  9:23 [U-Boot] [STATUS] Heads-up: Reorganize directory structure Wolfgang Denk
2010-04-13 16:49 ` Ben Warren
2010-04-13 17:28   ` Stefano Babic
2010-04-13 17:29     ` Ben Warren
2010-04-13 19:24       ` Wolfgang Denk
2010-04-13 20:32         ` Remy Bohmer
2010-04-13 21:01           ` Wolfgang Denk
2010-04-13 19:22   ` Wolfgang Denk
2010-04-13 18:55 ` Remy Bohmer
2010-04-13 19:47 ` Jerry Van baren
2010-04-15  7:05 ` Michal Simek
2010-04-15  7:52   ` Wolfgang Denk
2010-04-15 15:04     ` Peter Tyser
2010-04-15 15:22       ` Wolfgang Denk
2010-04-15 15:31         ` Alessandro Rubini
2010-04-15 15:58           ` Peter Tyser
2010-04-15 17:58             ` Alessandro Rubini
2010-04-15 22:44               ` Peter Tyser [this message]
2010-04-16  2:42             ` Graeme Russ
2010-04-16  6:58               ` Alessandro Rubini
2010-04-16  7:50                 ` Wolfgang Denk
2010-04-16  7:41               ` Wolfgang Denk
2010-04-16 11:45                 ` Graeme Russ
2010-04-16 13:23                   ` Wolfgang Denk
2010-04-15 23:14           ` Wolfgang Denk
2010-04-17  8:25 ` Graeme Russ

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=1271371462.6519.298.camel@localhost.localdomain \
    --to=ptyser@xes-inc.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