[U-Boot] [PATCH V3 1/4] README: document CONFIG_ENV_IS_IN_MMC
Peter Korsgaard
jacmet at sunsite.dk
Thu May 23 23:59:04 CEST 2013
>>>>> "S" == Stephen Warren <swarren at wwwdotorg.org> writes:
S> From: Stephen Warren <swarren at nvidia.com>
S> Describe the meaning of CONFIG_ENV_IS_IN_MMC, and all related defines that
S> must or can be set when using that option.
S> Signed-off-by: Stephen Warren <swarren at nvidia.com>
S> ---
S> v3:
S> * Mention that env size/offset are in bytes.
S> * Fix typo; s/CONFIG_ENV_OFFSET/CONFIG_ENV_SIZE/ in one place.
S> v2: New patch.
S> ---
S> README | 40 ++++++++++++++++++++++++++++++++++++++++
S> 1 file changed, 40 insertions(+)
S> diff --git a/README b/README
S> index 3012dcd..e7fedb8 100644
S> --- a/README
S> +++ b/README
S> @@ -3606,6 +3606,46 @@ but it can not erase, write this NOR flash by SRIO or PCIE interface.
S> You will probably want to define these to avoid a really noisy system
S> when storing the env in UBI.
S> +- CONFIG_ENV_IS_IN_MMC:
S> +
S> + Define this if you have an MMC device which you want to use for the
S> + environment.
S> +
S> + - CONFIG_SYS_MMC_ENV_DEV:
S> +
S> + Specifies which MMC device the environment is stored in.
S> +
S> + - CONFIG_SYS_MMC_ENV_PART (optional):
S> +
S> + Specifies which MMC partition the environment is stored in. If not
S> + set, defaults to partition 0, the user area. Common values might be
S> + 1 (first MMC boot partition), 2 (second MMC boot partition).
S> +
S> + - CONFIG_ENV_OFFSET:
S> + - CONFIG_ENV_SIZE:
S> +
S> + These two #defines specify the offset and size of the environment
S> + area within the specified MMC device.
S> +
S> + These two values are in units of bytes, but must be aligned to an
S> + MMC sector boundary.
s/to an/t a/
Other than that:
Reviewed-by: Peter Korsgaard <jacmet at sunsite.dk>
--
Bye, Peter Korsgaard
More information about the U-Boot
mailing list