[U-Boot] [PATCH 2/2] Add support for loading and saving the environment to a FAT partition

Wolfgang Denk wd at denx.de
Fri Mar 30 22:40:25 CEST 2012


Dear Maximilian Schwerin,

In message <1331632670-14874-2-git-send-email-mvs at tigris.de> you wrote:
> The following must be defined:
> 
> CONFIG_ENV_IS_IN_FAT
> 	Enable this saving environment to FAT.
> 
> FAT_ENV_INTERFACE
> 	Interface the FAT resides on (e.g. mmc).
> 
> FAT_ENV_DEVICE
> 	The interface device number (e.g. 0 for mmc0)
> 
> FAT_ENV_PART
> 	The device part (e.g. 1 for mmc0:1)
> 
> FAT_ENV_FILE
> 	The filename of the environment file.
> ---
>  common/Makefile     |    1 +
>  common/cmd_nvedit.c |    3 +-
>  common/env_fat.c    |  158 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 161 insertions(+), 1 deletions(-)
>  create mode 100644 common/env_fat.c

Applied, thanks.

As your SoB was missing, I signed it.  I also removed the dead
"/* #define DEBUG */" line.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
PUBLIC NOTICE AS REQUIRED BY LAW:  Any Use of This  Product,  in  Any
Manner  Whatsoever,  Will  Increase  the  Amount  of  Disorder in the
Universe. Although No Liability Is Implied Herein,  the  Consumer  Is
Warned  That  This  Process Will Ultimately Lead to the Heat Death of
the Universe.


More information about the U-Boot mailing list