diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-05-02 18:17:50 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-05-04 00:22:45 +0200 |
commit | 4acc2a108ad0a669165924704a6cb083f9138242 (patch) | |
tree | 2273b187b87f290e9ce020111f74aaaa65d9f04d /common/cmd_onenand.c | |
parent | ccf1ad535ae1c0dc2d466235c668adbdfe3a55b7 (diff) | |
download | u-boot-imx-4acc2a108ad0a669165924704a6cb083f9138242.zip u-boot-imx-4acc2a108ad0a669165924704a6cb083f9138242.tar.gz u-boot-imx-4acc2a108ad0a669165924704a6cb083f9138242.tar.bz2 |
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>
Diffstat (limited to 'common/cmd_onenand.c')
0 files changed, 0 insertions, 0 deletions