commit | 45cdb5f4e6dcc91feae4e98581c1ab8d8bdc9122 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Fri May 02 18:17:50 2008 -0400 |
committer | Wolfgang Denk <wd@denx.de> | Sun May 04 00:22:45 2008 +0200 |
tree | 2273b187b87f290e9ce020111f74aaaa65d9f04d | |
parent | 75d807fff1fd52a6238ca0f55f23124a2adcf894 [diff] |
fix building when saveenv is disabled in some setups If you enable environment in the flash, but disable the embedded option, and you disable the saveenv command, then the #if nested logic will trigger a compile failure: env_flash.c: In function 'env_relocate_spec': env_flash.c:399: error: 'flash_addr' undeclared (first use in this function) The fix is to add CMD_SAVEENV ifdef protection like everywhere else. Signed-off-by: Mike Frysinger <vapier@gentoo.org>