From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] mkconfig: Make CONFIG_SYS_BOARD_NAME default to the configured target name
Date: Sun, 25 Nov 2012 21:01:08 +0100 [thread overview]
Message-ID: <20121125200108.8726D20105B@gemini.denx.de> (raw)
In-Reply-To: <1353866129.28559.50.camel@home.hno.se>
Dear Henrik Nordstr?m,
In message <1353866129.28559.50.camel@home.hno.se> you wrote:
>
> > I don't see what the difference is between CONFIG_SYS_BOARD (which is
> > the board name) and CONFIG_SYS_BOARD_NAME ?
>
> CONFIG_SYS_BOARD is the board config name, which may differ from the
> board name given to make.
>
> CONFIG_SYS_BOARD_NAME is set to the name in boards.cfg.
>
> To illustrate using existing boards in boards.cfg look at for example
> the spear boards.
>
> spear300 arm arm926ejs spear300 spear spear spear3xx_evb:spear300
> spear300_nand arm arm926ejs spear300 spear spear spear3xx_evb:spear300,nand
> [...]
> spear320_usbtty_nand arm arm926ejs spear320 spear spear spear3xx_evb:spear320,usbtty,nand
>
>
> CONFIG_SYS_BOARD is spear3xx_evb on all 16 of these as they are the same "board" with only different CONFIG_.. parameters set via boards.cfg.
>
> CONFIG_SYS_BOARD_NAME is the first column, unique on each.
I think you should avoid doing that. It's ugly, and I see no real
advantages for it.
> > In any case, documentation for CONFIG_SYS_BOARD_NAME is missing.
>
> This should go in README?
Yes.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Microsoft Compatibility:
your old Windows 3.11 application crash exactly as the new ones.
next prev parent reply other threads:[~2012-11-25 20:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-25 11:22 [U-Boot] [PATCH 1/2] mkconfig: Make CONFIG_SYS_BOARD_NAME default to the configured target name Henrik Nordström
2012-11-25 17:43 ` Wolfgang Denk
2012-11-25 17:55 ` Henrik Nordström
2012-11-25 20:01 ` Wolfgang Denk [this message]
2012-11-26 8:21 ` Henrik Nordström
2012-11-26 9:32 ` Wolfgang Denk
2012-11-26 21:05 ` Tom Rini
2012-11-26 21:41 ` Henrik Nordström
2012-11-26 21:51 ` Tom Rini
2012-11-26 22:01 ` Henrik Nordström
2012-11-27 14:53 ` Tom Rini
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=20121125200108.8726D20105B@gemini.denx.de \
--to=wd@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.