projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fsl: update CRC after setting EEPROM identifier
[oweals/u-boot.git]
/
drivers
/
mtd
/
dataflash.c
diff --git
a/drivers/mtd/dataflash.c
b/drivers/mtd/dataflash.c
index 58be18255478777169b76994e052f66ee9091ce2..96cd395e71a7ad30ab230cc1b56f040e3bcc0e7c 100644
(file)
--- a/
drivers/mtd/dataflash.c
+++ b/
drivers/mtd/dataflash.c
@@
-131,7
+131,7
@@
int AT91F_DataflashInit (void)
break;
}
/* set the last area end to the dataflash size*/
-
area_list[NB_DATAFLASH_AREA - 1].end
=
+
dataflash_info[i].end_address
=
(dataflash_info[i].Device.pages_number *
dataflash_info[i].Device.pages_size) - 1;