Add support for loading and saving the environment to a FAT partition
authorMaximilian Schwerin <mvs@tigris.de>
Mon, 12 Mar 2012 23:57:50 +0000 (23:57 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 30 Mar 2012 20:38:14 +0000 (22:38 +0200)
commit57210c7cc363cf2a2a28010658c7ea67388f8d21
tree51d157bd08d085834fc4f4d6c09ebf4c2c452946
parent9b96c6b11fac3d7bcd5f9cb4d2868d06500e28db
Add support for loading and saving the environment to a FAT partition

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.

Author:    Maximilian Schwerin <mvs@tigris.de>

Removed dead DEBUG comment.
Signed-off-by: Wolfgang Denk <wd@denx.de>
common/Makefile
common/cmd_nvedit.c
common/env_fat.c [new file with mode: 0644]