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 10:58:19 -0500 [thread overview]
Message-ID: <1271347099.6519.18.camel@localhost.localdomain> (raw)
In-Reply-To: <20100415153127.GA628@morgana.gnudd.com>
Hi Alessandro,
On Thu, 2010-04-15 at 17:31 +0200, Alessandro Rubini wrote:
> I can see how it'd be
> >> nice to split up boards into CPU directories, but we'd have to discuss
> >> some of the warts, like where vendor-specific code would be located if
> >> we went down that path.
> >
> > Right. I can see arguments pro and con each of the approaches, and I
> > must admit that I have no telling argument for either.
> >
> > My gut feeling is that I like the existing board/ approach better, but
> > I'm open to arguments.
>
> Here a pair of arguments...
>
> Most boards are very similar to the original evaluation kit. For
> example, within Nomadik, code for the Calao USB-S8815 is not much
> different from code for the NHK8815 evaluation board. But Wolfgang
> refused my patch as the files are very similar; I asked how to
> proceed, with no reply so far. Note that both board/calao and
> board/st exist (board/st only has 1 board, though).
>
> Similarly, I'm working on a dave-tech.eu board series based on
> ep9302-ep9315. board/edb93xx exists but "edb" is the evaluation
> board; mine should be board/dave/zefeer (board/dave already exists),
> though very similar to edb93xx code.
>
> Hope these are arguments WD would consider. Moreover, vendors switch
> names often, cpu families do it rarely.
I don't follow either argument, or the name-switching argument... How
does putting boards in their appropriate CPU directory make your coding
any easier? And why does vendors switching names make a difference?
My understanding is that currently we have:
board/
$VENDOR/
$BOARDA
$BOARDB
Putting boards in CPU directories would result in something like:
arch/
$ARCH/
cpu/
$CPU/
board/
$BOARDA
$BOARDB
So the contents of $BOARDA directory are nearly identical whether its
located in board/... or arch/..., right? I thought we were only talking
about organizational changes. Are you talking about combining multiple
vendor's code into 1 file, as well as restructuring directories? Maybe
an explanation of what you're envisioning would help.
Best,
Peter
next prev parent reply other threads:[~2010-04-15 15:58 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 [this message]
2010-04-15 17:58 ` Alessandro Rubini
2010-04-15 22:44 ` Peter Tyser
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=1271347099.6519.18.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