[U-Boot] [U-Boot, U-boot, 1/2] keystone2: config: restructure handling of default env settings
Tom Rini
trini at ti.com
Wed Nov 5 22:32:39 CET 2014
On Tue, Nov 04, 2014 at 04:52:34PM +0200, Khoronzhuk, Ivan wrote:
> From: Murali Karicheri <m-karicheri2 at ti.com>
>
> Currently to customize env for various ks2 boards, individual
> variables such as NAME_FS etc are defined and included in the
> common config.h to define CONFIG_EXTRA_ENV_SETTINGS. This
> doesn't scale well if a variable is not applicable on a
> specific board. Using this scheme, we have to define variables
> with empty value and it's ugly. Instead, to allow board specific
> customization of default env variable, define a common
> CONFIG_EXTRA_ENV_KS2_SETTINGS for all common variables and define
> board specific variables in individual board specific config.h
> using CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS. Use the common and board
> specific variables to define CONFIG_EXTRA_ENV_SETTINGS. This way
> more variables can be added in future for individual boards
> without affecting the other config.h files.
>
> Signed-off-by: Murali Karicheri <m-karicheri2 at ti.com>
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk at ti.com>
> Reviewed-by: Tom Rini <trini at ti.com>
Applied to u-boot-ti/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141105/beb377d2/attachment.pgp>
More information about the U-Boot
mailing list