diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-14 15:19:07 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-14 15:19:07 +0200 |
commit | d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90 (patch) | |
tree | f751c45fa698dd14edd985b80ae16ad521768457 /tools/updater/cmd_flash.c | |
parent | d7854223c5c85b5849fbf422cc8ac0efef461c37 (diff) | |
download | u-boot-imx-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.zip u-boot-imx-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.tar.gz u-boot-imx-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.tar.bz2 |
Code cleanup: fix old style assignment ambiguities like "=-" etc.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'tools/updater/cmd_flash.c')
-rw-r--r-- | tools/updater/cmd_flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/updater/cmd_flash.c b/tools/updater/cmd_flash.c index a976e0d..0f6f62b 100644 --- a/tools/updater/cmd_flash.c +++ b/tools/updater/cmd_flash.c @@ -187,7 +187,7 @@ int flash_sect_erase (ulong addr_first, ulong addr_last) erased = 0; - for (bank=0,info=&flash_info[0]; bank < CFG_MAX_FLASH_BANKS; ++bank, ++info) { + for (bank=0,info = &flash_info[0]; bank < CFG_MAX_FLASH_BANKS; ++bank, ++info) { ulong b_end; int sect; @@ -366,7 +366,7 @@ int flash_sect_protect (int p, ulong addr_first, ulong addr_last) protected = 0; - for (bank=0,info=&flash_info[0]; bank < CFG_MAX_FLASH_BANKS; ++bank, ++info) { + for (bank=0,info = &flash_info[0]; bank < CFG_MAX_FLASH_BANKS; ++bank, ++info) { ulong b_end; int sect; |