Added support for the Dataflash mounted on the XPLAIN board. Added new XPLAIN_REV1 board target for the first revision XPLAIN board, which used a different (smaller) Dataflash IC to later revisions.

This commit is contained in:
Dean Camera 2009-12-03 08:59:12 +00:00
parent f1baf12fae
commit bae00a3d42
11 changed files with 245 additions and 7 deletions

View file

@ -92,7 +92,7 @@
{
Dataflash_DeselectChip();
if (PageAddress >= (DATAFLASH_PAGES * DATAFLASH_TOTALCHIPS))
if (PageAddress >= DATAFLASH_PAGES)
return;
Dataflash_SelectChip(DATAFLASH_CHIP1);