From: Andy Fleming Date: Fri, 14 Jun 2013 13:55:51 -0500 Subject: [U-Boot] [U-Boot, V3, REPOST, 3/4] env_mmc: allow negative CONFIG_ENV_OFFSET In-Reply-To: <1370985243-12835-3-git-send-email-swarren@wwwdotorg.org> References: <1370985243-12835-3-git-send-email-swarren@wwwdotorg.org> Message-ID: <20130614185551.GI29946@right.am.freescale.net> 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, Jun 11, 2013 at 03:14:02PM -0600, Stephen Warren wrote: > From: Stephen Warren > > A negative value of CONFIG_ENV_OFFSET is treated as a backwards offset > from the end of the eMMC device/partition, rather than a forwards offset > from the start. > > This is useful when a single board may be stuffed with different eMMC > devices, each of which has a different capacity, and you always want the > environment to be stored at the very end of the device (or eMMC boot > partition for example). > > One example of this case is NVIDIA's Ventana reference board. > > Signed-off-by: Stephen Warren Applied, Thanks! Andy