From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 4 Nov 2014 11:46:43 -0500 Subject: [U-Boot] [U-boot] [Patch 1/2] keystone2: config: restructure handling of default env settings In-Reply-To: <1415112755-3099-2-git-send-email-ivan.khoronzhuk@ti.com> References: <1415112755-3099-1-git-send-email-ivan.khoronzhuk@ti.com> <1415112755-3099-2-git-send-email-ivan.khoronzhuk@ti.com> Message-ID: <20141104164643.GF15133@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Nov 04, 2014 at 04:52:34PM +0200, Ivan Khoronzhuk wrote: > From: Murali Karicheri > > 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 > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: