[U-Boot] [PATCH 1/2] mkconfig: Make CONFIG_SYS_BOARD_NAME default to the configured target name

Tom Rini trini at ti.com
Mon Nov 26 22:05:56 CET 2012


On Mon, Nov 26, 2012 at 10:32:41AM +0100, Wolfgang Denk wrote:
> Dear Henrik Nordstr??m,
> 
> In message <1353918095.10834.9.camel at home.hno.se> you wrote:
> > s??n 2012-11-25 klockan 21:01 +0100 skrev Wolfgang Denk:
> > 
> > > I think you should avoid doing that.  It's ugly, and I see no real
> > > advantages for it.
> > 
> > Avoid using the same board config file for multiple boards even when
> > they differ only in one config parameter or in the SoC model mounted on
> > the board?
> 
> No.  Avoid introducing yet another CONFIG_SYS_*_NAME.

I think part of the solution is that in the environment now we have
board_name for the unique run-time-determined board we are on (which
defaults to CONFIG_SYS_BOARD).  In each of these Allwiner SoCs do we
have the ability to tell at run-time what we are on, or only build-time?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121126/2dcf4c9a/attachment.pgp>


More information about the U-Boot mailing list