[U-Boot] wanting a couple clarifications on the boards.cfg file

Henrik Nordström henrik at henriknordstrom.net
Mon Nov 12 22:20:24 CET 2012


mån 2012-11-12 klockan 12:43 -0500 skrev Robert P. J. Day:
>   after some playing around, i think i have a pretty good handle on
> the structure and usage of the boards.cfg file, except for what are
> apparently some oddities (not errors, just redundancies in some
> sense).
> 
>   first, with lines like this:
> 
> apx4devkit                   arm         arm926ejs   apx4devkit          bluegiga       mxs             apx4devkit
> m28evk                       arm         arm926ejs   m28evk              denx           mxs             m28evk
> mx28evk                      arm         arm926ejs   mx28evk             freescale      mxs             mx28evk
> 
> that last field would seem to be redundant, since the default value is
> just the name of the first (target) field, correct?

It can be different.

Does not need to be specified when it's the same.

>   also odd is something like this:
> 
> mx31ads                      arm         arm1136     -                   freescale      mx31
> mx31pdk                      arm         arm1136     -                   freescale      mx31         mx31pdk:NAND_U_BOOT
> 
>   given that nothing else in the entire file refers to mx31pdk, it
> seems overly complicated for mx31pdk to refer to its own config file,
> only to add a preprocessor definition.

Yes, but syntax do not allow specifying defines without a config name I
think.

Regards
Henrik



More information about the U-Boot mailing list