diff options
| author | Simon Glass <sjg@chromium.org> | 2011-10-21 18:51:38 +0000 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2011-10-26 21:35:43 +0200 | 
| commit | 1aec244acf9daf0d4dad80fe86b2c2b7404251d6 (patch) | |
| tree | 072eec3dbe5035782067df42b6e7aa449b8b8002 /common/cmd_nvedit.c | |
| parent | 58f317d1823c34b41990f21931d143a6606f5507 (diff) | |
| download | olio-uboot-2014.01-1aec244acf9daf0d4dad80fe86b2c2b7404251d6.tar.xz olio-uboot-2014.01-1aec244acf9daf0d4dad80fe86b2c2b7404251d6.zip | |
tftpput: add save_addr and save_size global variables
We need something akin to load_addr to handle saving data.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_nvedit.c')
| -rw-r--r-- | common/cmd_nvedit.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 4e27ba0b1..396a17135 100644 --- a/common/cmd_nvedit.c +++ b/common/cmd_nvedit.c @@ -79,6 +79,8 @@ SPI_FLASH|MG_DISK|NVRAM|MMC} or CONFIG_ENV_IS_NOWHERE  #define	MAX_ENV_SIZE	(1 << 20)	/* 1 MiB */  ulong load_addr = CONFIG_SYS_LOAD_ADDR;	/* Default Load Address */ +ulong save_addr;			/* Default Save Address */ +ulong save_size;			/* Default Save Size (in bytes) */  /*   * Table with supported baudrates (defined in config_xyz.h) |