diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-06-11 15:14:02 -0600 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-06-13 16:52:20 -0500 |
commit | 5c088ee841f9c660a3e62887e7b8623fc15dcd68 (patch) | |
tree | f2cf7e6bb7e0a66b7b3959ec3fd792c85b8dd2b7 /common/cmd_mdio.c | |
parent | f866a46d6ee86335f60c542e294ec2c01d689eba (diff) | |
download | u-boot-imx-5c088ee841f9c660a3e62887e7b8623fc15dcd68.zip u-boot-imx-5c088ee841f9c660a3e62887e7b8623fc15dcd68.tar.gz u-boot-imx-5c088ee841f9c660a3e62887e7b8623fc15dcd68.tar.bz2 |
env_mmc: allow negative CONFIG_ENV_OFFSET
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@nvidia.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'common/cmd_mdio.c')
0 files changed, 0 insertions, 0 deletions