From: Tom Rini Date: Sun, 4 Nov 2012 11:29:21 -0700 Subject: [U-Boot] [PATCH] Add board_name to CONFIG_ENV_VARS_UBOOT_CONFIG In-Reply-To: References: <1351718248-781-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <20121104182921.GF15839@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 Wed, Oct 31, 2012 at 04:23:27PM -0500, Joe Hershberger wrote: > Hi Stephen, > > On Wed, Oct 31, 2012 at 4:17 PM, Stephen Warren wrote: > > From: Stephen Warren > > > > CONFIG_ENV_VARS_UBOOT_CONFIG creates environment variables indicating > > which configuration U-Boot was built for. Some U-Boot binaries run on > > multiple boards, and hence this information may not uniquley describe > > the HW that U-Boot is actually running on. Another patch introduces > > environment variable board_name to represent that. In order to avoid > > scripts having to check $board_name, use it if set, and then fall back > > to using $board, make CONFIG_ENV_VARS_UBOOT_CONFIG also set a default > > value for board_name, so that variable is always available. > > > > Signed-off-by: Stephen Warren > > --- > > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: