bcm63xx: fix second caldata address calculation

thanks Noltari for spotting this.

SVN-Revision: 32592
owl
Jonas Gorski 2012-07-03 21:42:12 +00:00
parent 988147111c
commit 0c7e676342
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ contained in flash.
+ }
+ if (data->caldata[1]) {
+ caldatalen2 = cfe_erasesize;
+ caldataaddr1 = rounddown(data->caldata[1],
+ caldataaddr2 = rounddown(data->caldata[1],
+ cfe_erasesize);
+ }
+ if (caldataaddr1 == caldataaddr2) {