]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/flash.c
Code cleanup: fix old style assignment ambiguities like "=-" etc.
[karo-tx-uboot.git] / common / flash.c
index 888ff9c67c676918f5bed737bccb93e7ae058c1d..fe39d55ef67386c7b3bbc0b3ac8bcfef7a19ea77 100644 (file)
@@ -104,7 +104,7 @@ addr2info (ulong addr)
        flash_info_t *info;
        int i;
 
-       for (i=0, info=&flash_info[0]; i<CFG_MAX_FLASH_BANKS; ++i, ++info) {
+       for (i=0, info = &flash_info[0]; i<CFG_MAX_FLASH_BANKS; ++i, ++info) {
                if (info->flash_id != FLASH_UNKNOWN &&
                    addr >= info->start[0] &&
                    /* WARNING - The '- 1' is needed if the flash