[U-Boot] [U-Boot, V3, REPOST, 3/4] env_mmc: allow negative CONFIG_ENV_OFFSET

Andy Fleming afleming at right.am.freescale.net
Fri Jun 14 20:55:51 CEST 2013


On Tue, Jun 11, 2013 at 03:14:02PM -0600, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
> 
> 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 <swarren at nvidia.com>

Applied, Thanks!

Andy




More information about the U-Boot mailing list