X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fflash.c;h=fe39d55ef67386c7b3bbc0b3ac8bcfef7a19ea77;hb=ebb86c4ecd37a7701358284e497ca4c6483c7cc5;hp=888ff9c67c676918f5bed737bccb93e7ae058c1d;hpb=b8685affe614ccf5f4ec66252b30e2e524d18948;p=u-boot diff --git a/common/flash.c b/common/flash.c index 888ff9c67c..fe39d55ef6 100644 --- a/common/flash.c +++ b/common/flash.c @@ -104,7 +104,7 @@ addr2info (ulong addr) flash_info_t *info; int i; - for (i=0, info=&flash_info[0]; iflash_id != FLASH_UNKNOWN && addr >= info->start[0] && /* WARNING - The '- 1' is needed if the flash