[U-Boot] [PATCH 0/2] Makefile mkconfig: Ease board name maintenance on shared boards

Tom Rini trini at ti.com
Mon Nov 26 22:13:34 CET 2012


On Sun, Nov 25, 2012 at 12:21:24PM +0100, Henrik Nordstr?m wrote:

> This patch series adds CONFIG_SYS_BOARD_NAME with the boards.cfg board
> name. This differs from the source level board name when multiple boards
> share the same source using parameters set in boards.cfg.
> 
> This is used by the upcoming Allwinner sunxi (A10 & A13) SoC support

In the future, please thread the 0/N to the patch series, thanks.

So the root problem is that you are able to share a good amount of code
between many (but lets just go with a10a and a10b for now) boards and
share a common config file.  When building for a10a in boards.cfg you
do:
a10a ... allwinner_common:PERIPHERALX=A10A,PERIPHERALY=A10A
a10b ... allwinner_common:PERIPHERALX=A10B,PERIPHERALY=A10B

to handle the differences between a10a and a10b.  So, what are you
wanting to save the fact that we built for a10a or a10b for?  Is this
later passed along in the environment for run-time detection?  Is there
no other way to do run-time detection?

-- 
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/a3e39d39/attachment.pgp>


More information about the U-Boot mailing list