commit | fd53c5e1a960f1d43a959bf1dec28b8f712b447e | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Sun Jul 19 19:32:37 2009 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Sun Jul 19 19:36:14 2009 +0200 |
tree | 95a91a5ca4014c21d8367844c6dd1e62fab2a28c | |
parent | 1b55ec8434d3193def6543cc83c0c92e045d2b12 [diff] |
cmd_flash.c: fix fix compile error for boards with DataFlash Commit 5669ed45 ("cmd_flash.c: fix warning: unused variable 'addr_first'/'addr_last'") changed the #ifdef logic areound the declaration of these variables and missed a combination of settings of HAS_DATAFLASH with SYS_NO_FLASH; this patch fixes this. Also spotted by Alessandro Rubini <rubini@gnudd.com> Signed-off-by: Wolfgang Denk <wd@denx.de>